UNPKG

@adobe/pdftools-extract-node-sdk

Version:

The Document Services PDF Tools Extract Node.js SDK provides APIs for extracting elements and renditions from PDF

39 lines (31 loc) 904 B
/* * Copyright 2019 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. */ class OperationMessage { constructor(sourceFileRefs, targetFileName, operationName){ this.sourceFileRefs = sourceFileRefs; this.targetFileName = targetFileName; //operationName is only used for logging purpose. this.operationName = operationName; } setIncludeRanges(value) { this.includeRanges = value; } setOptions(value) { this.options = value; } setTargetFormat(value) { this.targetFormat = value; } setBaseFileRef(value) { this.baseFileRef = value; } } module.exports = OperationMessage;