Class PageOptions


  • public final class PageOptions
    extends Object
    Represent options to cut a document.
    • Method Detail

      • getPageIndexes

        public List<Integer> getPageIndexes()
        Zero-based list of page indexes. A negative index can be used, indicating an offset from the end of the document. [1, -1] represents the first and last pages of the document.
      • getOperation

        public PageOptionsOperation getOperation()
        Operation to apply on the document, given the `pageIndexes` specified. `KeepOnly` by default.
      • getOnMinPages

        public Integer getOnMinPages()
        Apply the operation only if the document has at least this many pages. 0 by default.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object