docx

    Type Alias ILineNumberAttributes

    type ILineNumberAttributes = {
        countBy?: number;
        distance?: number | PositiveUniversalMeasure;
        restart?: typeof LineNumberRestartFormat[keyof typeof LineNumberRestartFormat];
        start?: number;
    }
    Index

    Properties

    countBy?: number

    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.

    
    

    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).

    distance?: number | PositiveUniversalMeasure

    Specifies the distance between the text margin and the edge of any line numbers appearing in that section.

    
    

    The possible values for this attribute are defined by the ST_TwipsMeasure simple type (§2.18.105).

    restart?: typeof LineNumberRestartFormat[keyof typeof LineNumberRestartFormat]

    Specifies when the line numbering in this section shall be reset to the line number specified by the start attribute's value.

    The line numbering increments for each line (even if it is not displayed) until it reaches the restart point specified by this element.

    
      ...
      
    
    

    The 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.

    The possible values for this attribute are defined by the ST_LineNumberRestart simple type (§2.18.54).

    start?: number

    Specifies the starting value used for the first line whenever the line numbering is restarted by use of the restart attribute.

    
    

    The start attribute specifies that line numbers shall be counted starting from the number 3.

    The possible values for this attribute are defined by the ST_DecimalNumber simple type (§2.18.16).

    MMNEPVFCICPMFPCPTTAAATR