2.9.188 PGPInfo

The PGPInfo structure describes the border and margin properties that can be applied to a contiguous range of paragraphs.


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

ipgpSelf

ipgpParent

itap

grfElements

pgpOptions (variable)

...

ipgpSelf (4 bytes):  A unique 4-byte value that is used to identify this entry. This value MUST NOT be 0.

ipgpParent (4 bytes):  This is the identifier of the immediate parent PGPInfo structure. A value of 0 indicates that there is no parent and that, therefore, this is an outermost PGPInfo.

itap (4 bytes):  The table depth to which this PGPInfo structure is applied. PGPInfo structures can be applied to paragraphs that are within a table cell.

grfElements (2 bytes):  A bit field that describes how to read in the variable length pgpOptions. The meanings of the bits are as follows.

Bit value

Meaning

0x0001

PGPOptions.dxaLeft is present.

0x0002

PGPOptions.dxaRight is present.

0x0004

PGPOptions.dyaBefore is present.

0x0008

PGPOptions.dyaAfter is present.

0x0010

PGPOptions.brcLeft is present.

0x0020

PGPOptions.brcRight is present.

0x0040

PGPOptions.brcTop is present.

0x0080

PGPOptions.brcBottom is present.

0x0100

PGPOptions.type is present.

pgpOptions (variable):  A PGPOptions structure that describes all the relevant paragraph properties that are different than the defaults.