[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_LineNumberRestart (Line Numbering Restart Position)

This simple type specifies when the line numbering in the parent section shall be reset to its restart value. The line numbering increments for each line (even if the line number itself is not displayed) until it reaches the restart point specified by this element.

[Example: Consider the line numbering used on each page of this document, which specifies that line numbering shall restart at the top of each new page. This line numbering setting would be defined using the following WordprocessingML:

<w:lnNumType w:restart="newPage" ... />

The restart attribute is of type ST_LineNumberRestart, and a value of newPage specifies that the line numbers shall restart at the top of each page to the value specified by the start attribute. In this case, newPage is the default, so this value could have been omitted entirely. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

continuous (Continue Line Numbering From Previous Section)

Specifies that line numbering for the parent section shall continue from the line numbering from the end of the previous section, if any.

newPage (Restart Line Numbering on Each Page)

Specifies that line numbering for the parent section shall restart to the starting value whenever a new page is displayed.

newSection (Restart Line Numbering for Each Section)

Specifies that line numbering for the parent section shall restart to the starting value whenever the parent begins.

 

Referenced By

lnNumType@restart2.6.8)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_LineNumberRestart">

   <restriction base="xsd:string">

   <enumeration value="newPage"/>

   <enumeration value="newSection"/>

   <enumeration value="continuous"/>

   </restriction>

</simpleType>