Platform Explorer / Nuxeo Platform 6.0

Operation Blob.ConcatenatePDFs

Concatenate PDFs

Description

Given a File document holding a pdf on the file:content property and 2 pdfs on the files:files property, the following operation will provide a pdf that is the result of the merge of all the pdfs, with the content of the one in file:content property first.
Operation id Blob.ConcatenatePDFs
Category Conversion
Label Concatenate PDFs
Requires
Since

Parameters

Name Description Type Required Default value
filename string yes  
blob_to_append string no  

Signature

Inputs bloblist, blob
Outputs blob, blob

Implementation information

Implementation class org.nuxeo.ecm.automation.core.operations.blob.ConcatenatePDFs
Contributing component org.nuxeo.ecm.core.automation.coreContrib

JSON definition

{
  "id" : "Blob.ConcatenatePDFs",
  "label" : "Concatenate PDFs",
  "category" : "Conversion",
  "requires" : null,
  "description" : "Given a File document holding a pdf on the file:content property and 2 pdfs on the files:files property, the following operation will provide a pdf that is the result of the merge of all the pdfs, with the content of the one in file:content property first.",
  "url" : "Blob.ConcatenatePDFs",
  "signature" : [ "bloblist", "blob", "blob", "blob" ],
  "params" : [ {
    "name" : "filename",
    "description" : "The merge pdf result filename.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "blob_to_append",
    "description" : "Optional blob reference in context to append in first place.",
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}