2.7.6 Dop2002

A structure that 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

dop2000 (544 bytes)

...

...

unused

A

B

C

D

E

F

G

H

I

J

K

L

M

N

istdTableDflt

verCompat

grfFmtFilter

iFolioPages

cpgText

...

cpMinRMText

...

cpMinRMFtn

...

cpMinRMHdd

...

cpMinRMAtn

...

cpMinRMEdn

...

cpMinRmTxbx

...

cpMinRmHdrTxbx

...

rsidRoot

...

dop2000 (544 bytes): A Dop2000 that specifies document and compatibility settings.

unused (4 bytes): Undefined and MUST be ignored.

A - fDoNotEmbedSystemFont (1 bit): Specifies whether common system fonts are not to be embedded as specified in [ECMA-376] Part 4, Section 2.8.2.7 embedSystemFonts, where the meaning is the opposite of fDoNotEmbedSystemFont and the embedTrueTypeFonts element refers to DopBase.fEmbedFonts. Default is 1.

B - fWordCompat (1 bit): Specifies that features not compatible with the settings specified in verCompat will be disabled or removed when saving. Default is 0.

C - fLiveRecover (1 bit): Specifies that this file is a recovered document from after a crash. Default is 0.

D - fEmbedFactoids (1 bit): Specifies whether smart tags are to remain in the document when saving. Smart tags are to be removed when fEmbedFactoids is set to 0. See [ECMA-376] Part 4, Section 2.15.1.35 doNotEmbedSmartTags, where the meaning is the opposite of fEmbedFactoids. Default is 1.

E - fFactoidXML (1 bit): Specifies whether to save smart tag data as an XML-based property bag at the head of the HTML page when saving as HTML as specified in [ECMA-376] Part 4, Section 2.15.2.36 saveSmartTagsAsXml. Default is 0.

F - fFactoidAllDone (1 bit): Specifies whether the document has been completely scanned for all possible smart tag creations. Default is 0.

G - fFolioPrint (1 bit): Specifies whether to use book fold printing as specified in [ECMA-376] Part 4, Section 2.15.1 11 bookFoldPrinting. Default is 0.

H - fReverseFolio (1 bit): Specifies whether to use reverse book fold printing as specified in [ECMA-376] Part 4, Section 2.15.1.13 bookFoldRevPrinting. If this is 1 then fFolioPrint MUST be 1. Default is 0.

I - iTextLineEnding (3 bits): Specifies what to end a line of text with when saving as a text file via automation.  It MUST be one of the values in the following table:

Value

Meaning

0 (default)

Carriage return (0x0D) followed by line feed (0x0A).

1

Carriage return (0x0D).

2

Line feed (0x0A).

3

Line feed (0x0A) followed by carriage return (0x0D).

4

If the code page supports it, Line Separator (U+2028) or Paragraph Separator (U+2029) otherwise behave as follows:

  • If the codepage is CP_JAPANEUC (51932), CP_CHINAEUC (51936), CP_KOREAEUC (51949) or CP_TAIWANEUC (51950) treat as if the value were 2.

  • If the code page is greater than or equal to 10000 and less than 20000, then treat as if the value where 1.

  • If neither of those apply, then treat as if the value were 0.

J - fHideFcc (1 bit): Specifies whether to refrain from showing a visual cue around ranges flagged by the format consistency checker as suspect. Default is 0.

K - fAcetateShowMarkup (1 bit): Specifies whether to visually indicate any additional nonprinting area used to display annotations when the annotations in this document are displayed. Default is 1.

L - fAcetateShowAtn (1 bit): Specifies if comments are included when the contents of this document are displayed. Default is 1.

M - fAcetateShowInsDel (1 bit): Specifies if revisions to content are included when the contents of this document are displayed. Default is 1.

N - fAcetateShowProps (1 bit): Specifies whether property revision marks are included when the contents of this document are displayed. Default is 1.

istdTableDflt (16 bits): An istd that specifies the default table style for newly inserted tables.

verCompat (16 bits): A bit field that specifies the desired feature set to use for the document. This overrides DopBase.fWord97Compat and Dop2000.verCompatPre10. The bit values are as follows:

Value

Meaning

0x0000

No restrictions on feature use.

0x0001

Use features supported by Microsoft® Internet Explorer® 4.0.

0x0002

Use features supported by Microsoft® Internet Explorer® 5.0.

0x0004

Use features supported by Microsoft Word for Windows 95.

0x0008

Use features supported by Microsoft Word 97.

0x0010

Use features supported by the Word HTML format.

0x0020

Use features supported by the Word RTF format.

0x0040

Use features supported by East Asian versions of Word for Windows 95.

0x0080

Use features supported by plain text e-mail messages.

0x0100

Use features supported by Internet Explorer 6.0.

0x0200

Use features supported by the Word XML format.

0x0400

Use features supported by RTF e-mail messages.

0x0800

Do not use features introduced in Microsoft Office Word 2007.

0x1000

Use features supported by plain text.

Default is 0.

grfFmtFilter (2 bytes): Specifies the suggested filtering for the list of document styles as specified in [ECMA-376] Part 4, Section 2.15.1.86 stylePaneFormatFilter. Default is 0x5024.

iFolioPages (2 bytes): Specifies the number of pages per booklet as specified in [ECMA-376] Part 4, Section 2.15.1.12 bookFoldPrintingSheets, where bookFoldPrinting refers to fFolioPrint and bookFoldRevPrinting refers to fReverseFolio. Default is 0.

cpgText (4 bytes): Specifies the code page to use when saving as encoded text. Default is the current Windows ANSI code page for the system.

cpMinRMText (4 bytes): A CP in the main document before which there are no revisions. Default is 0.

cpMinRMFtn (4 bytes): A CP in the footnote document before which there are no revisions. Default is 0.

cpMinRMHdd (4 bytes): A CP in the header document before which there are no revisions. Default is 0.

cpMinRMAtn (4 bytes): A CP in the comment document before which there are no revisions. Default is 0.

cpMinRMEdn (4 bytes): A CP in the endnote document before which there are no revisions. Default is 0.

cpMinRmTxbx (4 bytes): A CP in the textbox document for the main document before which there are no revisions. Default is 0.

cpMinRmHdrTxbx (4 bytes): A CP in the header textbox document before which there are no revisions. Default is 0.

rsidRoot (4 bytes): Specifies the original document revision save ID as specified in [ECMA-376] Part 4, Section 2.15.1.71 rsidRoot. By default the rsidRoot is not that of the currently running session.