2.5.91 DXFALC

The DXFALC structure specifies the text alignment properties within a containing DXFN structure.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

alc

A

alcv

B

trot

cIndent

C

D

E

unused

iIndent

alc (3 bits): A HorizAlign that specifies the horizontal alignment of the text. 

A - fWrap (1 bit): A bit that specifies the text display when the text is wider than the cell

Value

Meaning

0

The text is truncated.

1

The text is wrapped into more than one line.

alcv (3 bits): A VertAlign that specifies the vertical alignment of the text.

B - fJustLast (1 bit):  A bit that specifies whether cell text is justify distributed. If fJustLast is 1 the text is justify distributed and alc MUST be 0x7.

trot (8 bits): An XFPropTextRotation that specifies the text rotation.

cIndent (4 bits):  An unsigned integer that specifies the absolute level of indentation.  The absolute level of indentation will replace any previous indentation. MUST be ignored when iIndent is not 255. MUST be less than or equal to 15.

C - fShrinkToFit (1 bit):  A bit that specifies whether the character sizes in the text MUST be reduced so that the text fits in the cell.

D - fMergeCell (1 bit): A bit that specifies that the cell MUST be merged.

E - iReadingOrder (2 bits): A ReadingOrder that specifies the reading order. If fZeroInited in the parent structure is zero, then it is undefined and MUST be ignored. 

unused (8 bits): Undefined and MUST be ignored.

iIndent (4 bytes):  A signed integer that specifies the relative level of indentation. The relative level of indentation will be added to any previous indentation. The value MUST be greater than or equal to -15 and less than or equal to 255. The value SHOULD<163> be greater than or equal to -15 and less than or equal to 15, or be equal to 255. The values -250 through 250 specify a relative indentation level, and the value 255 specifies the absence of a relative indentation level.