Available as of Camel 2.16.0
The PDF: components provides the ability to create, modify or extract content from PDF documents. This component uses Apache PDFBox as underlying library to work with PDF documents.
In order to use the PDF component, Maven users will need to add the following dependency to their
The PDF component only supports producer endpoints.
Where operation is the specific action to perform with PDF document.
|Creates new PDF documents with the given text. With this operation message body type should be |
|Appends text to PDF document. Text will start on the new page. With this operation message body type should be |
|Extracts text from PDF document. The output type of this operation is |
|Sets the margin size in pixels between text and top edge of the page.|
|Sets the margin size in pixels between text and bottom edge of the page.|
|Sets the margin size in pixels between text and left edge of the page.|
|Sets the margin size in pixels between text and right edge of the page. This option is ignored when textProcessingFactory option is lineTermination.|
|Sets the font size in pixels.|
Sets the size of a page. Possible values
|One of the base fonts in PDFBox.|
|Sets the text processing factory. |
|Mandatory header for |
Expected type is ProtectionPolicy. If specified then PDF document will be encrypted with it.
Expected type is DecryptionMaterial. Mandatory header if PDF document is encrypted.