Class PagedSourceOptions

  • All Implemented Interfaces:
    java.lang.Cloneable, TransformationSourceOptions

    public class PagedSourceOptions
    extends AbstractTransformationSourceOptions
    Paged content conversion options to specify a page number range.

    The page numbering index starts with 1.

    If only the start page number is specified transformers should attempt a page range from that page number to the end if possible.

    If only an end page number is specified transformers should attempt a page range from the start to that page if possible.

    Author:
    Ray Gauss II
    • Field Detail

      • PAGE_1

        public static final java.lang.Integer PAGE_1
    • Constructor Detail

      • PagedSourceOptions

        public PagedSourceOptions()
    • Method Detail

      • getDefaultApplicableMimetypes

        protected static java.util.List<java.lang.String> getDefaultApplicableMimetypes()
      • getStartPageNumber

        public java.lang.Integer getStartPageNumber()
        Gets the page number to start from in the source document
        Returns:
        the start page number
      • setStartPageNumber

        public void setStartPageNumber​(java.lang.Integer startPageNumber)
        Sets the page number to start from in the source document
        Parameters:
        startPageNumber - the start page number
      • getEndPageNumber

        public java.lang.Integer getEndPageNumber()
        Gets the page number to end at in the source document
        Returns:
        the start page number
      • setEndPageNumber

        public void setEndPageNumber​(java.lang.Integer endPageNumber)
        Sets the page number to end at in the source document
        Parameters:
        endPageNumber - the end page number
      • getPage1Instance

        public static PagedSourceOptions getPage1Instance()
        Gets paged source options which specify just the first page.
        Returns:
        the page one source options