17.18.14 ST_DocGrid
Specifies the kind 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 all characters on each row; or a grid which affects only the line pitch for the current section.
[Example: Consider the document discussed above with the document grid defined to allow 20 characters per line, and 20 lines per page by snapping characters to the grid as follows:
This document has a type attribute of type ST_DocGrid and value snapToChars, which specifies that the grid must force East Asian characters to fit 20 to a line. end example]
This simple type’s contents are a restriction of the W3C XML Schema string datatype.
This simple type is restricted to the values
listed in the following table:
Enumeration Value
Description
Specifies that no document grid shall be applied to the contents of the current section in the document.
Specifies that the parent section shall have additional line pitch added to each line within it (as specified on the docGrid element (17.6.5)) in order to maintain the specified number of lines per page.
Specifies that the parent section shall have both the additional line pitch and character pitch added to each line and character within it (as specified on the docGrid element (17.6.5)) in order to maintain a specific number of lines per page and characters per line.
Enumeration Value
Description
When this value is set, the input specified via the user interface can be allowed in exact number of line/character pitch units.
Specifies that the parent section shall have both the additional line pitch and character pitch added to each line and character within it (as specified on the docGrid element (17.6.5)) in order to maintain a specific number of lines per page and characters per line.
When this value is set, the input specified via the user interface can be restricted to the number of lines per page and characters per line, with the consumer or producer translating this information based on the current font data to get the resulting line and character pitch values
[Note: The W3C XML Schema definition of this simple type’s content model (ST_DocGrid) is located in A.1. end note]