Class SequenceProperties

  • Direct Known Subclasses:
    TocProperties

    public class SequenceProperties
    extends Object

    SequenceProperties stores properties that are specific for a sequence of blocks

    The constructor is private, use SequenceProperties.Builder to create new instances.

    • Method Detail

      • getMasterName

        public String getMasterName()
        Get the name for the LayoutMaster.
        Returns:
        returns the name of the LayoutMaster
      • getInitialPageNumber

        public Integer getInitialPageNumber()
        Get the initial page number, i.e. the number that the first page in the sequence should have.
        Returns:
        returns the initial page number, or null if no initial page number has been specified
      • getPageCounterName

        public Optional<String> getPageCounterName()
        Gets the page counter name. If a value is present, page numbers within this sequence should be counted separately (in other words, not using the default page counter). Instead, pages are counted together with other sequences having the same page counter name.
        Returns:
        returns the page counter name