Class PDFMergeBlobsOperation
- java.lang.Object
-
- org.nuxeo.ecm.platform.pdf.operations.PDFMergeBlobsOperation
-
public class PDFMergeBlobsOperation extends Object
Merges Blobs into a single PDF.The blob(s) in input will always be the first blob(s), to which we append: (1) blobToAppendVarName, if used, then (2) toAppendListVarName if used.
- Since:
- 8.10
-
-
Field Summary
Fields Modifier and Type Field Description protected OperationContextctxprotected StringfileNamestatic StringIDprotected StringpdfAuthorprotected StringpdfSubjectprotected StringpdfTitleprotected StringtoAppendListVarNameprotected StringtoAppendVarName
-
Constructor Summary
Constructors Constructor Description PDFMergeBlobsOperation()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
toAppendVarName
protected String toAppendVarName
-
toAppendListVarName
protected String toAppendListVarName
-
fileName
protected String fileName
-
pdfTitle
protected String pdfTitle
-
pdfSubject
protected String pdfSubject
-
pdfAuthor
protected String pdfAuthor
-
-
Method Detail
-
run
public Blob run(Blob inBlob) throws NuxeoException
- Throws:
NuxeoException
-
run
public Blob run(BlobList inBlobs) throws NuxeoException
- Throws:
NuxeoException
-
doMerge
protected Blob doMerge(PDFMerge inMergeTool) throws NuxeoException
- Throws:
NuxeoException
-
-