@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
28 lines • 944 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ToolboxOutline = void 0;
const index_1 = require("./../index");
class ToolboxOutline extends index_1.BaseToolbox {
constructor(data) {
super(data);
this.outline = index_1.ToolboxOutlineOutline.fromJson(data === null || data === void 0 ? void 0 : data.outline);
}
static getOutlineDescription() {
return "";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new ToolboxOutline(data);
}
toJson() {
var _a;
return Object.assign(Object.assign({}, (super.toJson())), { 'outline': (_a = this.outline) === null || _a === void 0 ? void 0 : _a.toJson() });
}
clone() {
return ToolboxOutline.fromJson(this.toJson());
}
}
exports.ToolboxOutline = ToolboxOutline;
//# sourceMappingURL=ToolboxOutline.js.map