PDF4Java Reference Documentation
com.o2sol.pdf4java.flowdocument Package / PDFFlowHeadingContent Class / setAutoNumber Method
True if the headings are numbered automatically based on their position in the document and relative to their parent heading.
Collapse All Expand All
In This Topic

setAutoNumber Method
In This Topic
Sets a value indicating whether the headings should be numbered automatically.
The heading number is generated in the format x.y.z, with one number for each level. Level 1 headings will have one number (x), level 2 headings will have 2 numbers (x.y) where the first number matches the number of parent level 1 heading. Level 3 headings will have 3 numbers (x.y.z) and so on.
Syntax

    public void setAutoNumber(
       boolean value
    )

#### Parameters

value
  True if the headings are numbered automatically based on their position in the document and relative to their parent heading.

See Also

#### Reference

PDFFlowHeadingContent Class
PDFFlowHeadingContent Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.