<zoom>
(Magnification Setting)
This element specifies the magnification level which should be applied to a document when it is displayed by an application. The zoom level is specified with the use of two attributes stored on this element:
@val
, which stores the type of zoom applied to the document@percent
, which stores the zoom percentage to be used when rendering the document
If both attributes are present, then the @percent
attribute shall be treated as a 'cached' value and only used when the value none
is specified for the <val>
attribute.
If this element is omitted, then applications may display the document in any desired magnification setting.
<w:zoom w:percent="71" />
The <zoom>
element's @percent
attribute has a value of 71
, specifying that the given document shall have its zoom level set to seventy one percent when it is displayed. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies the zoom percentage that should be applied when a given WordprocessingML document is rendered by conforming hosting applications. This value is the zoom percentage specified as an integer whose units correspond to the zoom percentage. If this attribute is omitted, then applications may use any desired default percentage for the magnification. If the <w:zoom w:percent="50" /> The The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
|
Specifies the type of zoom which shall be applied to a given document on open. If this attribute is not present, then the document shall be displayed as though the value had been set to <w:zoom w:val="bestFit" w:percent="90" /> The Since both attributes are present, the The possible values for this attribute are defined by the ST_Zoom simple type (§2.18.116). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_Zoom">
<attribute name="val" type="ST_Zoom" use="optional"/>
<attribute name="percent" type="ST_DecimalNumber" use="required"/>
</complexType>