Interface PDFTransformationService
- All Known Implementing Classes:
PDFTransformationServiceImpl
public interface PDFTransformationService
- Since:
- 8.10
-
Method Summary
Modifier and TypeMethodDescriptionapplyImageWatermark
(Blob input, Blob watermark, WatermarkProperties properties) Add an Image watermark to the input PDF blobapplyTextWatermark
(Blob input, String text, WatermarkProperties properties) Add a text watermark to the input PDF bloboverlayPDF
(Blob input, Blob overlayBlob) Overlay a PDF file on top of the input Blob
-
Method Details
-
getDefaultProperties
WatermarkProperties getDefaultProperties()- Returns:
- the watermark default properties
-
applyTextWatermark
Add a text watermark to the input PDF blob- Parameters:
input
- A PDF blobtext
- The text to use for the watermarkproperties
- the properties of the watermark- Returns:
- a new PDF file
-
applyImageWatermark
Add an Image watermark to the input PDF blob- Parameters:
input
- A PDF blobwatermark
- The image to use for the watermarkproperties
- the properties of the watermark- Returns:
- a new PDF file
-
overlayPDF
Overlay a PDF file on top of the input Blob- Parameters:
input
- The original PDF fileoverlayBlob
- The PDF file to overlay on top inBlob- Returns:
- a new PDF file
-