Class OperationPageInterval


  • public class OperationPageInterval
    extends Object
    Used to define the document page range to which new elements should be added. Can be used to define a fixed interval from one page to another page.
    • Constructor Detail

      • OperationPageInterval

        public OperationPageInterval()
    • Method Detail

      • getEven

        @Nullable
        public @Nullable Boolean getEven()
        If true, the elements are also placed on even-numbered pages.
        Returns:
        even
      • setEven

        public void setEven​(Boolean even)
      • getOdd

        @Nullable
        public @Nullable Boolean getOdd()
        If true, the elements are also placed on pages with odd-numbered pages.
        Returns:
        odd
      • setOdd

        public void setOdd​(Boolean odd)
      • getPages

        @Nullable
        public @Nullable String getPages()
        Defines the pages of the PDF document to which new elements should be added. Either a single page or a range of pages (e.g., \"1-5\") can be defined. (Can only be used to define a single contiguous interval of consecutive pages.)
        Returns:
        pages
      • setPages

        public void setPages​(String pages)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object