<lnNumType>
(Line Numbering Settings)
This element specifies the settings for line numbering to be displayed before each column of text in this section in the document.
<w:sectPr> … <w:lnNumType w:countBy="1" /> </w:sectPr>
This content specifies that line numbers shall be included on each line, restart on each page (the default), be placed automatically based on the text (the default), and shall restart at one (the default). ]
Attributes |
Description |
---|---|
|
Specifies the line number increments to be displayed in the current document. Although each line has an associated line number, only lines which are an even multiple of this value shall be displayed. <w:lnNumType … w:countBy="5"/> This setting ensures that only lines whose number is a multiple of (e.g. 5, 10, and 15) will have a line number displayed. ] The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16). |
|
Specifies the distance between the text margin and the edge of any line numbers appearing in that section. <w:lnNumType … w:distance="720"/> The The possible values for this attribute are defined by the ST_TwipsMeasure simple type (§2.18.105). |
|
Specifies when the line numbering in this section shall be reset to the line number specified by the The line numbering increments for each line (even if it is not displayed) until it reaches the restart point specified by this element. <w:sectPr> … <w:lnNumType w:restart="newPage" ... /> </w:sectPr> The value of The possible values for this attribute are defined by the ST_LineNumberRestart simple type (§2.18.54). |
|
Specifies the starting value used for the first line whenever the line numbering is restarted by use of the <w:lnNumType w:start="3" w:countBy="5"/> The 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_LineNumber">
<attribute name="countBy" type="ST_DecimalNumber" use="optional"/>
<attribute name="start" type="ST_DecimalNumber" use="optional"/>
<attribute name="distance" type="ST_TwipsMeasure" use="optional"/>
<attribute name="restart" type="ST_LineNumberRestart" use="optional"/>
</complexType>