public interface PDFTransformationService
Modifier and Type | Method and Description |
---|---|
Blob |
applyImageWatermark(Blob input,
Blob watermark,
WatermarkProperties properties)
Add an Image watermark to the input PDF blob
|
Blob |
applyTextWatermark(Blob input,
String text,
WatermarkProperties properties)
Add a text watermark to the input PDF blob
|
WatermarkProperties |
getDefaultProperties() |
Blob |
overlayPDF(Blob input,
Blob overlayBlob)
Overlay a PDF file on top of the input Blob
|
WatermarkProperties getDefaultProperties()
Blob applyTextWatermark(Blob input, String text, WatermarkProperties properties)
input
- A PDF blobtext
- The text to use for the watermarkproperties
- the properties of the watermarkBlob applyImageWatermark(Blob input, Blob watermark, WatermarkProperties properties)
input
- A PDF blobwatermark
- The image to use for the watermarkproperties
- the properties of the watermarkBlob overlayPDF(Blob input, Blob overlayBlob)
input
- The original PDF fileoverlayBlob
- The PDF file to overlay on top inBlobCopyright © 2018 Nuxeo. All rights reserved.