PDF

PDF

Scheme: pdf
Name Kind Type Required Deprecated Default Value Enum Values Description
operation path org.apache.camel.component.pdf.PdfOperation true false create
append
extractText
Operation type
marginTop parameter int false 20 Margin top in pixels
marginBottom parameter int false 20 Margin bottom in pixels
marginLeft parameter int false 20 Margin left in pixels
marginRight parameter int false 40 Margin right in pixels
fontSize parameter float false 14 Font size in pixels
pageSize parameter org.apache.pdfbox.pdmodel.common.PDRectangle false PAGE_SIZE_A4 PAGE_SIZE_A0
PAGE_SIZE_A1
PAGE_SIZE_A2
PAGE_SIZE_A3
PAGE_SIZE_A4
PAGE_SIZE_A5
PAGE_SIZE_A6
PAGE_SIZE_LETTER
Page size
font parameter org.apache.pdfbox.pdmodel.font.PDFont false Helvetica Font
textProcessingFactory parameter org.apache.camel.component.pdf.TextProcessingFactory false lineTermination autoFormatting
lineTermination
Text processing to use.
  • autoFormatting: Text is getting sliced by words, then max amount of words that fits in the line will be written into pdf document. With this strategy all words that doesn't fit in the line will be moved to the new line.
  • lineTermination: Builds set of classes for line-termination writing strategy. Text getting sliced by line termination symbol and then it will be written regardless it fits in the line or not.
exchangePattern parameter org.apache.camel.ExchangePattern false InOnly InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter boolean false false Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).