2.7.8 Dop2007

The Dop2007 structure contains document and compatibility settings. These settings influence the appearance and behavior of the current document and store document-level state.


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

dop2003 (616 bytes)

...

...

reserved1

A

B

C

D

E

ssm

F

G

reserved3

empty3

empty4

empty5

empty6

dopMth (34 bytes)

...

...

...

dop2003 (616 bytes): A Dop2003 that specifies document and compatibility settings.

reserved1 (4 bytes): This value is undefined, and MUST be ignored.

A - fRMTrackFormatting (1 bit): Specifies whether to track format changes when tracking for revisions (DopBase.fRevMarking). By default, this value is 1.

B - fRMTrackMoves (1 bit): Specifies whether to track moved text when tracking for revisions (DopBase.fRevMarking) instead of tracking for the deletions and insertions that are made. By default, this value is 1.

C - reserved2 (1 bit): This value MUST be 0, and MUST be ignored.

D - empty1 (1 bit): This value MUST be 0, and MUST be ignored.

E - empty2 (1 bit): This value MUST be 0, and MUST be ignored.

ssm (4 bits): An unsigned integer that specifies the sorting method to use when displaying document styles. This value MUST be one of the following.

Value

Meaning

0

Styles are sorted by name.

1 (default)

Styles are sorted by the default sorting method of the application.

2

Styles are sorted based on the font that they apply.

3

Styles are sorted by the style on which they are based.

4

Styles are sorted by their style types (character, linked, paragraph, and so on).

F - fReadingModeInkLockDownActualPage (1 bit): Specifies whether to render the document with actual pages or virtual pages as specified in [ECMA-376] Part 4, Section 2.15.1.66 readModeInkLockDown. By default, this value is 0.

G - fAutoCompressPictures (1 bit): Specifies whether pictures in the document are automatically compressed when the document is saved as specified in [ECMA-376] Part 4, Section 2.15.1.32 doNotAutoCompressPictures, where the meaning is the opposite of fAutoCompressPictures. By default, this value is 1.

reserved3 (21 bits): This value MUST be 0, and MUST be ignored.

empty3 (4 bytes): This value MUST be 0, and MUST be ignored.

empty4 (4 bytes): This value MUST be 0, and MUST be ignored.

empty5 (4 bytes): This value MUST be 0, and MUST be ignored.

empty6 (4 bytes): This value MUST be 0, and MUST be ignored.

dopMth (34 bytes): A DopMth that specifies various math properties.