UNPKG

@adobe/pdfservices-node-sdk

Version:

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

35 lines (34 loc) 1.4 kB
import { PDFServicesJobParams } from "../PDFServicesJobParams"; import { DocumentLanguage } from "./DocumentLanguage"; /** * Marker base class for {@link CreatePDFJob} params. * The factory methods within this class can be used to create instances of params classes corresponding to the source * media type. */ export declare class CreatePDFParams implements PDFServicesJobParams { private readonly _documentLanguage?; private readonly _createTaggedPDF?; /** * Constructs a new `CreatePDFParams` instance. * * @param params The parameters for constructing an instance of `CreatePDFParams`. * @param [params.documentLanguage] Specifies the default language for the input non-PDF document. * In absence of font info within file’s content, an appropriate font is chosen on its basis. * @param [params.createTaggedPDF] Whether to create a tagged PDF. The default value is `false`. * For internal use only. */ constructor(params: { documentLanguage?: DocumentLanguage; createTaggedPDF?: boolean; }); /** * Returns the language of the input document. * * @returns the language of the input document */ get documentLanguage(): string | undefined; /** * @internal Used internally by this SDK, not intended to be called by clients. */ get createTaggedPDF(): boolean | undefined; }