[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
doNotUseMarginsForDrawingGridOrigin (Do Not Use Margins for Drawing Grid Origin)
This element specifies that the top-left corner of the page shall not be used as the origin for the drawing grid. The drawing grid is a virtual grid which may be used by applications to specify where drawing objects shall be positioned on a page when inserted (i.e. to ensure objects are aligned, etc.). If this element is present the grid shall start at the top-left edge of the page and not the text extents.
If this element is omitted, then the gridlines shall start at the topmost edge of the text extents.
[Example: Consider a WordprocessingML document whose drawing grid shall begin at the top left edge of the page. This requirement would be specified using the following WordprocessingML markup in the document settings:
<w:doNotUseMarginsForDrawingGridOrigin w:val="true" />
The doNotUseMarginsForDrawingGridOrigin element's val attribute is equal to true specifying that the document's drawing grid shall begin from the top left corner of the page, rather than the top left corner of the text extents. end example]
Parent Elements |
settings (§2.15.1.78) |
Attributes |
Description |
val (On/Off Value) |
Specifies a binary value for the property defined by the parent XML element.
A value of on, 1, or true specifies that the property shall be explicitly applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted.
A value of off, 0, or false specifies that the property shall be explicitly turned off.
[Example: For example, consider the following on/off property:
<w:… w:val="off"/>
The val attribute explicitly declares that the property is turned off. end example]
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_OnOff">
<attribute name="val" type="ST_OnOff"/>
</complexType>