2.3.21.15 Text Boolean Properties

The Text Boolean Properties specify a 32-bit field of Boolean properties for the text that is contained by a shape.


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

opid

unused1

A

B

C

D

E

unused4

F

G

H

I

J

opid (2 bytes): An OfficeArtFOPTEOPID record, as defined in section 2.2.8, that specifies the header for this property. The following table specifies the subfields.

Field

Meaning

opid.opid

A value that MUST be 0x00BF.

opid.fBid

A value that MUST be 0x0.

opid.fComplex

A value that MUST be 0x0.

unused1 (11 bits): A value that is undefined and MUST be ignored.

A - fUsefSelectText (1 bit): A bit that specifies whether the fSelectText bit is set. A value of 0x0 specifies that the fSelectText bit MUST be ignored and the default value used instead. The default value of this property is 0x0.

B - fUsefAutoTextMargin (1 bit): A bit that specifies whether the fAutoTextMargin bit is set. A value of 0x0 specifies that the fAutoTextMargin bit MUST be ignored and the default value used instead. The default value of this property is 0x0.

C - unused2 (1 bit): A value that is undefined and MUST be ignored.

D - fUsefFitShapeToText (1 bit): A bit that specifies whether the fFitShapeToText bit is set. A value of 0x0 specifies that the fFitShapeToText bit MUST be ignored and the default value used instead. The default value of this property is 0x0.

E - unused3 (1 bit): A value that is undefined and MUST be ignored.

unused4 (11 bits): A value that is undefined and MUST be ignored.

F - fSelectText (1 bit): A bit that specifies whether the containing shape SHOULD<56> enter a text editing mode when the user clicks the contained text area. A value of 0x0 specifies that a single click selects the shape and that a second click will enter a text editing mode. This value MUST be ignored if fUsefSelectText is 0x0. The default value of this property is 0x1.

G - fAutoTextMargin (1 bit): A bit that specifies whether the containing shape SHOULD<57> use a set of default internal margins for text on shapes. A value of 0x0 specifies that the internal margins of the containing shape will assume the values that are specified by the dxTextLeft, dyTextTop, dxTextRight, and dyTextBottom properties in the containing OfficeArtRGFOPTE record, as defined in section 2.3.1, using the default for any of these values that are not specified. This value MUST be ignored if fUsefAutoTextMargin is 0x0. The default value of this property is 0x0.

H - unused5 (1 bit): A value that is undefined and MUST be ignored.

I - fFitShapeToText (1 bit): A bit that specifies whether the containing shape SHOULD<58> adjust its dimensions to fit its contained text. This value MUST be ignored if fUsefFitShapeToText is 0x0. The default value of this property is 0x0.

J - unused6 (1 bit): A value that is undefined and MUST be ignored.