Share via


Settings Class

Document Settings. It is the root element of DocumentSettingsPart.When the object is serialized out as xml, its qualified name is w:settings.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Wordprocessing.Settings

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(DocumentType))> _
<ChildElementInfoAttribute(GetType(NoLineBreaksBeforeKinsoku))> _
<ChildElementInfoAttribute(GetType(PrintTwoOnOne))> _
<ChildElementInfoAttribute(GetType(NoPunctuationKerning))> _
<ChildElementInfoAttribute(GetType(CharacterSpacingControl))> _
<ChildElementInfoAttribute(GetType(DrawingGridHorizontalOrigin))> _
<ChildElementInfoAttribute(GetType(WriteProtection))> _
<ChildElementInfoAttribute(GetType(View))> _
<ChildElementInfoAttribute(GetType(Zoom))> _
<ChildElementInfoAttribute(GetType(RemovePersonalInformation))> _
<ChildElementInfoAttribute(GetType(DoNotDisplayPageBoundaries))> _
<ChildElementInfoAttribute(GetType(DisplayBackgroundShape))> _
<ChildElementInfoAttribute(GetType(PrintPostScriptOverText))> _
<ChildElementInfoAttribute(GetType(PrintFractionalCharacterWidth))> _
<ChildElementInfoAttribute(GetType(PrintFormsData))> _
<ChildElementInfoAttribute(GetType(EmbedTrueTypeFonts))> _
<ChildElementInfoAttribute(GetType(EmbedSystemFonts))> _
<ChildElementInfoAttribute(GetType(SaveSubsetFonts))> _
<ChildElementInfoAttribute(GetType(SaveFormsData))> _
<ChildElementInfoAttribute(GetType(MirrorMargins))> _
<ChildElementInfoAttribute(GetType(AlignBorderAndEdges))> _
<ChildElementInfoAttribute(GetType(BordersDoNotSurroundHeader))> _
<ChildElementInfoAttribute(GetType(BordersDoNotSurroundFooter))> _
<ChildElementInfoAttribute(GetType(GutterAtTop))> _
<ChildElementInfoAttribute(GetType(HideSpellingErrors))> _
<ChildElementInfoAttribute(GetType(HideGrammaticalErrors))> _
<ChildElementInfoAttribute(GetType(ActiveWritingStyle))> _
<ChildElementInfoAttribute(GetType(ProofState))> _
<ChildElementInfoAttribute(GetType(FormsDesign))> _
<ChildElementInfoAttribute(GetType(AttachedTemplate))> _
<ChildElementInfoAttribute(GetType(LinkStyles))> _
<ChildElementInfoAttribute(GetType(StylePaneFormatFilter))> _
<ChildElementInfoAttribute(GetType(StylePaneSortMethods))> _
<ChildElementInfoAttribute(GetType(MailMerge))> _
<ChildElementInfoAttribute(GetType(RevisionView))> _
<ChildElementInfoAttribute(GetType(TrackRevisions))> _
<ChildElementInfoAttribute(GetType(DoNotTrackMoves))> _
<ChildElementInfoAttribute(GetType(DoNotTrackFormatting))> _
<ChildElementInfoAttribute(GetType(DocumentProtection))> _
<ChildElementInfoAttribute(GetType(AutoFormatOverride))> _
<ChildElementInfoAttribute(GetType(StyleLockThemesPart))> _
<ChildElementInfoAttribute(GetType(StyleLockStylesPart))> _
<ChildElementInfoAttribute(GetType(DefaultTabStop))> _
<ChildElementInfoAttribute(GetType(AutoHyphenation))> _
<ChildElementInfoAttribute(GetType(ConsecutiveHyphenLimit))> _
<ChildElementInfoAttribute(GetType(HyphenationZone))> _
<ChildElementInfoAttribute(GetType(DoNotHyphenateCaps))> _
<ChildElementInfoAttribute(GetType(ShowEnvelope))> _
<ChildElementInfoAttribute(GetType(SummaryLength))> _
<ChildElementInfoAttribute(GetType(ClickAndTypeStyle))> _
<ChildElementInfoAttribute(GetType(DefaultTableStyle))> _
<ChildElementInfoAttribute(GetType(EvenAndOddHeaders))> _
<ChildElementInfoAttribute(GetType(BookFoldReversePrinting))> _
<ChildElementInfoAttribute(GetType(BookFoldPrinting))> _
<ChildElementInfoAttribute(GetType(BookFoldPrintingSheets))> _
<ChildElementInfoAttribute(GetType(DrawingGridHorizontalSpacing))> _
<ChildElementInfoAttribute(GetType(DrawingGridVerticalSpacing))> _
<ChildElementInfoAttribute(GetType(DisplayHorizontalDrawingGrid))> _
<ChildElementInfoAttribute(GetType(DisplayVerticalDrawingGrid))> _
<ChildElementInfoAttribute(GetType(DoNotUseMarginsForDrawingGridOrigin))> _
<ChildElementInfoAttribute(GetType(DrawingGridVerticalOrigin))> _
<ChildElementInfoAttribute(GetType(DoNotShadeFormData))> _
<ChildElementInfoAttribute(GetType(RemoveDateAndTime))> _
<ChildElementInfoAttribute(GetType(StrictFirstAndLastChars))> _
<ChildElementInfoAttribute(GetType(NoLineBreaksAfterKinsoku))> _
<ChildElementInfoAttribute(GetType(SavePreviewPicture))> _
<ChildElementInfoAttribute(GetType(DoNotValidateAgainstSchema))> _
<ChildElementInfoAttribute(GetType(SaveInvalidXml))> _
<ChildElementInfoAttribute(GetType(IgnoreMixedContent))> _
<ChildElementInfoAttribute(GetType(AlwaysShowPlaceholderText))> _
<ChildElementInfoAttribute(GetType(DoNotDemarcateInvalidXml))> _
<ChildElementInfoAttribute(GetType(SaveXmlDataOnly))> _
<ChildElementInfoAttribute(GetType(UseXsltWhenSaving))> _
<ChildElementInfoAttribute(GetType(SaveThroughXslt))> _
<ChildElementInfoAttribute(GetType(ShowXmlTags))> _
<ChildElementInfoAttribute(GetType(AlwaysMergeEmptyNamespace))> _
<ChildElementInfoAttribute(GetType(UpdateFieldsOnOpen))> _
<ChildElementInfoAttribute(GetType(HeaderShapeDefaults))> _
<ChildElementInfoAttribute(GetType(FootnoteDocumentWideProperties))> _
<ChildElementInfoAttribute(GetType(EndnoteDocumentWideProperties))> _
<ChildElementInfoAttribute(GetType(Compatibility))> _
<ChildElementInfoAttribute(GetType(DocumentVariables))> _
<ChildElementInfoAttribute(GetType(Rsids))> _
<ChildElementInfoAttribute(GetType(MathProperties))> _
<ChildElementInfoAttribute(GetType(UICompatibleWith97To2003))> _
<ChildElementInfoAttribute(GetType(AttachedSchema))> _
<ChildElementInfoAttribute(GetType(ThemeFontLanguages))> _
<ChildElementInfoAttribute(GetType(ColorSchemeMapping))> _
<ChildElementInfoAttribute(GetType(DoNotIncludeSubdocsInStats))> _
<ChildElementInfoAttribute(GetType(DoNotAutoCompressPictures))> _
<ChildElementInfoAttribute(GetType(ForceUpgrade))> _
<ChildElementInfoAttribute(GetType(Captions))> _
<ChildElementInfoAttribute(GetType(ReadModeInkLockDown))> _
<ChildElementInfoAttribute(GetType(SmartTagType))> _
<ChildElementInfoAttribute(GetType(SchemaLibrary))> _
<ChildElementInfoAttribute(GetType(ShapeDefaults))> _
<ChildElementInfoAttribute(GetType(DoNotEmbedSmartTags))> _
<ChildElementInfoAttribute(GetType(DecimalSymbol))> _
<ChildElementInfoAttribute(GetType(ListSeparator))> _
<ChildElementInfoAttribute(GetType(DocumentId), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(DiscardImageEditingData), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(DefaultImageDpi), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ConflictMode), FileFormatVersions.Office2010)> _
Public Class Settings _
    Inherits OpenXmlPartRootElement
'Usage
Dim instance As Settings
[ChildElementInfoAttribute(typeof(DocumentType))]
[ChildElementInfoAttribute(typeof(NoLineBreaksBeforeKinsoku))]
[ChildElementInfoAttribute(typeof(PrintTwoOnOne))]
[ChildElementInfoAttribute(typeof(NoPunctuationKerning))]
[ChildElementInfoAttribute(typeof(CharacterSpacingControl))]
[ChildElementInfoAttribute(typeof(DrawingGridHorizontalOrigin))]
[ChildElementInfoAttribute(typeof(WriteProtection))]
[ChildElementInfoAttribute(typeof(View))]
[ChildElementInfoAttribute(typeof(Zoom))]
[ChildElementInfoAttribute(typeof(RemovePersonalInformation))]
[ChildElementInfoAttribute(typeof(DoNotDisplayPageBoundaries))]
[ChildElementInfoAttribute(typeof(DisplayBackgroundShape))]
[ChildElementInfoAttribute(typeof(PrintPostScriptOverText))]
[ChildElementInfoAttribute(typeof(PrintFractionalCharacterWidth))]
[ChildElementInfoAttribute(typeof(PrintFormsData))]
[ChildElementInfoAttribute(typeof(EmbedTrueTypeFonts))]
[ChildElementInfoAttribute(typeof(EmbedSystemFonts))]
[ChildElementInfoAttribute(typeof(SaveSubsetFonts))]
[ChildElementInfoAttribute(typeof(SaveFormsData))]
[ChildElementInfoAttribute(typeof(MirrorMargins))]
[ChildElementInfoAttribute(typeof(AlignBorderAndEdges))]
[ChildElementInfoAttribute(typeof(BordersDoNotSurroundHeader))]
[ChildElementInfoAttribute(typeof(BordersDoNotSurroundFooter))]
[ChildElementInfoAttribute(typeof(GutterAtTop))]
[ChildElementInfoAttribute(typeof(HideSpellingErrors))]
[ChildElementInfoAttribute(typeof(HideGrammaticalErrors))]
[ChildElementInfoAttribute(typeof(ActiveWritingStyle))]
[ChildElementInfoAttribute(typeof(ProofState))]
[ChildElementInfoAttribute(typeof(FormsDesign))]
[ChildElementInfoAttribute(typeof(AttachedTemplate))]
[ChildElementInfoAttribute(typeof(LinkStyles))]
[ChildElementInfoAttribute(typeof(StylePaneFormatFilter))]
[ChildElementInfoAttribute(typeof(StylePaneSortMethods))]
[ChildElementInfoAttribute(typeof(MailMerge))]
[ChildElementInfoAttribute(typeof(RevisionView))]
[ChildElementInfoAttribute(typeof(TrackRevisions))]
[ChildElementInfoAttribute(typeof(DoNotTrackMoves))]
[ChildElementInfoAttribute(typeof(DoNotTrackFormatting))]
[ChildElementInfoAttribute(typeof(DocumentProtection))]
[ChildElementInfoAttribute(typeof(AutoFormatOverride))]
[ChildElementInfoAttribute(typeof(StyleLockThemesPart))]
[ChildElementInfoAttribute(typeof(StyleLockStylesPart))]
[ChildElementInfoAttribute(typeof(DefaultTabStop))]
[ChildElementInfoAttribute(typeof(AutoHyphenation))]
[ChildElementInfoAttribute(typeof(ConsecutiveHyphenLimit))]
[ChildElementInfoAttribute(typeof(HyphenationZone))]
[ChildElementInfoAttribute(typeof(DoNotHyphenateCaps))]
[ChildElementInfoAttribute(typeof(ShowEnvelope))]
[ChildElementInfoAttribute(typeof(SummaryLength))]
[ChildElementInfoAttribute(typeof(ClickAndTypeStyle))]
[ChildElementInfoAttribute(typeof(DefaultTableStyle))]
[ChildElementInfoAttribute(typeof(EvenAndOddHeaders))]
[ChildElementInfoAttribute(typeof(BookFoldReversePrinting))]
[ChildElementInfoAttribute(typeof(BookFoldPrinting))]
[ChildElementInfoAttribute(typeof(BookFoldPrintingSheets))]
[ChildElementInfoAttribute(typeof(DrawingGridHorizontalSpacing))]
[ChildElementInfoAttribute(typeof(DrawingGridVerticalSpacing))]
[ChildElementInfoAttribute(typeof(DisplayHorizontalDrawingGrid))]
[ChildElementInfoAttribute(typeof(DisplayVerticalDrawingGrid))]
[ChildElementInfoAttribute(typeof(DoNotUseMarginsForDrawingGridOrigin))]
[ChildElementInfoAttribute(typeof(DrawingGridVerticalOrigin))]
[ChildElementInfoAttribute(typeof(DoNotShadeFormData))]
[ChildElementInfoAttribute(typeof(RemoveDateAndTime))]
[ChildElementInfoAttribute(typeof(StrictFirstAndLastChars))]
[ChildElementInfoAttribute(typeof(NoLineBreaksAfterKinsoku))]
[ChildElementInfoAttribute(typeof(SavePreviewPicture))]
[ChildElementInfoAttribute(typeof(DoNotValidateAgainstSchema))]
[ChildElementInfoAttribute(typeof(SaveInvalidXml))]
[ChildElementInfoAttribute(typeof(IgnoreMixedContent))]
[ChildElementInfoAttribute(typeof(AlwaysShowPlaceholderText))]
[ChildElementInfoAttribute(typeof(DoNotDemarcateInvalidXml))]
[ChildElementInfoAttribute(typeof(SaveXmlDataOnly))]
[ChildElementInfoAttribute(typeof(UseXsltWhenSaving))]
[ChildElementInfoAttribute(typeof(SaveThroughXslt))]
[ChildElementInfoAttribute(typeof(ShowXmlTags))]
[ChildElementInfoAttribute(typeof(AlwaysMergeEmptyNamespace))]
[ChildElementInfoAttribute(typeof(UpdateFieldsOnOpen))]
[ChildElementInfoAttribute(typeof(HeaderShapeDefaults))]
[ChildElementInfoAttribute(typeof(FootnoteDocumentWideProperties))]
[ChildElementInfoAttribute(typeof(EndnoteDocumentWideProperties))]
[ChildElementInfoAttribute(typeof(Compatibility))]
[ChildElementInfoAttribute(typeof(DocumentVariables))]
[ChildElementInfoAttribute(typeof(Rsids))]
[ChildElementInfoAttribute(typeof(MathProperties))]
[ChildElementInfoAttribute(typeof(UICompatibleWith97To2003))]
[ChildElementInfoAttribute(typeof(AttachedSchema))]
[ChildElementInfoAttribute(typeof(ThemeFontLanguages))]
[ChildElementInfoAttribute(typeof(ColorSchemeMapping))]
[ChildElementInfoAttribute(typeof(DoNotIncludeSubdocsInStats))]
[ChildElementInfoAttribute(typeof(DoNotAutoCompressPictures))]
[ChildElementInfoAttribute(typeof(ForceUpgrade))]
[ChildElementInfoAttribute(typeof(Captions))]
[ChildElementInfoAttribute(typeof(ReadModeInkLockDown))]
[ChildElementInfoAttribute(typeof(SmartTagType))]
[ChildElementInfoAttribute(typeof(SchemaLibrary))]
[ChildElementInfoAttribute(typeof(ShapeDefaults))]
[ChildElementInfoAttribute(typeof(DoNotEmbedSmartTags))]
[ChildElementInfoAttribute(typeof(DecimalSymbol))]
[ChildElementInfoAttribute(typeof(ListSeparator))]
[ChildElementInfoAttribute(typeof(DocumentId), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(DiscardImageEditingData), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(DefaultImageDpi), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ConflictMode), FileFormatVersions.Office2010)]
public class Settings : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • WriteProtection <w:writeProtection>

  • View <w:view>

  • Zoom <w:zoom>

  • RemovePersonalInformation <w:removePersonalInformation>

  • RemoveDateAndTime <w:removeDateAndTime>

  • DoNotDisplayPageBoundaries <w:doNotDisplayPageBoundaries>

  • DisplayBackgroundShape <w:displayBackgroundShape>

  • PrintPostScriptOverText <w:printPostScriptOverText>

  • PrintFractionalCharacterWidth <w:printFractionalCharacterWidth>

  • PrintFormsData <w:printFormsData>

  • EmbedTrueTypeFonts <w:embedTrueTypeFonts>

  • EmbedSystemFonts <w:embedSystemFonts>

  • SaveSubsetFonts <w:saveSubsetFonts>

  • SaveFormsData <w:saveFormsData>

  • MirrorMargins <w:mirrorMargins>

  • AlignBorderAndEdges <w:alignBordersAndEdges>

  • BordersDoNotSurroundHeader <w:bordersDoNotSurroundHeader>

  • BordersDoNotSurroundFooter <w:bordersDoNotSurroundFooter>

  • GutterAtTop <w:gutterAtTop>

  • HideSpellingErrors <w:hideSpellingErrors>

  • HideGrammaticalErrors <w:hideGrammaticalErrors>

  • ActiveWritingStyle <w:activeWritingStyle>

  • ProofState <w:proofState>

  • FormsDesign <w:formsDesign>

  • AttachedTemplate <w:attachedTemplate>

  • LinkStyles <w:linkStyles>

  • StylePaneFormatFilter <w:stylePaneFormatFilter>

  • StylePaneSortMethods <w:stylePaneSortMethod>

  • DocumentType <w:documentType>

  • MailMerge <w:mailMerge>

  • RevisionView <w:revisionView>

  • TrackRevisions <w:trackRevisions>

  • DoNotTrackMoves <w:doNotTrackMoves>

  • DoNotTrackFormatting <w:doNotTrackFormatting>

  • DocumentProtection <w:documentProtection>

  • AutoFormatOverride <w:autoFormatOverride>

  • StyleLockThemesPart <w:styleLockTheme>

  • StyleLockStylesPart <w:styleLockQFSet>

  • DefaultTabStop <w:defaultTabStop>

  • AutoHyphenation <w:autoHyphenation>

  • ConsecutiveHyphenLimit <w:consecutiveHyphenLimit>

  • HyphenationZone <w:hyphenationZone>

  • DoNotHyphenateCaps <w:doNotHyphenateCaps>

  • ShowEnvelope <w:showEnvelope>

  • SummaryLength <w:summaryLength>

  • ClickAndTypeStyle <w:clickAndTypeStyle>

  • DefaultTableStyle <w:defaultTableStyle>

  • EvenAndOddHeaders <w:evenAndOddHeaders>

  • BookFoldReversePrinting <w:bookFoldRevPrinting>

  • BookFoldPrinting <w:bookFoldPrinting>

  • BookFoldPrintingSheets <w:bookFoldPrintingSheets>

  • DrawingGridHorizontalSpacing <w:drawingGridHorizontalSpacing>

  • DrawingGridVerticalSpacing <w:drawingGridVerticalSpacing>

  • DisplayHorizontalDrawingGrid <w:displayHorizontalDrawingGridEvery>

  • DisplayVerticalDrawingGrid <w:displayVerticalDrawingGridEvery>

  • DoNotUseMarginsForDrawingGridOrigin <w:doNotUseMarginsForDrawingGridOrigin>

  • DrawingGridHorizontalOrigin <w:drawingGridHorizontalOrigin>

  • DrawingGridVerticalOrigin <w:drawingGridVerticalOrigin>

  • DoNotShadeFormData <w:doNotShadeFormData>

  • NoPunctuationKerning <w:noPunctuationKerning>

  • CharacterSpacingControl <w:characterSpacingControl>

  • PrintTwoOnOne <w:printTwoOnOne>

  • StrictFirstAndLastChars <w:strictFirstAndLastChars>

  • NoLineBreaksAfterKinsoku <w:noLineBreaksAfter>

  • NoLineBreaksBeforeKinsoku <w:noLineBreaksBefore>

  • SavePreviewPicture <w:savePreviewPicture>

  • DoNotValidateAgainstSchema <w:doNotValidateAgainstSchema>

  • SaveInvalidXml <w:saveInvalidXml>

  • IgnoreMixedContent <w:ignoreMixedContent>

  • AlwaysShowPlaceholderText <w:alwaysShowPlaceholderText>

  • DoNotDemarcateInvalidXml <w:doNotDemarcateInvalidXml>

  • SaveXmlDataOnly <w:saveXmlDataOnly>

  • UseXsltWhenSaving <w:useXSLTWhenSaving>

  • SaveThroughXslt <w:saveThroughXslt>

  • ShowXmlTags <w:showXMLTags>

  • AlwaysMergeEmptyNamespace <w:alwaysMergeEmptyNamespace>

  • UpdateFieldsOnOpen <w:updateFields>

  • HeaderShapeDefaults <w:hdrShapeDefaults>

  • FootnoteDocumentWideProperties <w:footnotePr>

  • EndnoteDocumentWideProperties <w:endnotePr>

  • Compatibility <w:compat>

  • DocumentVariables <w:docVars>

  • Rsids <w:rsids>

  • DocumentFormat.OpenXml.Math.MathProperties <m:mathPr>

  • UICompatibleWith97To2003 <w:uiCompat97To2003>

  • AttachedSchema <w:attachedSchema>

  • ThemeFontLanguages <w:themeFontLang>

  • ColorSchemeMapping <w:clrSchemeMapping>

  • DoNotIncludeSubdocsInStats <w:doNotIncludeSubdocsInStats>

  • DoNotAutoCompressPictures <w:doNotAutoCompressPictures>

  • ForceUpgrade <w:forceUpgrade>

  • Captions <w:captions>

  • ReadModeInkLockDown <w:readModeInkLockDown>

  • SmartTagType <w:smartTagType>

  • DocumentFormat.OpenXml.CustomXmlSchemaReferences.SchemaLibrary <sl:schemaLibrary>

  • ShapeDefaults <w:shapeDefaults>

  • DoNotEmbedSmartTags <w:doNotEmbedSmartTags>

  • DecimalSymbol <w:decimalSymbol>

  • ListSeparator <w:listSeparator>

  • DocumentFormat.OpenXml.Office2010.Word.DocumentId <w14:docId>

  • DocumentFormat.OpenXml.Office2010.Word.DiscardImageEditingData <w14:discardImageEditingData>

  • DocumentFormat.OpenXml.Office2010.Word.DefaultImageDpi <w14:defaultImageDpi>

  • DocumentFormat.OpenXml.Office2010.Word.ConflictMode <w14:conflictMode>

[ISO/IEC 29500-1 1st Edition]

17.15.1.78 settings (Document Settings)

This element specifies the settings that are applied to a WordprocessingML document. This element is the root element of the Document Settings part in a WordprocessingML document.

[Example: Consider the following WordprocessingML fragment for the settings part of a document:

<w:settings>
<w:defaultTabStop w:val="720" />
<w:characterSpacingControl w:val="doNotCompress" />
</w:settings>

The settings element contains all of the settings for this document. In this case, the two settings applied are automatic tab stop increments of 0.5" using the defaultTabStop element, and no character level whitespace compression using the characterSpacingControl element. end example]

Parent Elements

Root element of WordprocessingML Document Settings part

Child Elements

Subclause

activeWritingStyle (Grammar Checking Settings)

§17.15.1.1

alignBordersAndEdges (Align Paragraph and Table Borders with Page Border)

§17.15.1.2

alwaysMergeEmptyNamespace (Do Not Mark Custom XML Elements With No Namespace As Invalid)

§17.15.1.3

alwaysShowPlaceholderText (Use Custom XML Element Names as Default Placeholder Text)

§17.15.1.4

attachedSchema (Attached Custom XML Schema)

§17.15.1.5

attachedTemplate (Attached Document Template)

§17.15.1.6

autoFormatOverride (Allow Automatic Formatting to Override Formatting Protection Settings)

§17.15.1.9

autoHyphenation (Automatically Hyphenate Document Contents When Displayed)

§17.15.1.10

bookFoldPrinting (Book Fold Printing)

§17.15.1.11

bookFoldPrintingSheets (Number of Pages Per Booklet)

§17.15.1.12

bookFoldRevPrinting (Reverse Book Fold Printing)

§17.15.1.13

bordersDoNotSurroundFooter (Page Border Excludes Footer)

§17.15.1.14

bordersDoNotSurroundHeader (Page Border Excludes Header)

§17.15.1.15

captions (Caption Settings)

§17.15.1.17

characterSpacingControl (Character-Level Whitespace Compression)

§17.15.1.18

clickAndTypeStyle (Paragraph Style Applied to Automatically Generated Paragraphs)

§17.15.1.19

clrSchemeMapping (Theme Color Mappings)

§17.15.1.20

compat (Compatibility Settings)

§17.15.1.21

consecutiveHyphenLimit (Maximum Number of Consecutively Hyphenated Lines)

§17.15.1.22

decimalSymbol (Radix Point for Field Code Evaluation)

§17.15.1.23

defaultTableStyle (Default Table Style for Newly Inserted Tables)

§17.15.1.24

defaultTabStop (Distance Between Automatic Tab Stops)

§17.15.1.25

displayBackgroundShape (Display Background Objects When Displaying Document)

§17.15.1.26

displayHorizontalDrawingGridEvery (Distance between Horizontal Gridlines)

§17.15.1.27

displayVerticalDrawingGridEvery (Distance between Vertical Gridlines)

§17.15.1.28

documentProtection (Document Editing Restrictions)

§17.15.1.29

documentType (Document Classification)

§17.15.1.30

docVars (Document Variables)

§17.15.1.32

doNotAutoCompressPictures (Do Not Automatically Compress Images)

§17.15.1.33

doNotDemarcateInvalidXml (Do Not Show Visual Indicator For Invalid Custom XML Markup)

§17.15.1.34

doNotDisplayPageBoundaries (Do Not Display Visual Boundary For Header/Footer or Between Pages)

§17.15.1.35

doNotEmbedSmartTags (Remove Smart Tags When Saving)

§17.15.1.36

doNotHyphenateCaps (Do Not Hyphenate Words in ALL CAPITAL LETTERS)

§17.15.1.37

doNotIncludeSubdocsInStats (Do Not Include Content in Text Boxes, Footnotes, and Endnotes in Document Statistics)

§17.15.1.38

doNotShadeFormData (Do Not Show Visual Indicator For Form Fields)

§17.15.1.39

doNotTrackFormatting (Do Not Track Formatting Revisions When Tracking Revisions)

§17.15.1.40

doNotTrackMoves (Do Not Use Move Syntax When Tracking Revisions)

§17.15.1.41

doNotUseMarginsForDrawingGridOrigin (Do Not Use Margins for Drawing Grid Origin)

§17.15.1.42

doNotValidateAgainstSchema (Do Not Validate Custom XML Markup Against Schemas)

§17.15.1.43

drawingGridHorizontalOrigin (Drawing Grid Horizontal Origin Point)

§17.15.1.44

drawingGridHorizontalSpacing (Drawing Grid Horizontal Grid Unit Size)

§17.15.1.45

drawingGridVerticalOrigin (Drawing Grid Vertical Origin Point)

§17.15.1.46

drawingGridVerticalSpacing (Drawing Grid Vertical Grid Unit Size)

§17.15.1.47

embedSystemFonts (Embed Common System Fonts)

§17.8.3.7

embedTrueTypeFonts (Embed TrueType Fonts)

§17.8.3.8

endnotePr (Document-Wide Endnote Properties)

§17.11.4

evenAndOddHeaders (Different Even/Odd Page Headers and Footers)

§17.10.1

footnotePr (Document-Wide Footnote Properties)

§17.11.12

forceUpgrade (Upgrade Document on Open)

§17.15.1.48

formsDesign (Structured Document Tag Placeholder Text Should be Resaved)

§17.15.1.49

gutterAtTop (Position Gutter At Top of Page)

§17.15.1.50

hideGrammaticalErrors (Do Not Display Visual Indication of Grammatical Errors)

§17.15.1.51

hideSpellingErrors (Do Not Display Visual Indication of Spelling Errors)

§17.15.1.52

hyphenationZone (Hyphenation Zone)

§17.15.1.53

ignoreMixedContent (Ignore Mixed Content When Validating Custom XML Markup)

§17.15.1.54

linkStyles (Automatically Update Styles From Document Template)

§17.15.1.55

listSeparator (List Separator for Field Code Evaluation)

§17.15.1.56

mailMerge (Mail Merge Settings)

§17.14.20

mathPr (Math Properties)

§22.1.2.62

mirrorMargins (Mirror Page Margins)

§17.15.1.57

noLineBreaksAfter (Custom Set of Characters Which Cannot End a Line)

§17.15.1.58

noLineBreaksBefore (Custom Set Of Characters Which Cannot Begin A Line)

§17.15.1.59

noPunctuationKerning (Never Kern Punctuation Characters)

§17.15.1.60

printFormsData (Only Print Form Field Content)

§17.15.1.61

printFractionalCharacterWidth (Print Fractional Character Widths)

§17.15.1.62

printPostScriptOverText (Print PostScript Codes With Document Text)

§17.15.1.63

printTwoOnOne (Print Two Pages Per Sheet)

§17.15.1.64

proofState (Spelling and Grammatical Checking State)

§17.15.1.65

readModeInkLockDown (Freeze Document Layout)

§17.15.1.66

removeDateAndTime (Remove Date and Time from Annotations)

§17.15.1.67

removePersonalInformation (Remove Personal Information from Document Properties)

§17.15.1.68

revisionView (Visibility of Annotation Types)

§17.15.1.69

rsids (Listing of All Revision Save ID Values)

§17.15.1.72

saveFormsData (Only Save Form Field Content)

§17.15.1.73

saveInvalidXml (Allow Saving Document As XML File When Custom XML Markup Is Invalid)

§17.15.1.74

savePreviewPicture (Generate Thumbnail For Document On Save)

§17.15.1.75

saveSubsetFonts (Subset Fonts When Embedding)

§17.8.3.15

saveThroughXslt (Custom XSL Transform To Use When Saving As XML File)

§17.15.1.76

saveXmlDataOnly (Only Save Custom XML Markup)

§17.15.1.77

schemaLibrary (Embedded Custom XML Schema Supplementary Data)

§23.2.2

showEnvelope (Show E-Mail Message Header)

§17.15.1.79

showXMLTags (Show Visual Indicators for Custom XML Markup Start/End Locations)

§17.15.1.80

smartTagType (Supplementary Smart Tag Information)

§17.15.1.81

strictFirstAndLastChars (Use Strict Kinsoku Rules for Japanese Text)

§17.15.1.82

styleLockQFSet (Prevent Replacement of Styles Part)

§17.15.1.83

styleLockTheme (Prevent Modification of Themes Part)

§17.15.1.84

stylePaneFormatFilter (Suggested Filtering for List of Document Styles)

§17.15.1.85

stylePaneSortMethod (Suggested Sorting for List of Document Styles)

§17.15.1.86

summaryLength (Percentage of Document to Use When Generating Summary)

§17.15.1.87

themeFontLang (Theme Font Languages)

§17.15.1.88

trackRevisions (Track Revisions to Document)

§17.15.1.89

updateFields (Automatically Recalculate Fields on Open)

§17.15.1.90

useXSLTWhenSaving (Save Document as XML File through Custom XSL Transform)

§17.15.1.91

view (Document View Setting)

§17.15.1.92

writeProtection (Write Protection)

§17.15.1.93

zoom (Magnification Setting)

§17.15.1.94

[Note: The W3C XML Schema definition of this element’s content model (CT_Settings) is located in §A.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Settings Members

DocumentFormat.OpenXml.Wordprocessing Namespace