com.groupdocs.merger.domain.options.contracts

Class PagedOptions

    • Constructor Detail

      • PagedOptions

        protected PagedOptions()

        Initializes a new instance of the PagedOptions class.

        <inheritdoc></inheritdoc>
      • PagedOptions

        protected PagedOptions(long fileFormat,
                    String password)

        Initializes a new instance of the PagedOptions class.

        Parameters:
        fileFormat - The file format.
        password - The password. <inheritdoc></inheritdoc>
      • PagedOptions

        protected PagedOptions(long fileFormat,
                    String password,
                    int[] pageNumbers)

        Initializes a new instance of the PagedOptions class.

        Parameters:
        fileFormat - The file format.
        password - The password.
        pageNumbers - Pages for operation. <inheritdoc></inheritdoc>
      • PagedOptions

        protected PagedOptions(long fileFormat,
                    String password,
                    int startNumber,
                    int endNumber,
                    int mode)

        Initializes a new instance of the PagedOptions class.

        Parameters:
        fileFormat - The file format.
        password - The password.
        startNumber - The start number.
        endNumber - The end number.
        mode - The mode. <inheritdoc></inheritdoc>
      • PagedOptions

        protected PagedOptions(long fileFormat,
                    String password,
                    com.groupdocs.merger.domain.pagers.IPager pager)

        Initializes a new instance of the PagedOptions class.

        Parameters:
        fileFormat - The file format.
        password - The password.
        pager - Pages for operation. <inheritdoc></inheritdoc>
      • PagedOptions

        protected PagedOptions(long fileFormat,
                    String password,
                    List<Integer> pageNumbers)

        Initializes a new instance of the PagedOptions class.

        Parameters:
        fileFormat - The file format.
        password - The password.
        pageNumbers - Pages for operation. <inheritdoc></inheritdoc>
    • Method Detail

      • getPages

        public final List<Integer> getPages()

        List of page number on which operation will be applied. Note: first page have number 1.

      • pagesForDocument

        public final List<Integer> pagesForDocument(int documentPageCount)

        List of page number on which operation will be applied. Note: first page have number 1.

        Parameters:
        documentPageCount - Count of page in document.