2.7.7 Dop2003

The Dop2003 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

dop2002 (594 bytes)

...

...

...

A

B

C

D

E

F

G

H

I

J

K

L

M

N

...

O

P

Q

R

S

T

empty2

dxaPageLock

dyaPageLock

pctFontLock

grfitbid

empty3

ilfoMacAtCleanup

dop2002 (594 bytes): A Dop2002 that specifies document and compatibility settings.

A - fTreatLockAtnAsReadOnly (1 bit): Specifies whether DopBase.fLockAtn means read-only protection instead of protect for comments. By default, this value is 0.

B - fStyleLock (1 bit): Specifies whether the styles available to use in the document are restricted to those styles with STD.Stdf.StdfBase.GRFSTD.fLocked set to 1 when style lock is enforced (fStyleLockEnforced is 1). By default, this value is 0.

C - fAutoFmtOverride (1 bit): Specifies whether to allow automatic formatting to override the fStyleLock setting as specified in [ECMA-376] Part 4, Section 2.15.1.9 autoFormatOverride. By default, this value is 0.

D - fRemoveWordML (1 bit): Specifies whether to save only custom XML markup when saving to XML as specified in [ECMA-376] Part 4, Section 2.15.1.77 saveXmlDataOnly. By default, this value is 0.

E - fApplyCustomXForm (1 bit): Specifies whether to save the document through the custom XML transform specified via FibRgFcLcb2003.fcCustomXForm and FibRgFcLcb2003.lcbCustomXForm when saving to XML as specified in [ECMA-376] Part 4, Section 2.15.1.92 useXSLTWhenSaving. By default, this value is 0.

F - fStyleLockEnforced (1 bit): Specifies whether to actively enforce the style restriction as specified by fStyleLock. If fStyleLockEnforced is 1, fStyleLock MUST be 1. By default, this value is 0.

G - fFakeLockAtn (1 bit): Specifies that the DopBase.fLockAtn setting is to be honored only if the application does not support fStyleLock. By default, this value is 0.

H - fIgnoreMixedContent (1 bit): Specifies whether to ignore all text not in leaf nodes of the custom XML when validating custom XML markup as specified in [ECMA-376] Part 4, Section 2.15.1.54 ignoreMixedContent. By default, this value is 0.

I - fShowPlaceholderText (1 bit): Specifies whether to show some form of in-document placeholder text when custom XML markup contains no content and the custom XML tags are not being displayed as specified in [ECMA-376] Part 4, Section 2.15.1.4 alwaysShowPlaceholderText. By default, this value is 0.

J - unused (1 bit): This value is undefined and MUST be ignored.

K - fWord97Doc (1 bit): Specifies whether to disable UI for features incompatible with the Word Binary File Format as specified in [ECMA-376] Part 4, Section 2.15.3.54 uiCompat97To2003. By default, this value is 0.

L - fStyleLockTheme (1 bit): Specifies whether to prevent modification of the document theme information as specified in [ECMA-376] Part 4, Section 2.15.1.85 styleLockTheme. By default, this value is 0.

M - fStyleLockQFSet (1 bit): Specifies whether to prevent the replacement of style sets as specified in [ECMA-376] Part 4, Section 2.15.1.84 styleLockQFSet. By default, this value is 0.

N - empty1 (19 bits): This value MUST be 0, and MUST be ignored.

O - fReadingModeInkLockDown (1 bit): Specifies whether to permanently set the layout to the specific set of page and text-sizing parameters specified by dxaPageLock, dyaPageLock and pctFontLock as specified in [ECMA-376] Part 4, Section 2.15.1.66 readModeInkLockDown. By default, this value is 0.

P - fAcetateShowInkAtn (1 bit): Specifies whether to include ink annotations when the contents of this document are displayed. By default, this value is 1.

Q - fFilterDttm (1 bit): Specifies whether to remove date and time information from annotations as specified in [ECMA-376] Part 4, Section 2.15.1.67 removeDateAndTime. By default, this value is 0.

R - fEnforceDocProt (1 bit): Specifies whether to enforce the document protection mode that is specified by iDocProtCur. By default, this value is 0.

S - iDocProtCur (3 bits): Specifies the document protection mode that is in effect when fEnforceDocProt is set to 1. This MUST be set to one of the following values.

Value

Meaning

0

Track all edits that are made to the document as revisions.

1

Comments are permitted to be inserted or deleted, and regions that are delimited by range permissions can be edited if they match the editing rights of the user account which is performing the editing. See PRTI.

2

Edits are restricted to the editing of form fields in sections where sprmSFProtected results in a value of "true". Edits are not restricted in sections where sprmSFProtected is not present or has a value of "false".

3 (Default)

Edits are restricted to regions delimited by range permissions which match the editing rights of the user account which is performing the editing. See PRTI.

7

There are no editing restrictions.

T - fDispBkSpSaved (1 bit): Specifies whether to display background objects when displaying the document in print layout view as specified in [ECMA-376] Part 4, Section 2.15.1.25 displayBackgroundShape. By default, this value is 0.

empty2 (8 bits): This value MUST be 0, and MUST be ignored.

dxaPageLock (4 bytes): Specifies the width, in twips, of the virtual pages that are used in this document when fReadingModeInkLockDown is 1. By default, this value is 0.

dyaPageLock (4 bytes): Specifies the height, in twips, of the virtual pages that are used in this document when fReadingModeInkLockDown is 1. By default, this value is 0.

pctFontLock (4 bytes): Specifies the percentage to which text in the document is scaled before it is displayed on a virtual page when fReadingModeInkLockDown is 1. By default, this value is 0.

grfitbid (1 byte): A bit field that specifies what toolbars were shown because of document state rather than explicit user action at the moment of saving. This value MUST be composed of the following bit values.

Value

Meaning

0x00 (default)

No toolbar was shown because of document state.

0x01

The reviewing toolbar was shown.

0x02

The Web toolbar was shown.

0x04

The mail merge toolbar was shown.

empty3 (1 byte): This value MUST be 0, and MUST be ignored.

ilfoMacAtCleanup (2 bytes): Specifies the largest ilfo value (index into PlfLfo) such that all PlfLfo entries from 0 to ilfoMacAtCleanup are searched for unused values to be pruned as specified in [ECMA-376] Part 4, Section 2.9.20 numIdMacAtCleanup. By default, this value is 0.