Class DocDefaults
The document-wide formatting defaults (ECMA-376 Part 1 §17.7.5.1 w:docDefaults) — the base of every resolution chain.
public sealed class DocDefaults : UnknownXmlHost
- Inheritance
-
DocDefaults
- Inherited Members
Constructors
Properties
- CharacterFormat
Gets or sets the default run formatting (w:rPrDefault/w:rPr), or null.
- DeclaresParagraphDefaults
Gets or sets whether the document states w:pPrDefault, even empty. Word gives a document that does not its own application defaults for paragraph formatting (its template's spacing after and line spacing) instead of the specification's (WQ-0163). The DOCX reader sets it from the package; true for a document built in memory. A set ParagraphFormat is written whatever this says.
- DeclaresRunDefaults
Gets or sets whether the document states w:rPrDefault, even empty. Word gives a document that does not its own application defaults for run formatting (its template's font and size) instead of the specification's (WQ-0163), so the element's presence is content. The DOCX reader sets it from the package; true for a document built in memory. A set CharacterFormat is written whatever this says.
- ParagraphFormat
Gets or sets the default paragraph formatting (w:pPrDefault/w:pPr), or null.
Methods
- Clone()
Creates a deep copy.