Export (0) Print
Expand All
Expand Minimize

2.9.189 PGPOptions

Office

The PGPOptions structure is a variable-sized container of the PGPInfo properties that are to be changed from their default values. The members that are present in the file are indicated by PGPInfo.grfElements.


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

cbOption (optional)

dxaLeft (optional)

...

dxaRight (optional)

...

dyaBefore (optional)

...

dyaAfter (optional)

...

brcLeft (optional)

...

...

brcRight (optional)

...

...

brcTop (optional)

...

...

brcBottom (optional)

...

...

type (optional)

cbOption (2 bytes): If PGPInfo.grfElements is nonzero, this is the byte size of the remaining PGPOptions data in the file.

dxaLeft (4 bytes): If PGPInfo.grfElements & 0x0001 is nonzero, this is the size of the left margin to apply, measured in 1/20 point increments. Otherwise, the default value of 0 is used.

dxaRight (4 bytes): If PGPInfo.grfElements & 0x0002 is nonzero, this is the size of the right margin to apply, measured in 1/20 point increments. Otherwise, the default value of 0 is used.

dyaBefore (4 bytes): If PGPInfo.grfElements & 0x0004 is nonzero, this is the size of the top margin to apply, measured in 1/20 point increments. Otherwise, the default of 0 is used.

dyaAfter (4 bytes): If PGPInfo.grfElements & 0x0008 is nonzero, this is the size of the bottom margin to apply, measured in 1/20 point increments. Otherwise, the default value of 0 is used.

brcLeft (8 bytes): If PGPInfo.grfElements & 0x0010 is nonzero, this is the Brc that describes the left border of the PGPInfo. Otherwise, there is no left border.

brcRight (8 bytes): If PGPInfo.grfElements & 0x0020 is nonzero, this is the Brc that describes the right border of the PGPInfo. Otherwise, there is no right border.

brcTop (8 bytes): If PGPInfo.grfElements & 0x0040 is nonzero, this is the Brc that describes the top border of the PGPInfo. Otherwise, there is no top border.

brcBottom (8 bytes): If PGPInfo.grfElements & 0x0080 is nonzero, this is the Brc that describes the bottom border of the PGPInfo. Otherwise, there is no bottom border.

type (2 bytes): If PGPInfo.grfElements & 0x0100 is nonzero, this value MUST be 0, 1 or 2. If this value is 1, this PGPInfo is represented as a <BLOCKQUOTE> element when saved as HTML. If this value is 2, this PGPInfo is represented as a <BODY> element, provided that it is applied at a point where the <BODY> element is legal in HTML. If this value is not present or is 0, it is assumed that this PGPInfo represents a <DIV> element.

Show:
© 2015 Microsoft