Class Pdf2PdfConverter
- java.lang.Object
-
- de.xima.fc.transform.pdf.convert.text.Pdf2PdfConverter
-
- All Implemented Interfaces:
IPdfConverter
public class Pdf2PdfConverter extends Object implements IPdfConverter
Aspose basedIPdfConverter
implementation for PDF documents. The only supported conversion parameter isPdfConversionParams.ParamNames.TARGET_PAGE_FORMAT
(default isETargetPageFormat.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).- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description Pdf2PdfConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
convert(InputStream is, OutputStream os, PdfConversionParams conversionParams)
-
-
-
Method Detail
-
convert
public void convert(InputStream is, OutputStream os, PdfConversionParams conversionParams)
- Specified by:
convert
in interfaceIPdfConverter
- Parameters:
is
- the input stream providing the source dataos
- the output stream for the resulting PDF dataconversionParams
- parameters for the conversion
-
-