<docGrid>
(Document Grid)
This element specifies the settings for the document grid, which enables precise layout of full-width East Asian language characters within a document by specifying the desired number of characters per line and lines per page for all East Asian text content in this section.
As shown, this document allows for only 20 East Asian characters per line by adjusting the inter-character spacing to ensure that there are only 20 characters per line. ]
If Latin text is interspersed on this line, then it is placed across the number of grid units needed to fit the content, but all other grid positions are unaffected.
The Latin text spans two grid units, so it is placed in the center of those two units; no other grid positions are affected, so the text on the second line now spans two additional grid units. ]
Attributes |
Description |
---|---|
|
Specifies the number of characters to be allowed on the document grid for each line in this section. This attribute's value shall be specified by multiplying the difference between the desired character pitch and the character pitch for that character in the font size of the Normal font by This value shall then be used to add the character pitch for the specified point size to each character in the section [: This results in text in the Normal style having a specific number of characters per line. ] <w:docGrid w:charSize="40960" …/> The Individual runs of text can override the line pitch information specified for the document grid by specifying that the run text shall not snap to the document grid via the The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
|
Specifies the number of lines to be allowed on the document grid for the current page assuming all lines have equal line pitch applied to them. This line pitch shall not be added to any line which appears within a table cell unless the This attribute is specified in twentieths of a point, and defines the pitch for each line of text on this page such that the desired number of single spaced lines of text fits on the current page. <w:docGrid w:linePitch="684" …/> The Individual paragraphs can override the line pitch information specified for the document grid by either:
The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
|
Specifies the type of the current document grid, which defines the grid behavior. The grid can define a grid which snaps all East Asian characters to grid positions, but leaves Latin text with its default spacing; a grid which adds the specified character pitch to each character on each row; or a grid which affects only the line pitch for the current section. This document has a The possible values for this attribute are defined by the ST_DocGrid simple type (§2.18.18). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_DocGrid">
<attribute name="type" type="ST_DocGrid"/>
<attribute name="linePitch" type="ST_DecimalNumber"/>
<attribute name="charSpace" type="ST_DecimalNumber"/>
</complexType>