Package | Description |
---|---|
com.itextpdf.kernel.pdf |
Modifier and Type | Field and Description |
---|---|
protected WriterProperties |
PdfWriter.properties |
Modifier and Type | Method and Description |
---|---|
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.useDebugMode()
This activates debug mode with pdfDebug tool.
|
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.
|
Copyright © 1998–2017 iText Group NV. All rights reserved.