Package | Description |
---|---|
com.itextpdf.kernel.pdf | |
com.itextpdf.svg.converter |
Modifier and Type | Field and Description |
---|---|
protected WriterProperties |
PdfWriter.properties |
Modifier and Type | Method and Description |
---|---|
WriterProperties |
WriterProperties.addUAXmpMetadata()
This method marks the document as PDF/UA and sets related flags is XMPMetaData.
|
WriterProperties |
WriterProperties.addXmpMetadata()
If true, default XMPMetadata based on PdfDocumentInfo will be added.
|
WriterProperties |
WriterProperties.setCompressionLevel(int compressionLevel)
Defines the level of compression for the document.
|
WriterProperties |
WriterProperties.setFullCompressionMode(boolean fullCompressionMode)
Defines if full compression mode is enabled.
|
WriterProperties |
WriterProperties.setInitialDocumentId(PdfString initialDocumentId)
The /ID entry of a document contains an array with two entries.
|
WriterProperties |
WriterProperties.setModifiedDocumentId(PdfString modifiedDocumentId)
The /ID entry of a document contains an array with two entries.
|
WriterProperties |
WriterProperties.setPdfVersion(PdfVersion version)
Defines pdf version for the created document.
|
WriterProperties |
WriterProperties.setPublicKeyEncryption(Certificate[] certs, int[] permissions, int encryptionAlgorithm)
Sets the certificate encryption options for the document.
|
WriterProperties |
WriterProperties.setStandardEncryption(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionAlgorithm)
Sets the encryption options for the document.
|
WriterProperties |
WriterProperties.useSmartMode()
Enables smart mode.
|
Constructor and Description |
---|
PdfWriter(OutputStream os, WriterProperties properties) |
PdfWriter(String filename, WriterProperties properties)
Create a PdfWriter writing to the passed filename and using the passed writer properties.
|
Modifier and Type | Method and Description |
---|---|
static void |
SvgConverter.createPdf(File svgFile, File pdfFile, ISvgConverterProperties props, WriterProperties writerProps)
Converts SVG stored in a File to a PDF File , using specific ISvgConverterProperties and WriterProperties .
|
static void |
SvgConverter.createPdf(File svgFile, File pdfFile, WriterProperties writerProps)
|
static void |
SvgConverter.createPdf(InputStream svgStream, OutputStream pdfDest, ISvgConverterProperties props, WriterProperties writerProps)
Create a single page pdf containing the SVG on its page using the default processing and drawing logic
|
static void |
SvgConverter.createPdf(InputStream svgStream, OutputStream pdfDest, WriterProperties writerProps)
Create a single page pdf containing the SVG on its page using the default processing and drawing logic
|
Copyright © 1998–2022 iText Group NV. All rights reserved.