Result

AutotagPDFResult

class adobe.pdfservices.operation.pdfjobs.result.autotag_pdf_result.AutotagPDFResult(tagged_pdf: Asset, report: Asset, resource: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of AutotagPDFJob.

Constructs a new AutotagPDFResult instance with the tagged PDF asset and report asset.

Parameters:
  • tagged_pdf (Asset) – tagged PDF asset

  • report (Asset) – report asset

  • resource (Asset) – resource asset

get_report()
Returns:

Returns report asset, if an internal asset was used as input PDF.

Return type:

Asset

get_resource()
Returns:

The zipped asset associated with the AutotagPDFJob result, if an external asset was used as input PDF.

Return type:

Asset

get_tagged_pdf()
Returns:

Returns tagged PDF asset, if an internal asset was used as input PDF.

Return type:

Asset

CombinePDFResult

class adobe.pdfservices.operation.pdfjobs.result.combine_pdf_result.CombinePDFResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of CombinePDFJob.

Constructs a new CombinePDFResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

CompressPDFResult

class adobe.pdfservices.operation.pdfjobs.result.compress_pdf_result.CompressPDFResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of CompressPDFJob

Constructs a new CompressPDFResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

CreatePDFResult

class adobe.pdfservices.operation.pdfjobs.result.create_pdf_result.CreatePDFResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of CreatePDFJob .

Constructs a new CreatePDFResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

DeletePagesResult

class adobe.pdfservices.operation.pdfjobs.result.delete_pages_result.DeletePagesResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of DeletePagesJob

Constructs a new DeletePagesResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

DocumentMergeResult

class adobe.pdfservices.operation.pdfjobs.result.document_merge_result.DocumentMergePDFResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of DocumentMergeJob

Constructs a new DocumentMergePDFResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

ESealPDFResult

class adobe.pdfservices.operation.pdfjobs.result.eseal_pdf_result.ESealPDFResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of PDFElectronicSealJob.

Constructs a new ESealPDFResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

ExportPDFResult

class adobe.pdfservices.operation.pdfjobs.result.export_pdf_result.ExportPDFResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of ExportPDFJob

Constructs a new ExportPDFResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

ExportPDFtoImagesResult

class adobe.pdfservices.operation.pdfjobs.result.export_pdf_to_images_result.ExportPDFtoImagesResult(assets: [])

Bases: PDFServicesJobResult

This class encapsulates the result of ExportPDFToImagesJob.

Constructs a new ExportPDFToImagesResult instance

Parameters:

assets (list) – List of result assets

get_assets()
Returns:

the list of result assets

Return type:

Asset

ExtractPDFResult

class adobe.pdfservices.operation.pdfjobs.result.extract_pdf_result.ExtractPDFResult(content: Asset, resource: Asset, content_json: {})

Bases: PDFServicesJobResult

This class encapsulates the result of ExtractPDFJob.

Constructs a new ExtractPDFResult instance with result content asset, resource asset and resource JSON object

Parameters:
  • content (Asset) – result content asset

  • resource (Asset) – result resource asset

  • content_json (dict) – result content json

get_content()
Returns:

Returns the content asset containing extracted content of PDF file, if an internal asset was used as input PDF.

Return type:

Asset

get_content_json()
Returns:

Returns the content json dictionary containing extracted content of PDF file, if an internal asset was used as input PDF.

Return type:

dict

get_resource()
Returns:

Returns the Asset of zip file containing generated resources from extract operation.

Return type:

Asset

HTMLtoPDFResult

class adobe.pdfservices.operation.pdfjobs.result.html_to_pdf_result.HTMLtoPDFResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of HTMLtoPDFJob

Constructs a new HTMLtoPDFResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

InsertPagesResult

class adobe.pdfservices.operation.pdfjobs.result.insert_pages_result.InsertPagesResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of InsertPagesJob

Constructs a new InsertPagesResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

LinearizePDFResult

class adobe.pdfservices.operation.pdfjobs.result.linearize_pdf_result.LinearizePDFResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of LinearizePDFJob

Constructs a new LinearizePDFResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

OCRPDFResult

class adobe.pdfservices.operation.pdfjobs.result.ocr_pdf_result.OCRPDFResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of OCRPDFJob<adobe.pdfservices.operation.pdfjobs.jobs.ocr_pdf_job.OCRPDFJob.

Constructs a new OCRPDFResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

PDFPropertiesResult

class adobe.pdfservices.operation.pdfjobs.result.pdf_properties_result.PDFPropertiesResult(pdf_properties_dict: str)

Bases: PDFServicesJobResult

This class encapsulates the result of PDFPropertiesJob.

Constructs a new PDFPropertiesResult instance with PDF Properties JSON string.

Parameters:

pdf_properties_dict (str) – PDF Properties JSON String

get_pdf_properties_dict()
Returns:

Returns PDF Properties JSON string.

Return type:

string

ProtectPDFResult

class adobe.pdfservices.operation.pdfjobs.result.protect_pdf_result.ProtectPDFResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of ProtectPDFJob.

Constructs a new ProtectPDFResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

RemoveProtectionResult

class adobe.pdfservices.operation.pdfjobs.result.remove_protection_result.RemoveProtectionResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of RemoveProtectionJob

Constructs a new RemoveProtectionResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

ReorderPagesResult

class adobe.pdfservices.operation.pdfjobs.result.reorder_pages_result.ReorderPagesResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of ReorderPagesJob.

Constructs a new ReorderPagesResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

ReplacePagesResult

class adobe.pdfservices.operation.pdfjobs.result.replace_page_result.ReplacePagesResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of ReplacePagesJob

Constructs a new ReplacePagesResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

RotatePagesResult

class adobe.pdfservices.operation.pdfjobs.result.rotate_pages_result.RotatePagesResult(asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of RotatePagesJob.

Constructs a new RotatePagesResult instance.

Parameters:

asset (Asset) – result asset

get_asset()
Returns:

the result Asset

Return type:

Asset

SplitPDFResult

class adobe.pdfservices.operation.pdfjobs.result.split_pdf_result.SplitPDFResult(assets: [], asset: Asset)

Bases: PDFServicesJobResult

This class encapsulates the result of SplitPDFJob.

Constructs a new SplitPDFResult instance

Parameters:
  • assets (list) – List of result assets

  • asset (Asset) – result asset, enclosing zipped output result

get_asset()
Returns:

The zipped asset associated with the SplitPDFJob result, if an external asset was used as input PDF.

Return type:

Asset

get_assets()
Returns:

Returns the list of result assets, if an internal asset was used as input PDF.

Return type:

list

PDFServicesJobResult

class adobe.pdfservices.operation.pdfjobs.result.pdf_services_job_result.PDFServicesJobResult

Bases: ABC

This is an abstract class that represents the PDFServicesJob PDFServicesJob result.

It will encapsulate the result of PDFServicesJob