UNPKG

@adobe/pdfservices-node-sdk

Version:

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

51 lines 2.14 kB
"use strict"; /* * Copyright 2024 Adobe * All Rights Reserved. * * NOTICE: Adobe permits you to use, modify, and distribute this file in * accordance with the terms of the Adobe license agreement accompanying * it. If you have received this file from a source other than Adobe, * then your use, modification, or distribution of it requires the prior * written permission of Adobe. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.PDFAccessibilityCheckerParams = void 0; const ValidationUtil_1 = require("../../../internal/util/ValidationUtil"); /** * Parameters for Accessibility Checker Operation in PDF using {@link PDFAccessibilityCheckerJob}. */ class PDFAccessibilityCheckerParams { /** * Constructs a new `PDFAccessibilityCheckerParams` instance. * * @param params The parameters for constructing an instance of `PDFAccessibilityCheckerParams`. * @param [params.pageStart] The page number from which the accessibility check should start. If not provided, * the first page is considered the default start page. It should be greater than equal to 1. * @param [params.pageEnd] The page number at which the accessibility check should end. If not provided, * the last page is considered the default end page. It should be greater than equal to 1. */ constructor(params) { ValidationUtil_1.ValidationUtil.validateAccessibilityCheckerParams(params); this._pageStart = params.pageStart; this._pageEnd = params.pageEnd; } /** * Returns the page number from which the accessibility check should start. * * @returns The page number from which the accessibility check should start. */ get pageStart() { return this._pageStart; } /** * Returns the page number at which the accessibility check should end. * * @returns The page number at which the accessibility check should end. */ get pageEnd() { return this._pageEnd; } } exports.PDFAccessibilityCheckerParams = PDFAccessibilityCheckerParams; //# sourceMappingURL=PDFAccessibilityCheckerParams.js.map