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

dxf_table_cell Struct Reference

DXF definition of a table entity cell. More...

#include <table.h>

Collaboration diagram for dxf_table_cell:
Collaboration graph
[legend]

Data Fields

char * text_string
char * optional_text_string [DXF_MAX_PARAM]
char * text_style_name
int color_bg
int color_fg
int border_color_right
int border_color_bottom
int border_color_left
int border_color_top
int override_flag
double text_height
double block_scale
double block_rotation
int alignment
int type
int flag
int merged
int autofit
double border_width
double border_height
int override
int virtual_edge
int number_of_block_attdefs
double border_lineweight_right
double border_lineweight_bottom
double border_lineweight_left
double border_lineweight_top
int color_fill_override
int border_visibility_override_right
int border_visibility_override_bottom
int border_visibility_override_left
int border_visibility_override_top
char * attdef_text_string
char * attdef_soft_pointer [DXF_MAX_PARAM]
char * block_table_record_hard_pointer
char * field_object_pointer
struct DxfTableCellnext

Detailed Description

DXF definition of a table entity cell.

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 61 of file table.h.


Field Documentation

Text string in a cell.
If the string is shorter than 250 characters, all characters appear in code 1.
If the string is longer than 250 characters, it is divided into chunks of 250 characters.
The chunks are contained in one or more code 3 codes.
If code 3 codes are used, the last group is a code 1 and is shorter than 250 characters.
This value applies only to text-type cells and is repeated, 1 value per cell.
Group code = 1.

Definition at line 65 of file table.h.

Referenced by dxf_table_cell_free(), dxf_table_cell_init(), and dxf_table_cell_write().

Text string in a cell, in 250-character chunks; optional.
This value applies only to text-type cells and is repeated, 1 value per cell.
Group code = 3.

Definition at line 77 of file table.h.

Referenced by dxf_table_cell_free(), dxf_table_cell_init(), and dxf_table_cell_write().

Text style name (string); override applied at the cell level.
Group code = 7.

Definition at line 83 of file table.h.

Referenced by dxf_table_cell_free(), and dxf_table_cell_init().

Value for the background (fill) color of cell content; override applied at the cell level.
Group code = 63.

Definition at line 87 of file table.h.

Referenced by dxf_table_cell_init().

Value for the color of cell content; override applied at the cell level.
Group code = 64.

Definition at line 91 of file table.h.

Referenced by dxf_table_cell_init().

True color value for the right border of the cell; override applied at the cell level.
Group code = 65.

Definition at line 95 of file table.h.

Referenced by dxf_table_cell_init().

True color value for the bottom border of the cell; override applied at the cell level.
Group code = 66.

Definition at line 99 of file table.h.

Referenced by dxf_table_cell_init().

True color value for the left border of the cell; override applied at the cell level.
Group code = 68.

Definition at line 103 of file table.h.

Referenced by dxf_table_cell_init().

True color value for the top border of the cell; override applied at the cell level.
Group code = 69.

Definition at line 107 of file table.h.

Referenced by dxf_table_cell_init().

Cell override flag; this value is repeated, 1 value per cell (from AutoCAD 2007).
Group code = 91.

Warning:
Multiple entries with Group code 91.

Definition at line 111 of file table.h.

Referenced by dxf_table_cell_write().

Text height value; override applied at the cell level.
Group code = 140.

Definition at line 117 of file table.h.

Referenced by dxf_table_cell_init().

Block scale (real).
This value applies only to block-type cells and is repeated, 1 value per cell.
Group code = 144.

Definition at line 121 of file table.h.

Referenced by dxf_table_cell_init(), and dxf_table_cell_write().

Rotation value (real; applicable for a block-type cell and a text-type cell).
Group code = 145.

Definition at line 126 of file table.h.

Referenced by dxf_table_cell_init(), and dxf_table_cell_write().

Cell alignment value; override applied at the cell level.
Group code = 170.

Definition at line 130 of file table.h.

Referenced by dxf_table_cell_init().

Cell type; this value is repeated, 1 value per cell:

  1. Text type.
  2. Block type.

Group code = 171.

Definition at line 134 of file table.h.

Referenced by dxf_table_cell_init(), and dxf_table_cell_write().

Cell flag value; this value is repeated, 1 value per cell.
Group code = 172.

Definition at line 141 of file table.h.

Referenced by dxf_table_cell_init(), and dxf_table_cell_write().

Cell merged value; this value is repeated, 1 value per cell.
Group code = 173.

Definition at line 145 of file table.h.

Referenced by dxf_table_cell_init(), and dxf_table_cell_write().

Boolean flag indicating if the autofit option is set for the cell; this value is repeated, 1 value per cell.
Group code = 174.

Definition at line 149 of file table.h.

Referenced by dxf_table_cell_init(), and dxf_table_cell_write().

Cell border width (applicable only for merged cells); this value is repeated, 1 value per cell.
Group code = 175.

Definition at line 154 of file table.h.

Referenced by dxf_table_cell_init(), and dxf_table_cell_write().

Cell border height (applicable only for merged cells); this value is repeated, 1 value per cell.
Group code = 176.

Definition at line 158 of file table.h.

Referenced by dxf_table_cell_init(), and dxf_table_cell_write().

Cell override flag; this value is repeated, 1 value per cell.
Group code = 177.

Definition at line 162 of file table.h.

Referenced by dxf_table_cell_init().

Flag value for a virtual edge.

Note:
Group code 178 is a flag value for a virtual edge.
A virtual edge is used when a grid line is shared by two cells.
For example, if a table contains one row and two columns and it contains cell A and cell B, the central grid line contains the right edge of cell A and the left edge of cell B.
One edge is real, and the other edge is virtual.
The virtual edge points to the real edge; both edges have the same set of properties, including color, lineweight, and visibility.

Group code = 178.

Definition at line 166 of file table.h.

Referenced by dxf_table_cell_init(), and dxf_table_cell_write().

Number of attribute definitions in the block table record (applicable only to a block-type cell).
Group code = 179.

Definition at line 183 of file table.h.

Referenced by dxf_table_cell_init(), and dxf_table_cell_write().

Lineweight for the right border of the cell; override applied at the cell level.
Group code = 275.

Definition at line 187 of file table.h.

Referenced by dxf_table_cell_init().

Lineweight for the bottom border of the cell; override applied at the cell level.
Group code = 276.

Definition at line 191 of file table.h.

Referenced by dxf_table_cell_init().

Lineweight for the left border of the cell; override applied at the cell level.
Group code = 278.

Definition at line 195 of file table.h.

Referenced by dxf_table_cell_init().

Lineweight for the top border of the cell; override applied at the cell level.
Group code = 279.

Definition at line 199 of file table.h.

Referenced by dxf_table_cell_init().

Boolean flag for whether the fill color is on; override applied at the cell level.
Group code = 283.

Definition at line 203 of file table.h.

Referenced by dxf_table_cell_init().

Boolean flag for the visibility of the right border of the cell; override applied at the cell level.
Group code = 285.

Definition at line 207 of file table.h.

Referenced by dxf_table_cell_init().

Boolean flag for the visibility of the bottom border of the cell; override applied at the cell level.
Group code = 286.

Definition at line 211 of file table.h.

Referenced by dxf_table_cell_init().

Boolean flag for the visibility of the left border of the cell; override applied at the cell level.
Group code = 288.

Definition at line 216 of file table.h.

Referenced by dxf_table_cell_init().

Boolean flag for the visibility of the top border of the cell; override applied at the cell level.
Group code = 289.

Definition at line 220 of file table.h.

Referenced by dxf_table_cell_init().

Text string value for an attribute definition, repeated once per attribute definition and applicable only for a block-type cell.
Group code = 300.

Definition at line 224 of file table.h.

Referenced by dxf_table_cell_free(), and dxf_table_cell_init().

Soft pointer ID of the attribute definition in the block table record, referenced by group code 179 (applicable only for a block-type cell).
This value is repeated once per attribute definition.
Group code = 331.

Definition at line 229 of file table.h.

Referenced by dxf_table_cell_free(), dxf_table_cell_init(), and dxf_table_cell_write().

Hard-pointer ID of the block table record.
This value applies only to block-type cells and is repeated, 1 value per cell.
Group code = 340.

Definition at line 235 of file table.h.

Referenced by dxf_table_cell_free(), dxf_table_cell_init(), and dxf_table_cell_write().

Hard pointer ID of the FIELD object.
This applies only to a text-type cell.
If the text in the cell contains one or more fields, only the ID of the FIELD object is saved.
The text string (group codes 1 and 3) is ignored.
Group code = 344.

Definition at line 240 of file table.h.

Referenced by dxf_table_cell_free(), dxf_table_cell_init(), and dxf_table_cell_write().

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

Definition at line 246 of file table.h.

Referenced by dxf_table_cell_free(), dxf_table_cell_free_chain(), and dxf_table_cell_init().


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