Interface PageRange.IPageRangePart

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Integer> getAllPagesInRange​(int nbPages)
      Gets the list of pages that have been added to the range part so far.
      boolean isPageInRange​(int pageNumber)
      Checks if a given page is present in the range part built so far.
    • Method Detail

      • getAllPagesInRange

        java.util.List<java.lang.Integer> getAllPagesInRange​(int nbPages)
        Gets the list of pages that have been added to the range part so far.
        Parameters:
        nbPages - number of pages of the document to get the pages, to list only the pages eligible for this document
        Returns:
        the list containing page numbers added to the range part matching this document
      • isPageInRange

        boolean isPageInRange​(int pageNumber)
        Checks if a given page is present in the range part built so far.
        Parameters:
        pageNumber - the page number to check
        Returns:
        true if the page is present in this range, false otherwise