<lsdException>
(Latent Style Exception)
This element specifies the properties which shall be applied a single latent style for this document. refer to any set of known style definitions which have not been included in the current document.
However, if the <documentProtection>
element (§2.15.1.28) specifies that the hosting application shall prevent the use of any style whose <locked>
element (§2.7.3.7) is set to false
, then the locking state of all styles known to that application become useful and necessary to maintain the current state of the document. Using latent styles, this information may be stored without storing any formatting properties for those styles.
For example, if all styles which are not stored in the document shall be locked except for the style with a primary name (§2.7.3.9) of Heading 2
. This requirement would be specified using latent styles as follows:
<w:latentStyles … w:defLockedState="true"> <w:lsdException w:name="Heading 2" w:locked="false"/> </w:latentStyles>
The <lsdException>
element specifies that the latent style with a primary name of Heading 2
shall have a locked state setting of false
. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies the default setting for the If this element is omitted, the default <w:latentStyles … w:defLockedState="true"> <w:lsdException w:name="TestStyle" w:locked="false"/> </w:latentStyles> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
|
Specifies the primary name for the style which shall inherit this set of latent style property exceptions. If the current application does not know of an internal primary style with the current name, then this set of latent style exceptions may be ignored. <w:latentStyles … w:defLockedState="true"> <w:lsdException w:name="TestStyle" w:locked="false"/> </w:latentStyles> The The possible values for this attribute are defined by the ST_String simple type (§2.18.89). |
|
Specifies the default setting for the If this element is omitted, the default <w:latentStyles … w:defQFormat="false"> <w:lsdException w:name="TestStyle" w:qFormat="true"/> </w:latentStyles> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
|
Specifies the default setting for the If this element is omitted, the default <w:latentStyles … w:defSemiHidden="false"> <w:lsdException w:name="TestStyle" w:semiHidden="true"/> </w:latentStyles> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
|
Specifies the default setting for the If this element is omitted, the default <w:latentStyles … w:defUIPriority="10"> <w:lsdException w:name="TestStyle" w:uiPriority="25"/> </w:latentStyles> The The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
|
Specifies the default setting for the If this element is omitted, the default <w:latentStyles … w:defUnhideWhenUsed="true"> <w:lsdException w:name="TestStyle" w:unhideWhenUsed="false"/> </w:latentStyles> The The possible values for this attribute are defined by the ST_OnOff simple type (§2.18.67). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_LsdException">
<attribute name="name" type="ST_String" use="required"/>
<attribute name="locked" type="ST_OnOff"/>
<attribute name="uiPriority" type="ST_DecimalNumber"/>
<attribute name="semiHidden" type="ST_OnOff"/>
<attribute name="unhideWhenUsed" type="ST_OnOff"/>
<attribute name="qFormat" type="ST_OnOff"/>
</complexType>