[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
summaryLength (Percentage of Document to Use When Generating Summary)
This element specifies the size for automatic document summaries performed on the content of a WordprocessingML document. An automatic document summary is a subset of text contained in a document deemed by the hosting application to summarize the content of the WordprocessingML document. The val attribute of this element specifies the size of an automatic document summary to be performed on a given WordprocessingML document as a percentage of the total size of the given WordprocessingML document. Performing an automatic document summary is a runtime operation outside the scope of this Office Open XML Standard.
If this element is omitted, then applications may summarize this document to any desired size.
[Example: Consider a WordprocessingML document whose automatic document summary shall be ten percent of the size of the given WordprocessingML document. This requirement would be specified using the following WordprocessingML in the document settings part:
<w:summaryLength w:val="10" />
The summaryLength element's val attribute is equal to 10 specifying that any automatic document summary shall be ten percent of the size of the document. end example]
Parent Elements |
settings (§2.15.1.78) |
Attributes |
Description |
val (Decimal Number Value) |
Specifies that the contents of this attribute will contain a decimal number.
The contents of this decimal number are interpreted based on the context of the parent XML element.
[Example: Consider the following numeric WordprocessingML property of type ST_DecimalNumber:
<w:… w:val="1512645511" /> The value of the val attribute is a decimal number whose value must be interpreted in the context of the parent element. end example]
The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_DecimalNumber">
<attribute name="val" type="ST_DecimalNumber" use="required"/>
</complexType>