Defines the document properties.

Type Information

Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name wordnet

Elements and Attributes

Child Elements

Element Type Description
view viewProperty Controls the view mode in Word.
zoom zoomProperty Controls how large or small the document appears on the screen in Word.
removePersonalInformation onOffProperty Helps avoid unintentionally distributing hidden information, such as the document's author or the names associated with comments or tracked changes (Security option).
dontDisplayPageBoundaries onOffProperty Turns off display of the space between the top of the text and the top edge of the page (View option).
displayBackgroundShape onOffProperty Controls display of the background shape in print layout view (View option).
printPostScriptOverText onOffProperty Allows PostScript code in PRINT fields in a document to print on top of the document text instead of underneath it (Print option). This elements setting has no effect if a document does not contain PRINT fields.
printFractionalCharacterWidth onOffProperty Word for the Macintosh setting that has no effect in other versions of Word (Print option).
printFormsData onOffProperty Prints the data entered into an online form without printing the online form (Print option).
embedTrueTypeFonts onOffProperty Stores the TrueType fonts used to create this document along with the document (Save option). Others who open the document will be able to view and print it with the fonts used to create it, even if those fonts aren't installed on their computer. (NOTE: TrueType fonts are not embedded in XML files.)
doNotEmbedSystemFonts onOffProperty For the TrueType fonts in your document, does not embed fonts that are likely to already be installed on a computer (Save option). This option takes effect only when Embed TrueType Fonts option is on.
saveSubsetFonts onOffProperty For the TrueType fonts in your document, embeds only the font styles you actually used in the document, which may decrease the file size of your document (Save option). If you used 32 or fewer characters of a font, Word embeds only those characters. This option takes effect only when Embed TrueType Fonts option is on.
saveFormsData onOffProperty Saves the data entered in an online form as a single, tab-delimited record so you can use it in a database. Word saves the file in Text Only file format.
mirrorMargins onOffProperty For multiple page documents, swaps left and right margins on facing pages (Page Setup Margins option).
alignBordersAndEdges onOffProperty Aligns paragraph borders and tables with the page border throughout the document (Page Border option). Setting this element to on eliminates any gaps between adjoining borders. However, Word aligns, or snaps, text to the edge of a table only if the text is one character width (10.5 points) or less from the page border.
bordersDontSurroundHeader onOffProperty Causes the page border to exclude the header (Page Border option).
bordersDontSurroundFooter onOffProperty Causes the page border to exclude the footer (Page Border option).
gutterAtTop onOffProperty Positions the gutter at the top of a document (Page Setup Margins option). If you have set up your document with facing pages or two pages per sheet (by selecting the Mirror margins, Book fold, or 2 pages per sheet setting for the Multiple Pages list in the Page Setup dialog box), gutterAtTop is ignored.
hideSpellingErrors onOffProperty Hides the wavy red line under possible spelling errors in your document (Spelling and Grammar option).
hideGrammaticalErrors onOffProperty Hides the wavy green line under possible grammatical errors in your document (Spelling and Grammar option).
activeWritingStyle writingStyleProperty Specifies the writing style you want Word to use to when checking grammar in this document (Spelling and Grammar option)
proofState proofProperty Represents the state of the proofing tools in this document: clean (no errors found) or dirty (errors present in the document).
formsDesign onOffProperty Specifies whether the document is in forms design mode. In this mode, you can edit or create a form by using the ActiveX controls in the Control Toolbox toolbar.
attachedTemplate stringProperty Specifies the template that's attached to this document (Templates and Add-Ins option)
linkStyles onOffProperty Updates the styles in this document to match the styles in the attached template each time you open the document (Templates and Add-Ins option). This ensures that your document contains up-to-date style formatting.
stylePaneFormatFilter shortHexNumberProperty Represents a bitmask that controls the display of styles in the Styles and Formatting task pane.
documentType docTypeProperty Specifies the document type used by the AutoFormat feature.
mailMerge mailMergeElt Contains the elements that hold mail-merge information for this document.
revisionView trackChangesViewElt Determines how document revisions are viewed.
trackRevisions onOffProperty Marks changes in the current document and keeps track of each change by reviewer name.
documentProtection docProtectProperty Helps prevent unintentional changes to all or part of an online form or document, as specified (Protect Document option).
autoFormatOverride onOffProperty Allows the AutoFormat feature to override formatting restrictions (Protect Document option).
defaultTabStop twipsMeasureProperty Specifies the default spacing between tab stops (Format Tabs option).
autoHyphenation onOffProperty Automatically hyphenates the document as you type (Language Hyphenation option).
consecutiveHyphenLimit decimalNumberProperty Specifies the maximum number of consecutive lines of text that can end with a hyphen (Language Hyphenation option).
hyphenationZone twipsMeasureProperty Specifies the distance from the right margin within which you want to hyphenate your document (Language Hyphenation option). Word hyphenates words that fall into the hyphenation zone. A smaller zone reduces the raggedness of the right margin, but more words may require hyphens. A larger zone increases the raggedness of the right margin, but fewer words may require hyphens.
doNotHyphenateCaps onOffProperty Causes Word to not hyphenate words written in all capital letters (Language Hyphenation option).
showEnvelope onOffProperty Displays the Microsoft Office Outlook e-mail header in a document.
summaryLength decimalNumberProperty Specifies the size for an automatic document summary (AutoSummary option).
clickAndTypeStyle docPrStyleProperty Specifies the style to be used when automatically formatting paragraphs as a result of double-clicking any open area in the document (Edit option).
defaultTableStyle docPrStyleProperty Specifies the default table style for new documents (Table AutoFormat option).
evenAndOddHeaders onOffProperty Creates one header or footer for even-numbered pages and a different header or footer for odd-numbered pages (Page Setup Layout option).
bookFoldRevPrinting onOffProperty For multiple-page documents, specifies whether to print the document as a reverse book fold (Page Setup Margin option).
bookFoldPrinting onOffProperty For multiple-page documents, specifies whether to print the document as a book fold (Page Setup Margin option).
bookFoldPrintingSheets decimalNumberProperty For multiple-page documents with book fold and reverse book fold printing, sets the number of sheets per booklet (Page Setup Margin option).
drawingGridHorizontalSpacing signedTwipsMeasureProperty Specifies the amount of horizontal space between vertical gridlines (Drawing Grid option).
drawingGridVerticalSpacing signedTwipsMeasureProperty Specifies the amount of vertical space between horizontal gridlines (Drawing Grid option).
displayHorizontalDrawingGridEvery twipsMeasureProperty Specifies the amount of space between horizontal gridlines drawn on the screen (Drawing Grid option).
displayVerticalDrawingGridEvery twipsMeasureProperty Specifies the amount of space between vertical gridlines drawn on the screen (Drawing Grid option).
useMarginsForDrawingGridOrigin onOffProperty If set to on overrides the settings for drawingGridHorizontalOrigin and drawingGridVerticalOrigin and sets the upper-left corner of the document area within the margins as the grid origin (Drawing Grid option).
drawingGridHorizontalOrigin twipsMeasureProperty Specifies the point at the left edge of the page where you want the invisible grid to begin (Drawing Grid option). This setting is ignored when useMarginsForDrawingGridOrigin is set to on.
drawingGridVerticalOrigin twipsMeasureProperty Specifies the point at the top edge of the page where you want the invisible grid to begin (Drawing Grid option). This setting is ignored when useMarginsForDrawingGridOrigin is set to on.
doNotShadeFormData onOffProperty Specifies whether to turn off the gray shading on form fields.
punctuationKerning onOffProperty When kerning for Latin text is turned on, also kern punctuation text (Asian Typography option).
characterSpacingControl characterSpacingProperty Sets the blank-space compression option you want for Asian characters (Asian Typography option). The equivalent in HTML is setting text-justify-trim on the BODY element.
printTwoOnOne onOffProperty For multiple page documents, prints two pages per sheet (Page Setup Margins option).
strictFirstAndLastChars onOffProperty Specifies whether to use standard characters to start and end lines of text (Asian Typography option).
noLineBreaksAfter kinsokuProperty Specifies which characters are restricted from ending a line (Asian Typography option).
noLineBreaksBefore kinsokuProperty Specifies which characters are restricted from starting a line (Asian Typography option).
webPageEncoding stringProperty Specifies the encoding you want to use when you save as a Web page (Web option).
optimizeForBrowser onOffProperty Specifies whether to disable features not supported by Web browsers (Web option).
relyOnVML onOffProperty Specifies whether to rely on Vector Markup Language (VML) for displaying graphics in browsers (Web option).
allowPNG onOffProperty Specifies whether to allow Portable Network Graphics (PNG ) as a graphic format (Web option).
doNotRelyOnCSS onOffProperty Turns off cascading style sheets (CSS) for font formatting of Web pages (Web option).
doNotSaveWebPagesAsSingleFile onOffProperty When saving this file as a Web page, does not save as a single-file Web page (MHTML) (Web option).
doNotOrganizeInFolder onOffProperty When saving as a Web page, causes all supporting files such as bullets, background textures, and graphics to be stored in the same folder as the Web page.
doNotUseLongFileNames onOffProperty Disables long file names for Web pages, which forces a file name of no more than eight characters (Web option).
pixelsPerInch decimalNumberProperty The number of pixels per inch that you want for the display of pictures in Web pages (Web option). The size that you select affects the size of graphics relative to the size of text on the screen.
targetScreenSz targetScreenSzElt Specifies the monitor resolution (screen size) that you are optimizing your Web pages for (Web option). The screen size that you specify can affect the size and layout of images on Web pages.
savePreviewPicture onOffProperty Saves a picture of the first page of the file for previewing (Document Properties Summary option). This option has no effect if the document is saved as XML.
validateAgainstSchema onOffProperty Validates document against attached schemas (Templates and Add-Ins XML Schema option).
saveInvalidXML onOffProperty Specifies whether to allow saving as XML even if the XML is not valid (Templates and Add-Ins XML Schema option).
ignoreMixedContent onOffProperty Specifies whether save and validate ignores all text not in leaf nodes (Templates and Add-Ins XML Schema option).
alwaysShowPlaceholderText onOffProperty Turns on display of placeholder text for all empty leaf elements.
doNotUnderlineInvalidXML onOffProperty Turns off wavy underline of schema violations in document (Templates and Add-Ins XML Schema option).
removeWordSchemaOnSave onOffProperty Saves data only, removing all elements in the WordprocessingML Schema when saving as XML (XML Save option).
useXSLTWhenSaving onOffProperty Specifies whether to apply a custom transform when saving the document as XML (XML Save option).
saveThroughXSLT saveThroughXsltElt Specifies the custom transform to apply when saving document as XML (XML Save option).
showXMLTags onOffProperty Turns on display of XML elements in document.
alwaysMergeEmptyNamespace onOffProperty Controls how empty namespace elements that do not belong to a schema are handled. If set to on, these elements will not be removed. If set to off, they will be removed.
hdrShapeDefaults shapeDefaultsElt Represents wrapper for the shape defaults of the headers and footers.
footnotePr ftnDocPropsElt Represents document-wide footnote properties, including footnote separators.
endnotePr ednDocPropsElt Represents document-wide endnote properties, including endnote separators.
compat compatElt Contains compatibility options (that is, the user preferences entered on the Compatibility tab of the Options dialog in Word).
docVars docVarsElt Contains document variables from documents created in Word version 6.0/95 or earlier.
sids external ref See external namespace.

Attributes

None.

Definition

XML

<xsd:complexType name="docPrElt" ">
    
    <xsd:sequence>
      <xsd:element name="view" type="viewProperty" minOccurs="1">
        
      </xsd:element>
      <xsd:element name="zoom" type="zoomProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="removePersonalInformation" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="dontDisplayPageBoundaries" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="displayBackgroundShape" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="printPostScriptOverText" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="printFractionalCharacterWidth" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="printFormsData" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="embedTrueTypeFonts" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="doNotEmbedSystemFonts" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="saveSubsetFonts" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="saveFormsData" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="mirrorMargins" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="alignBordersAndEdges" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="bordersDontSurroundHeader" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="bordersDontSurroundFooter" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="gutterAtTop" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="hideSpellingErrors" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="hideGrammaticalErrors" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="activeWritingStyle" type="writingStyleProperty" minOccurs="0" maxOccurs="unbounded">
        
      </xsd:element>
      <xsd:element name="proofState" type="proofProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="formsDesign" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="attachedTemplate" type="stringProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="linkStyles" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="stylePaneFormatFilter" type="shortHexNumberProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="documentType" type="docTypeProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="mailMerge" type="mailMergeElt" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="revisionView" type="trackChangesViewElt" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="trackRevisions" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="documentProtection" type="docProtectProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="autoFormatOverride" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="defaultTabStop" type="twipsMeasureProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="autoHyphenation" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="consecutiveHyphenLimit" type="decimalNumberProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="hyphenationZone" type="twipsMeasureProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="doNotHyphenateCaps" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="showEnvelope" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="summaryLength" type="decimalNumberProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="clickAndTypeStyle" type="docPrStyleProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="defaultTableStyle" type="docPrStyleProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="evenAndOddHeaders" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="bookFoldRevPrinting" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="bookFoldPrinting" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="bookFoldPrintingSheets" type="decimalNumberProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="drawingGridHorizontalSpacing" type="signedTwipsMeasureProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="drawingGridVerticalSpacing" type="signedTwipsMeasureProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="displayHorizontalDrawingGridEvery" type="twipsMeasureProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="displayVerticalDrawingGridEvery" type="twipsMeasureProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="useMarginsForDrawingGridOrigin" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="drawingGridHorizontalOrigin" type="twipsMeasureProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="drawingGridVerticalOrigin" type="twipsMeasureProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="doNotShadeFormData" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="punctuationKerning" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="characterSpacingControl" type="characterSpacingProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="printTwoOnOne" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="strictFirstAndLastChars" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="noLineBreaksAfter" type="kinsokuProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="noLineBreaksBefore" type="kinsokuProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="webPageEncoding" type="stringProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="optimizeForBrowser" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="relyOnVML" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="allowPNG" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="doNotRelyOnCSS" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="doNotSaveWebPagesAsSingleFile" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="doNotOrganizeInFolder" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="doNotUseLongFileNames" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="pixelsPerInch" type="decimalNumberProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="targetScreenSz" type="targetScreenSzElt" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="savePreviewPicture" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="validateAgainstSchema" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="saveInvalidXML" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="ignoreMixedContent" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="alwaysShowPlaceholderText" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="doNotUnderlineInvalidXML" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="removeWordSchemaOnSave" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="useXSLTWhenSaving" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="saveThroughXSLT" type="saveThroughXsltElt" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="showXMLTags" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="alwaysMergeEmptyNamespace" type="onOffProperty" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="hdrShapeDefaults" type="shapeDefaultsElt" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="footnotePr" type="ftnDocPropsElt" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="endnotePr" type="ednDocPropsElt" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="compat" type="compatElt" minOccurs="0">
        
      </xsd:element>
      <xsd:element name="docVars" type="docVarsElt" minOccurs="0">
        
      </xsd:element>
      <xsd:element ref="wsp:rsids" minOccurs="0">
        
      </xsd:element>
    </xsd:sequence>
  </xsd:complexType>

©2006 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at:
http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice12.asp