Class ExtendedPropertiesEditingExtensions
The document properties of docProps/app.xml (Word's File > Info: Manager and Company), read and set as an
edit (WQ-0131). The part rides through a load as a preserved part; these read it and rewrite it in place, so every
element this model does not name (the template, the statistics, the application, the heading pairs, anything
else) is kept as it was.
public static class ExtendedPropertiesEditingExtensions
- Inheritance
-
ExtendedPropertiesEditingExtensions
- Inherited Members
Fields
- PartUri
The part's URI.
Methods
- ReadExtendedProperties(WordDocument)
Reads the document's extended properties.
- SetExtendedProperties(WordDocument, DocumentPosition, Action<DocumentExtendedProperties>)
Changes the document's extended properties as one undoable edit. A property set to null is removed from the part, one set to an empty string is written empty; everything else in the part stays. A document without the part gets one. No paragraph changes: the layout is not affected.