com.aspose.words

Class FootnoteNumberingRule

  • java.lang.Object
    • com.aspose.words.FootnoteNumberingRule
public class FootnoteNumberingRule 
extends java.lang.Object

Utility class containing constants. Determines when automatic footnote or endnote numbering restarts.

Example:

Shows how to define when automatic numbering for footnotes restarts in the document.
Document doc = new Document(getMyDir() + "Document.FootnoteEndnote.docx");

doc.getFootnoteOptions().setRestartRule(FootnoteNumberingRule.RESTART_PAGE);
See Also:
FootnoteOptions, EndnoteOptions

Field Summary
static final intCONTINUOUS = 0
Numbering continuous throughout the document.
static final intRESTART_SECTION = 1
Numbering restarts at each section.
static final intRESTART_PAGE = 2
Numbering restarts at each page. Valid for footnotes only.
static final intDEFAULT = 0
Equals CONTINUOUS.
 

    • Field Detail

      • CONTINUOUS = 0

        public static final int CONTINUOUS
        Numbering continuous throughout the document.
      • RESTART_SECTION = 1

        public static final int RESTART_SECTION
        Numbering restarts at each section.
      • RESTART_PAGE = 2

        public static final int RESTART_PAGE
        Numbering restarts at each page. Valid for footnotes only.
      • DEFAULT = 0

        public static final int DEFAULT
        Equals CONTINUOUS.