libDXF 0.0.1
A library with DXF related functions written in C.
Data Fields

dxf_table Struct Reference

DXF definition of a table entity. More...

#include <table.h>

Collaboration diagram for dxf_table:
Collaboration graph
[legend]

Data Fields

int id_code
char * linetype
char * layer
double elevation
double thickness
double linetype_scale
int16_t visibility
int color
int paperspace
int graphics_data_size
char * binary_graphics_data [DXF_MAX_PARAM]
char * dictionary_owner_soft
char * dictionary_owner_hard
char * block_name
char * table_text_style_name
double x0
double y0
double z0
double x1
double y1
double z1
double horizontal_cell_margin
double vertical_cell_margin
int table_cell_color_bg
int table_cell_color_fg
int table_cell_border_color_horizontal
int table_cell_border_color_bottom
int table_cell_border_color_vertical
int table_cell_border_color_right
int flow_direction
int32_t table_value_flag
int number_of_rows
int number_of_columns
int override_flag
int border_color_override_flag
int border_lineweight_override_flag
int border_visibility_override_flag
double table_text_height
double row_height [DXF_MAX_PARAM]
double column_height [DXF_MAX_PARAM]
int table_cell_alignment
double table_cell_border_lineweight_right
int table_data_version
int suppress_table_title
int suppress_header_row
int table_cell_color_fill_override
char * tablestyle_object_pointer
char * owning_block_pointer
struct DxfTableCellcells
struct DxfTablenext

Detailed Description

DXF definition of a table entity.

Version:
According to DXF R10 (backward compatibility).
According to DXF R11 (backward compatibility).
According to DXF R12 (backward compatibility).
According to DXF R13 (backward compatibility).
According to DXF R14 (backward compatibility).
According to DXF R2005.

Definition at line 262 of file table.h.


Field Documentation

Identification number for the entity.
This is to be an unique (sequential) number in the DXF file.
Group code = 5.

Definition at line 266 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

The linetype of the entity.
Defaults to BYLAYER if ommitted in the DXF file.
Group code = 6.

Definition at line 271 of file table.h.

Referenced by dxf_table_free(), and dxf_table_init().

Layer on which the entity is drawn.
Defaults to layer "0" if no valid layername is given.
Group code = 8.

Definition at line 275 of file table.h.

Referenced by dxf_table_free(), and dxf_table_init().

Elevation of the arc in the local Z-direction.
Defaults to 0.0 if omitted in the DXF file, or prior to DXF version R12, or DXF_FLATLAND equals 0 (default).
(default).
Group code = 38.

Definition at line 279 of file table.h.

Referenced by dxf_table_init().

Thickness of the arc in the local Z-direction.
Defaults to 0.0 if ommitted in the DXF file.
Group code = 39.

Definition at line 286 of file table.h.

Referenced by dxf_table_init().

Linetype scale (optional).
Group code = 48.

Definition at line 290 of file table.h.

Object visibility (optional):

  1. Visible;
  2. Invisible.

Group code = 60.

Definition at line 293 of file table.h.

Referenced by dxf_table_init().

Color of the entity.
Defaults to BYLAYER if ommitted in the DXF file.
Note that entities encapsulated in a block with the color BYBLOCK are represented in the "native" color of the BLOCK entity.
Group code = 62.

Definition at line 300 of file table.h.

Referenced by dxf_table_init().

Entities are to be drawn on either PAPERSPACE or MODELSPACE.
Optional, defaults to DXF_MODELSPACE (0).
Group code = 67.

Definition at line 307 of file table.h.

Referenced by dxf_table_init().

The number of bytes in the image (and subsequent binary chunk records) (optional).
Group code = 92.

Warning:
Multiple entries with Group code 92.

Definition at line 312 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

char* dxf_table::binary_graphics_data[DXF_MAX_PARAM]

Proxy entity graphics data.
Multiple lines of 256 characters maximum per line (optional).
Group code = 310.

Definition at line 318 of file table.h.

Referenced by dxf_table_free(), dxf_table_init(), dxf_table_read(), and dxf_table_write().

Soft-pointer ID/handle to owner dictionary (optional).
Group code = 330.

Definition at line 323 of file table.h.

Referenced by dxf_table_free(), dxf_table_init(), dxf_table_read(), and dxf_table_write().

Hard owner ID/handle to owner dictionary (optional).
Group code = 360.

Definition at line 327 of file table.h.

Referenced by dxf_table_free(), dxf_table_init(), and dxf_table_read().

Block name; an anonymous block begins with a *T value.
Group code = 2.

Definition at line 332 of file table.h.

Referenced by dxf_table_free(), dxf_table_init(), dxf_table_read(), and dxf_table_write().

Text style name (string); override applied at the table entity level.
There may be one entry for each cell type.
Group code = 7.

Definition at line 336 of file table.h.

Referenced by dxf_table_free(), and dxf_table_init().

double dxf_table::x0

X-value of the insertion point coordinate.
Group code = 10.

Definition at line 341 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

double dxf_table::y0

Y-value of the insertion point coordinate.
Group code = 20.

Definition at line 344 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

double dxf_table::z0

Z-value of the insertion point coordinate.
Group code = 30.

Definition at line 347 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

double dxf_table::x1

X-value of the horizontal direction vector.
Group code = 11.

Definition at line 350 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

double dxf_table::y1

Y-value of the horizontal direction vector.
Group code = 21.

Definition at line 353 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

double dxf_table::z1

Z-value of the horizontal direction vector.
Group code = 31.

Definition at line 356 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

Horizontal cell margin; override applied at the table entity level.
Group code = 40.

Definition at line 359 of file table.h.

Referenced by dxf_table_init().

Vertical cell margin; override applied at the table entity level.
Group code = 41.

Definition at line 363 of file table.h.

Referenced by dxf_table_init().

Color value for cell background or for the vertical, left border of the table; override applied at the table entity level.
There may be one entry for each cell type.
Group code = 63.

Definition at line 367 of file table.h.

Referenced by dxf_table_init().

Color value for cell content or for the horizontal, top border of the table; override applied at the table entity level.
There may be one entry for each cell type.
Group code = 64.

Definition at line 373 of file table.h.

Referenced by dxf_table_init().

Color value for the horizontal, inside border lines; override applied at the table entity level.
Group code = 65.

Definition at line 379 of file table.h.

Referenced by dxf_table_init().

Color value for the horizontal, bottom border lines; override applied at the table entity level.
Group code = 66.

Definition at line 383 of file table.h.

Referenced by dxf_table_init().

Color value for the vertical, inside border lines; override applied at the table entity level.
Group code = 68.

Definition at line 387 of file table.h.

Referenced by dxf_table_init().

Color value for the vertical, right border lines; override applied at the table entity level.
Group code = 69.

Definition at line 391 of file table.h.

Referenced by dxf_table_init().

Flow direction; override applied at the table entity level.
Group code = 70.

Definition at line 395 of file table.h.

Referenced by dxf_table_init().

Flag for table value (unsigned integer).
Group code = 90.

Definition at line 399 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

Number of rows.
Group code = 91.

Warning:
Multiple entries with Group code 91.

Definition at line 402 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

Number of columns.
Group code = 92.

Warning:
Multiple entries with Group code 92.

Definition at line 407 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

Flag for an override.
Group code = 93.

Definition at line 412 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

Flag for an override of border color.
Group code = 94.

Definition at line 415 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

Flag for an override of border lineweight.
Group code = 95.

Definition at line 418 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

Flag for an override of border visibility.
Group code = 96.

Definition at line 421 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

Text height (real); override applied at the table entity level.
There may be one entry for each cell type.
Group code = 140.

Definition at line 424 of file table.h.

Referenced by dxf_table_init().

double dxf_table::row_height[DXF_MAX_PARAM]

Row height; this value is repeated, 1 value per row.
Group code = 141.

Definition at line 429 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

double dxf_table::column_height[DXF_MAX_PARAM]

Column height; this value is repeated, 1 value per column.
Group code = 142.

Definition at line 433 of file table.h.

Referenced by dxf_table_init(), dxf_table_read(), and dxf_table_write().

Cell alignment (integer); override applied at the table entity level.
There may be one entry for each cell type.
Group code = 170.

Definition at line 437 of file table.h.

Referenced by dxf_table_init().

Group code = 274.

Definition at line 442 of file table.h.

Referenced by dxf_table_init().

Table data version number:
0 = 2010.
Group code = 280.

Warning:
Multiple entries with Group code 280.

Definition at line 444 of file table.h.

Referenced by dxf_table_write().

Flag for whether the title is suppressed; override applied at the table entity level.
Group code = 280.

Warning:
Multiple entries with Group code 280.

Definition at line 450 of file table.h.

Referenced by dxf_table_init().

Flag for whether the header row is suppressed; override applied at the table entity level.
Group code = 281.

Definition at line 456 of file table.h.

Referenced by dxf_table_init().

Flag for whether background color is enabled (default = 0); override applied at the table entity level.
There may be one entry for each cell type:

  1. Disabled.
  2. Enabled.

Group code = 283.

Definition at line 460 of file table.h.

Referenced by dxf_table_init().

Hard pointer ID of the TABLESTYLE object.
Group code = 342.

Definition at line 470 of file table.h.

Referenced by dxf_table_free(), dxf_table_init(), dxf_table_read(), and dxf_table_write().

Hard pointer ID of the owning BLOCK record.
Group code = 343.

Definition at line 473 of file table.h.

Referenced by dxf_table_free(), dxf_table_init(), dxf_table_read(), and dxf_table_write().

Pointer to the first DxfTableCell of a linked list of table cells.

Definition at line 475 of file table.h.

Referenced by dxf_table_init().

Pointer to the next DxfTable.
NULL in the last DxfTable.

Definition at line 478 of file table.h.

Referenced by dxf_table_free(), dxf_table_free_chain(), and dxf_table_init().


The documentation for this struct was generated from the following file: