libDXF 0.0.1
A library with DXF related functions written in C.
|
DXF definition of a table entity. More...
#include <table.h>
DXF definition of a table entity.
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().
char* dxf_table::linetype |
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().
char* dxf_table::layer |
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().
double dxf_table::elevation |
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().
double dxf_table::thickness |
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().
double dxf_table::linetype_scale |
int16_t dxf_table::visibility |
Object visibility (optional):
Group code = 60.
Definition at line 293 of file table.h.
Referenced by dxf_table_init().
int dxf_table::color |
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.
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().
char* dxf_table::block_name |
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().
int32_t dxf_table::table_value_flag |
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.
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.
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().
double dxf_table::table_text_height |
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().
Table data version number:
0 = 2010.
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.
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:
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().
struct DxfTableCell* dxf_table::cells |
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().
struct DxfTable* dxf_table::next |
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().