docPrElt complexType [Word 2003 XML Reference]
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

docPrElt complexType [Word 2003 XML Reference] --  Microsoft Office Word 2003 XML Software Development Kit

Office 2003

docPrElt complexType [Word 2003 XML Reference]

Defines the document properties.

Type Information

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

Elements and Attributes

Child Elements

ElementDescription
viewControls the view mode in Word.
zoomControls how large or small the document appears on the screen in Word.
removePersonalInformationHelps avoid unintentionally distributing hidden information, such as the document's author or the names associated with comments or tracked changes (Security option).
dontDisplayPageBoundariesTurns off display of the space between the top of the text and the top edge of the page (View option).
displayBackgroundShapeControls display of the background shape in print layout view (View option).
printPostScriptOverTextAllows 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.
printFractionalCharacterWidthWord for the Macintosh setting that has no effect in other versions of Word (Print option).
printFormsDataPrints the data entered into an online form without printing the online form (Print option).
embedTrueTypeFontsStores 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.)
doNotEmbedSystemFontsFor 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.
saveSubsetFontsFor 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.
saveFormsDataSaves 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.
mirrorMarginsFor multiple page documents, swaps left and right margins on facing pages (Page Setup Margins option).
alignBordersAndEdgesAligns 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.
bordersDontSurroundHeaderCauses the page border to exclude the header (Page Border option).
bordersDontSurroundFooterCauses the page border to exclude the footer (Page Border option).
gutterAtTopPositions 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.
hideSpellingErrorsHides the wavy red line under possible spelling errors in your document (Spelling and Grammar option).
hideGrammaticalErrorsHides the wavy green line under possible grammatical errors in your document (Spelling and Grammar option).
activeWritingStyleSpecifies the writing style you want Word to use to when checking grammar in this document (Spelling and Grammar option)
proofStateRepresents the state of the proofing tools in this document: clean (no errors found) or dirty (errors present in the document).
formsDesignSpecifies 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.
attachedTemplateSpecifies the template that's attached to this document (Templates and Add-Ins option)
linkStylesUpdates 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.
stylePaneFormatFilterRepresents a bitmask that controls the display of styles in the Styles and Formatting task pane.
topicTypeSpecifies the document type used by the AutoFormat feature.
mailMergeContains the elements that hold mail-merge information for this document.
revisionViewDetermines how document revisions are viewed.
trackRevisionsMarks changes in the current document and keeps track of each change by reviewer name.
documentProtectionHelps prevent unintentional changes to all or part of an online form or document, as specified (Protect Document option).
autoFormatOverrideAllows the AutoFormat feature to override formatting restrictions (Protect Document option).
defaultTabStopSpecifies the default spacing between tab stops (Format Tabs option).
autoHyphenationAutomatically hyphenates the document as you type (Language Hyphenation option).
consecutiveHyphenLimitSpecifies the maximum number of consecutive lines of text that can end with a hyphen (Language Hyphenation option).
hyphenationZoneSpecifies 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.
doNotHyphenateCapsCauses Word to not hyphenate words written in all capital letters (Language Hyphenation option).
showEnvelopeDisplays the Microsoft Office Outlook e-mail header in a document.
summaryLengthSpecifies the size for an automatic document summary (AutoSummary option).
clickAndTypeStyleSpecifies the style to be used when automatically formatting paragraphs as a result of double-clicking any open area in the document (Edit option).
defaultTableStyleSpecifies the default table style for new documents (Table AutoFormat option).
evenAndOddHeadersCreates one header or footer for even-numbered pages and a different header or footer for odd-numbered pages (Page Setup Layout option).
bookFoldRevPrintingFor multiple-page documents, specifies whether to print the document as a reverse book fold (Page Setup Margin option).
bookFoldPrintingFor multiple-page documents, specifies whether to print the document as a book fold (Page Setup Margin option).
bookFoldPrintingSheetsFor multiple-page documents with book fold and reverse book fold printing, sets the number of sheets per booklet (Page Setup Margin option).
drawingGridHorizontalSpacingSpecifies the amount of horizontal space between vertical gridlines (Drawing Grid option).
drawingGridVerticalSpacingSpecifies the amount of vertical space between horizontal gridlines (Drawing Grid option).
displayHorizontalDrawingGridEverySpecifies the amount of space between horizontal gridlines drawn on the screen (Drawing Grid option).
displayVerticalDrawingGridEverySpecifies the amount of space between vertical gridlines drawn on the screen (Drawing Grid option).
useMarginsForDrawingGridOriginIf 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).
drawingGridHorizontalOriginSpecifies 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.
drawingGridVerticalOriginSpecifies 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.
doNotShadeFormDataSpecifies whether to turn off the gray shading on form fields.
punctuationKerningWhen kerning for Latin text is turned on, also kern punctuation text (Asian Typography option).
characterSpacingControlSets 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.
printTwoOnOneFor multiple page documents, prints two pages per sheet (Page Setup Margins option).
strictFirstAndLastCharsSpecifies whether to use standard characters to start and end lines of text (Asian Typography option).
noLineBreaksAfterSpecifies which characters are restricted from ending a line (Asian Typography option).
noLineBreaksBeforeSpecifies which characters are restricted from starting a line (Asian Typography option).
webPageEncodingSpecifies the encoding you want to use when you save as a Web page (Web option).
optimizeForBrowserSpecifies whether to disable features not supported by Web browsers (Web option).
relyOnVMLSpecifies whether to rely on Vector Markup Language (VML) for displaying graphics in browsers (Web option).
allowPNGSpecifies whether to allow Portable Network Graphics (PNG ) as a graphic format (Web option).
doNotRelyOnCSSTurns off cascading style sheets (CSS) for font formatting of Web pages (Web option).
doNotSaveWebPagesAsSingleFileWhen saving this file as a Web page, does not save as a single-file Web page (MHTML) (Web option).
doNotOrganizeInFolderWhen 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.
doNotUseLongFileNamesDisables long file names for Web pages, which forces a file name of no more than eight characters (Web option).
pixelsPerInchThe 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.
targetScreenSzSpecifies 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.
savePreviewPictureSaves 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.
validateAgainstSchemaValidates document against attached schemas (Templates and Add-Ins XML Schema option).
saveInvalidXMLSpecifies whether to allow saving as XML even if the XML is not valid (Templates and Add-Ins XML Schema option).
ignoreMixedContentSpecifies whether save and validate ignores all text not in leaf nodes (Templates and Add-Ins XML Schema option).
alwaysShowPlaceholderTextTurns on display of placeholder text for all empty leaf elements.
doNotUnderlineInvalidXMLTurns off wavy underline of schema violations in document (Templates and Add-Ins XML Schema option).
removeWordSchemaOnSaveSaves data only, removing all elements in the WordprocessingML Schema when saving as XML (XML Save option).
useXSLTWhenSavingSpecifies whether to apply a custom transform when saving the document as XML (XML Save option).
saveThroughXSLTSpecifies the custom transform to apply when saving document as XML (XML Save option).
showXMLTagsTurns on display of XML elements in document.
alwaysMergeEmptyNamespaceControls 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.
hdrShapeDefaultsRepresents wrapper for the shape defaults of the headers and footers.
footnotePrRepresents document-wide footnote properties, including footnote separators.
endnotePrRepresents document-wide endnote properties, including endnote separators.
compatContains compatibility options (that is, the user preferences entered on the Compatibility tab of the Options dialog in Word).
docVarsContains document variables from documents created in Word version 6.0/95 or earlier.

Attributes

None.

Definition

      
<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="topicType" 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:sequence>
</xsd:complexType>


    


©2004 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/odcXMLRefLegalNotice.asp
Show:
© 2016 Microsoft