Class PDFMerge


  • public class PDFMerge
    extends Object
    Merge several PDFs in one.

    Basically, the caller adds blobs and then merge(). The PDFs are merged in the order they were added.

    The class accepts misc parameters: Single Blob, BlobList, single DocumentModel, DocumentModelList or a list of IDs of DocumentModel

    Notice: These are nuxeo Blob, BlobList, etc.

    When a DocumentModel is used, the code may expect an xpath to extract the blob from the document. When the xpath parameter is not used (null or ""), the default file:content xpath is used.

    To let the caller be generic, it's ok to pass a null blob, so it is just ignored.

    Since:
    8.10