UNPKG

@adobe/pdfservices-node-sdk

Version:

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

38 lines (37 loc) 1.28 kB
import { PDFServicesJobResult } from "./PDFServicesJobResult"; import { Asset } from "../../io/Asset"; /** * This class encapsulates the result of {@link AutotagPDFJob}. */ export declare class AutotagPDFResult implements PDFServicesJobResult { private readonly _taggedPDF?; private readonly _report?; private readonly _resource?; /** * Constructs a new `AutotagPDFResult` instance with the tagged PDF asset and report asset. * * @param [taggedPDF] - The tagged PDF asset * @param [report] - The report asset * @param [resource] - The zipped asset associated with the {@link AutotagPDFJob} result */ constructor(taggedPDF?: Asset, report?: Asset, resource?: Asset); /** * Returns tagged PDF asset, if an internal asset was used as input PDF. * * @returns {@link Asset} */ get taggedPDF(): Asset | undefined; /** * Returns report asset, if an internal asset was used as input PDF. * * @returns {@link Asset} */ get report(): Asset | undefined; /** * Returns the zipped asset associated with the {@link AutotagPDFJob} result, * if an external asset was used as input PDF. * * @returns {@link Asset} */ get resource(): Asset | undefined; }