Automatically Update Styles From Document Template. When the object is serialized out as xml, its qualified name is w:linkStyles.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
linkStyles (Automatically Update Styles From Document Template)
This element specifies that styles in the given document shall be updated to match the styles in the attached template specified using the attachedTemplate element (§184.108.40.206) when the document is opened by a hosting application. This setting enables the styles contained in documents with attached templates to stay synchronized with the styles used in the attached template.
If this element is omitted, then styles shall not be updated based on the document template regardless of its availability. If the attached template cannot be located or is not a valid file, then this setting should be silently ignored.
[Example: Consider a WordprocessingML document which should always update its styles with those defined in the document's attached template. This requirement would be specified using the following WordprocessingML in the document settings:
<w:settings> <w:linkStyles w:val="true" /> <w:attachedTemplate r:id="rId10" /> …</w:settings>
The linkStyles element has a val attribute value of true, specifying that applications should attempt to locate the document template referenced by the relationship specified in the attachedTemplate element and update the document's styles with the styles from that template. end example]
This element’s content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008.