adobe.pdfservices.operation.pdfjobs.params package

Subpackages

Submodules

adobe.pdfservices.operation.pdfjobs.params.page_ranges module

class adobe.pdfservices.operation.pdfjobs.params.page_ranges.PageRanges

Bases: object

Page ranges of a file, inclusive of start and end page index, where page index starts from 1.

Constructs a new PageRanges instance with no pages added.

add_all()

Adds a page range representing all pages.

add_all_from(start: int)

Adds a page range from start page index to the last page. Page index starts from 1. :param start: start page index :type start: int

add_range(start: int, end: int)

Adds a page range. Page indexes start from 1. :param start: start page index, inclusive :type start: int :param end: end page index, inclusive :type start: int

add_single_page(page: int)

Adds a single page. Page index starts from 1. :param page: single page index :type page: int

get_ranges()

Used internally by this SDK, not intended to be called by clients.

is_empty()

Used internally by this SDK, not intended to be called by clients.

json_hint = {'ranges': 'pageRanges'}
to_json()

Used internally by this SDK, not intended to be called by clients.

validate()

Used internally by this SDK, not intended to be called by clients.

adobe.pdfservices.operation.pdfjobs.params.pdf_services_job_params module

class adobe.pdfservices.operation.pdfjobs.params.pdf_services_job_params.PDFServicesJobParams

Bases: ABC

Represents the basic contract for the params to be used in PDFServicesJob

Module contents