2.7.5 Dop2000
A structure that contains document and compatibility settings. These settings influence the appearance and behavior of the current document and store document-level state.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dop97 (500 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
ilvlLastBulletMain |
ilvlLastNumberMain |
istdClickParaType |
|||||||||||||||||||||||||||||
A |
B |
C |
D |
empty1 |
E |
F |
G |
H |
I |
J |
K |
iPixelsPerInch_WebOpt |
L |
M |
N |
O |
|||||||||||||||
copts (32 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
verCompatPre10 |
P |
Q |
R |
S |
T |
U |
V |
W |
X |
Y |
Z |
a |
b |
c |
d |
e |
dop97 (500 bytes): A Dop97 that specifies document and compatibility settings.
ilvlLastBulletMain (1 byte): SHOULD<179> specify the last bullet level applied via the toolbar before saving. MUST be between 0 and 9. Default is 0.
ilvlLastNumberMain (1 byte): SHOULD<180> specify the last list numbering level applied via the toolbar before saving. MUST be between 0 and 9. Default is 0.
istdClickParaType (2 bytes): Specifies the ISTD of the paragraph style to use for paragraphs that are automatically created by the click and type feature to place the cursor where the user clicked. Default value is 0 (Normal paragraph style).
A - fLADAllDone (1 bit): Specifies whether language auto-detection has run to completion for the document. Default is 0.
B - fEnvelopeVis (1 bit): Specifies whether to show the E-Mail message header as specified in [ECMA-376] Part 4, Section 2.15.1.80 showEnvelope. Default is 0.
C - fMaybeTentativeListInDoc (1 bit): Specifies whether the document potentially contains tentative lists<181>. Default is 0. See LVLF.fTentative.
D - fMaybeFitText (1 bit): If this is 0, then there MUST NOT be any fit text (see sprmCFitText) in the document. Default is 0.
empty1 (4 bits): MUST be zero, and MUST be ignored.
E - fFCCAllDone (1 bit): Specifies whether the format consistency checker has run to completion for the document. Default is 0.
F - fRelyOnCSS_WebOpt (1 bit): Specifies whether to rely on CSS for font face formatting when saving as a Web page as specified in [ECMA-376] Part 4, Section 2.15.2.11 doNotRelyOnCSS, where the meaning is the opposite of fRelyOnCSS_WebOpt. The default is 1.
G - fRelyOnVML_WebOpt (1 bit): Specifies whether to use VML when saving as a Web page as specified in [ECMA-376] Part 4, Section 2.15.2.34 relyOnVML. The default is 0.
H - fAllowPNG_WebOpt (1 bit): Specifies whether to allow Portable Network Graphics (PNG) format as a graphic format when saving as a Web page as specified in [ECMA-376] Part 4, Section 2.15.2.1 allowPNG. Default value is 0.
I - screenSize_WebOpt (4 bits): Specifies what the target screen size for the Web page is as specified in [ECMA-376] Part 4, Section 2.15.2.41 targetScreenSz, where screenSize_WebOpt value maps to ST_TargetScreenSz types as follows
-
Value
ST_TargetScreenSz string
0
544x376
1
640x480
2
720x512
3 (default)
800x600
4
1024x768
5
1152x882
6
1152x900
7
1280x1024
8
1600x1200
9
1800x1440
10
1920x1200
J - fOrganizeInFolder_WebOpt (1 bit): Specifies whether to place supporting files in a subdirectory when saving as a Web page as specified in [ECMA-376] Part 4, Section 2.15.2.10 doNotOrganizeInFolder, where the meaning is the opposite of fOrganizeInFolder_WebOpt. The default is 1.
K - fUseLongFileNames_WebOpt (1 bit): Specifies whether to use file names longer than 8.3 characters when saving as a Web page as specified in [ECMA-376] Part 4, Section 2.15.2.13 doNotUseLongFileNames, where the meaning is the opposite of fUseLongFileNames_WebOpt. The default is 1.
iPixelsPerInch_WebOpt (10 bits): Specifies the pixels per inch for graphics/images when saving as a Web page as specified in [ECMA-376] Part 4, Section 2.15.2.33 pixelsPerInch. If fWebOptionsInit is 1 then this MUST be between 19 and 480; otherwise, this is ignored. The default is 96.
L - fWebOptionsInit (1 bit): Specifies whether fRelyOnCSS_WebOpt, fRelyOnVML_WebOpt, fAllowPNG_WebOpt, screenSize_WebOpt, fOrganizeInFolder_WebOpt, fUseLongFileNames_WebOpt and iPixelsPerInch_WebOpt contain valid data. When fWebOptionsInit is set to 0, the value of all those fields MUST be ignored. The default is 0.
M - fMaybeFEL (1 bit): If this is 0, then there MUST NOT be any Warichu, Tatenakayoko, Ruby, Kumimoji or EncloseText in the document. Enclose Text is a layout feature that uses EQ fields ([ECMA-376] part 4, section 2.16.5.22) to enclose characters in circles or other characters. The default is 0.
N - fCharLineUnits (1 bit): If this is 0, then there MUST NOT be any character unit indents (sprmPDxcLeft, sprmPDxcLeft1, sprmPDxcRight) or line units (sprmPDylBefore, sprmPDylAfter) in use. The default is 0.
O - unused1 (1 bit): Undefined and MUST be ignored.
copts (32 bytes): A copts that specifies compatibility options. Components of Copts.copts80 MUST be equal to components of Dop97.copts80.
verCompatPre10 (16 bits): A bit field that specifies the desired feature set to use for the document. This overrides DopBase.fWord97Compat. Values are composed from the following table:
-
Bit Value
Meaning
0x0000 (default)
No Restrictions on feature use
0x0004
Use only features available in Microsoft Word for Windows 95.
0x0008
Use only features available in Microsoft Word 97.
0x0040
Use only features available in the East Asian release of Word for Windows 95.
0x0800
Use only features available in Microsoft Office Word 2003.
-
All other bits are undefined and MUST be ignored.
P - fNoMargPgvwSaved (1 bit): Specifies whether to suppress the display of the header and footer area when in print layout view so that the main text area of one page is displayed adjacent to the main text area of the next page as specified in [ECMA-376] Part 4, Section 2.15.1.34 doNotDisplayPageBoundaries. Default is 0.
Q - unused2 (1 bit): Undefined and MUST be ignored.
R - unused3 (1 bit): Undefined and MUST be ignored.
S - unused4 (1 bit): Undefined and MUST be ignored.
T - fBulletProofed (1 bit): Specifies that this document was produced by the Open and Repair feature. Default is 0.
U - empty2 (1 bit): MUST be zero, and MUST be ignored.
V - fSaveUim (1 bit): Specifies whether to save UIM data in the document. Default is 1.
W - fFilterPrivacy (1 bit): Specifies whether to remove personal information from the document properties on save as specified in [ECMA-376] Part 4, Section 2.15.1.68 removePersonalInformation. Default is 0.
X - empty3 (1 bit): MUST be zero, and MUST be ignored.
Y - fSeenRepairs (1 bit): Specifies whether the user has seen any repairs made by the Open and Repair feature. Default is 0.
Z - fHasXML (1 bit): Specifies whether the document has any form of structured document tags in it. Default is 0.
a - unused5 (1 bit): Undefined and MUST be ignored.
b - fValidateXML (1 bit): Specifies whether to validate custom XML markup against any attached schemas as specified in [ECMA-376] Part 4, Section 2.15.1.42 doNotValidateAgainstSchema, where the meaning is the opposite of fValidateXML. Default is 1
c - fSaveInvalidXML (1 bit): Specifies whether to allow saving the document as an XML file when the custom XML markup is invalid with respect to the attached schemas as specified in [ECMA-376] Part 4, Section 2.15.1.74 saveInvalidXml. Default is 0.
d - fShowXMLErrors (1 bit): Specifies whether to show a visual indicator for invalid custom XML markup as specified in [ECMA-376] Part 4, Section 2.15.1.33 doNotDemarcateInvalidXml, where the meaning is the opposite of fShowXMLErrors.
e - fAlwaysMergeEmptyNamespace (1 bit): Specifies whether to consider custom XML elements with no namespace as valid on open as specified in [ECMA-376] Part 4, Section 2.15.1.3 alwaysMergeEmptyNamespace. Default is 0.