devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
28 lines (27 loc) • 920 B
JavaScript
export class PdfSettings {
_pdfDocument = window.PDFDocument;
_blobStream = window.BlobStream;
get pdfDocument() { return this._pdfDocument ? this._pdfDocument : window.PDFDocument; }
;
set pdfDocument(val) { this._pdfDocument = val; }
;
get blobStream() { return this._blobStream ? this._blobStream : window.BlobStream; }
;
set blobStream(val) { this._blobStream = val; }
;
pdfKitScriptUrl;
exportUrl;
convertImageToCompatibleFormat;
copyFrom(obj) {
this._pdfDocument = obj.pdfDocument;
this._blobStream = obj.blobStream;
this.exportUrl = obj.exportUrl;
this.pdfKitScriptUrl = obj.pdfKitScriptUrl;
this.convertImageToCompatibleFormat = obj.convertImageToCompatibleFormat;
}
clone() {
const result = new PdfSettings();
result.copyFrom(this);
return result;
}
}