Class Pdf2PdfConverter
java.lang.Object
de.xima.fc.transform.pdf.convert.text.Pdf2PdfConverter
- All Implemented Interfaces:
IPdfConverter
Aspose and Apache PDFBox based
IPdfConverter implementation for PDF documents. The only supported conversion
parameter is PdfConversionParams.ParamNames.TARGET_PAGE_FORMAT (default is ETargetPageFormat.AUTO
which means 'use the same page format as the source document'). The intention of this converter is to 'flatten' form
elements and remove potentially dangerous stuff from the source PDF (e.g. scripts). Due to some cases where Aspoe
fails, this is done by combining functionality provided by Appache PDFBox and Aspose PDF.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvert(InputStream is, OutputStream os, PdfConversionParams conversionParams)
-
Constructor Details
-
Pdf2PdfConverter
public Pdf2PdfConverter()
-
-
Method Details
-
convert
- Specified by:
convertin interfaceIPdfConverter- Parameters:
is- the input stream providing the source dataos- the output stream for the resulting PDF dataconversionParams- parameters for the conversion
-