UNPKG

@softvision/webpdf-wsclient-typescript

Version:

A simplified and optimized API client library for the webPDF server

31 lines 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConverterOfficeForm = void 0; class ConverterOfficeForm { constructor(data) { let enabledDefault = true; this.enabled = typeof (data === null || data === void 0 ? void 0 : data.enabled) !== "undefined" ? data === null || data === void 0 ? void 0 : data.enabled : enabledDefault; } static getEnabledDefault() { return true; } static getEnabledDescription() { return "If \"true,\" content elements that define forms are converted into an AcroForm. Otherwise, the elements are converted as normal content."; } static fromJson(data) { if (data === undefined || data === null) { return data; } return new ConverterOfficeForm(data); } toJson() { return { 'enabled': this.enabled, }; } clone() { return ConverterOfficeForm.fromJson(this.toJson()); } } exports.ConverterOfficeForm = ConverterOfficeForm; //# sourceMappingURL=ConverterOfficeForm.js.map