pdf_output
Last updated
Was this helpful?
Last updated
Was this helpful?
(plugins.pdf_output)
The PDF Output
plugin allows for creating, manipulating, and enhancing PDF files. It includes functionalities such as combining multiple PDFs, adding overlays or watermarks, numbering pages, and encrypting documents with password protection and custom permissions. The plugin supports working with both regular and protected PDFs and provides options for customizing fonts, colors, and layout elements during PDF manipulations.
For further details on working with PDF files using this plugin, refer to the .
Combine multiple PDF docs into one.
Combine multiple protected PDF docs into one.
Convert a PDF form to a PDF document.
Convert a PDF form to a PDF document.
Convert a protected PDF form to a PDF document.
Convert a protected PDF form to a PDF document.
Add password protection and security options to the PDF
Add password protection and security options to the PDF
Add password protection and security options to the PDF
Add password protection and security options to the PDF
Add password protection and security options to the PDF
Returns the number of pages for pdf document.
Create a thumbnail from the provided PDF
Create a thumbnail from the provided PDF
Create a thumbnail from the provided PDF
Add pages numbers to a PDF
Add pages numbers to a PDF
Add some PDF based content over a PDF
Add some PDF based content over a PDF
Add some PDF based content over a PDF
Add some PDF based content over a PDF
Add text over every page at a 45 degree angle
Add text over every page at a 45 degree angle
Add text over every page at a 45 degree angle
Add an image as a watermark on every page, or the pages specified as a parameter
Add an image as a watermark on every page, or the pages specified as a parameter
Add an image as a watermark on every page, or the pages specified as a parameter
Combine multiple PDF docs into one. Note: this function may fail when creating large PDF files due to lack of available heap memory. To compensate, please configure the application server with more heap memory via -Xmx parameter.
Parameters
Sample
Combine multiple protected PDF docs into one. Note: this function may fail when creating large PDF files due to lack of available heap memory. To compensate, please configure the application server with more heap memory via -Xmx parameter.
Parameters
Sample
Convert a PDF form to a PDF document. By default, all fields of the pdf form will be flattened.
Parameters
Sample
Convert a PDF form to a PDF document. The PDF form can be have all the fields flattened or just the fields specified by values.
Parameters
Sample
Convert a protected PDF form to a PDF document. By default, all fields of the pdf form will be flattened.
Parameters
Sample
Convert a protected PDF form to a PDF document. Can specify if all fields or just specified fields will be flattened.
Parameters
Sample
Add password protection and security options to the PDF
Parameters
Sample
Add password protection and security options to the PDF
Parameters
Sample
Add password protection and security options to the PDF
Parameters
Sample
Add password protection and security options to the PDF
Parameters
Sample
Add password protection and security options to the PDF
Parameters
Sample
Returns the number of pages for pdf document.
Parameters
Sample
Create a thumbnail from the provided PDF
Parameters
Sample
Create a thumbnail from the provided PDF
Parameters
Sample
Create a thumbnail from the provided PDF
Parameters
Sample
Add pages numbers to a PDF
Parameters
Sample
Add pages numbers to a PDF
Parameters
Sample
Add some PDF based content over a PDF
Parameters
Sample
Add some PDF based content over a PDF
Parameters
Sample
Add some PDF based content over a PDF
Parameters
Sample
Add some PDF based content over a PDF
Parameters
Sample
Add text over every page at a 45 degree angle
Parameters
Sample
Add text over every page at a 45 degree angle
Parameters
Sample
Add text over every page at a 45 degree angle
Parameters
Sample
Add an image as a watermark on every page, or the pages specified as a parameter
Parameters
Sample
Add an image as a watermark on every page, or the pages specified as a parameter
Parameters
Add an image as a watermark on every page, or the pages specified as a parameter
Parameters
pdf_docs_bytearrays the array of documents to combine
Returns: the combined PDF document as a byte array, or null if the input array is empty or invalid.
pdf_docs_bytearrays the array of documents to combine
pdf_docs_passwords an array of passwords to use
Returns: the combined PDF document as a byte array, or null if the input array is empty or invalid.
pdf_form the PDF Form to convert
field_values the values to use
Returns: the flattened PDF document as a byte array, or null in case of an error.
pdf_form the PDF Form to convert
field_values the values to use. If partialFlattening is true, only these fields will be flattened.
partialFlattening if true, only flatten the fields set as values, the rest remain unchanged
Returns: the flattened PDF document as a byte array, or null in case of an error.
pdf_form the PDF Form to convert
pdf_password the password to use
field_values the field values to use
Returns: the flattened PDF document as a byte array, or null in case of an error.
pdf_form the PDF Form to convert
pdf_password the password to use
field_values the field values to use. If partialFlattening is true, only these fields will be flattened.
partialFlattening if true, only flatten the fields set as values, the rest remain unchanged
Returns: the flattened PDF document as a byte array, or null in case of an error. If partialFlattening is true, only the specified fields are flattened, while others remain interactive.
data the PDF
ownerPassword the owner password
Returns: the encrypted PDF
data the PDF
ownerPassword the owner password
userPassword the user password
Returns: the encrypted PDF
data the PDF
ownerPassword the owner password
userPassword the user password
allowAssembly whether to set the allow assembly permission
allowCopy whether to set the allow copy permission
allowDegradedPrinting whether to set the allow degraded printing permission
allowFillIn whether to set the allow fill in permission
allowModifyAnnotations whether to set the allow modify annotations permission
allowModifyContents whether to set the allow modify contents permission
allowPrinting whether to set the allow printing permission
allowScreenreaders whether to set the allow screen readers permission
Returns: the encrypted PDF
data the PDF
ownerPassword the owner password
userPassword the user password
allowAssembly whether to set the allow assembly permission
allowCopy whether to set the allow copy permission
allowDegradedPrinting whether to set the allow degraded printing permission
allowFillIn whether to set the allow fill in permission
allowModifyAnnotations whether to set the allow modify annotations permission
allowModifyContents whether to set the allow modify contents permission
allowPrinting whether to set the allow printing permission
allowScreenreaders whether to set the allow screen readers permission
is128bit whether to use 128-bit encryption
Returns: the encrypted PDF
data the PDF
ownerPassword the owner password
userPassword the user password
allowAssembly whether to set the allow assembly permission
allowCopy whether to set the allow copy permission
allowDegradedPrinting whether to set the allow degraded printing permission
allowFillIn whether to set the allow fill in permission
allowModifyAnnotations whether to set the allow modify annotations permission
allowModifyContents whether to set the allow modify contents permission
allowPrinting whether to set the allow printing permission
allowScreenreaders whether to set the allow screen readers permission
is128bit whether to use 128-bit encryption
metaData a JavaScript object (Scriptable) that contains the metadata as property/value pairs
Returns: the encrypted PDF
data the PDF
Returns: the number of pages of the PDF document
data the PDF
Returns: the PDF thumbnail as PNG format
data the PDF
pageNumber PDF page to get thumbnail of. This parameter is zero based index.
Returns: the PDF thumbnail as PNG format
data the PDF
pageNumber PDF page to get thumbnail of. This parameter is zero based index.
dpi resolution used to render the thumbnail image
Returns: the PDF thumbnail as PNG format
data the PDF
Returns: the PDF with numbered pages
data the PDF
fontSize the font size to use
locationX the x location of the numbers
locationY the y location of the numbers
font the font to use
hexColor the font color to use
Returns: the PDF with numbered pages
data the PDF
forOverlay a PDF to use as overlay
Returns: the PDF with added overlay
data the PDF
forOverlay a PDF to use as overlay
isOver whether the overlay will be put over the content
Returns: the PDF with added overlay
data the PDF
forOverlay a PDF to use as overlay
isOver whether the overlay will be put over the content
pages an array of page numbers to put the overlay on
Returns: the PDF with added overlay
data the PDF
forOverlay a PDF to use as overlay
pages an array of page numbers to put the overlay on
Returns: the PDF with added overlay
data the PDF
text the text to use for the overlay
Returns: the PDF with added overlay
data the PDF
text the text to use for the overlay
locationX the x location of the overlay
locationY the y location of the overlay
isOver whether to put the overlay over the content
fontSize the font size to use
font the font to use
hexColor the font color to use
Returns: the PDF with added overlay
data the PDF
text the text to use for the overlay
locationX the x location of the overlay
locationY the y location of the overlay
isOver whether to put the overlay over the content
fontSize the font size to use
font the font to use
hexColor the font color to use
angle the angle of the overlay
Returns: the PDF with added overlay
data the PDF
image the path of an image to use or array of bytes containing actual image
Returns: the PDF with added watermak
data the PDF
image the path of an image to use or array of bytes containing actual image
locationX the x location of the image
locationY the y location of the image
isOver whether to put over the content
Returns: the PDF with added watermak
data the PDF
image the path of an image to use or array of bytes containing actual image
locationX the x location of the image
locationY the y location of the image
isOver whether to put over the content
pages an array of pages where to apply the watermark
Returns: the PDF with added watermak