Uses of Class
com.itextpdf.kernel.pdf.WriterProperties
-
Uses of WriterProperties in com.itextpdf.kernel.pdf
Modifier and TypeMethodDescriptionWriterProperties.addPdfAXmpMetadata
(PdfAConformance aConformance) Adds PDF/A XMP metadata to the PDF document.WriterProperties.addPdfUaXmpMetadata
(PdfUAConformance uaConformance) Adds PDF/UA XMP metadata to the PDF document.WriterProperties.addXmpMetadata()
If true, default XMPMetadata based onPdfDocumentInfo
will be added.PdfWriter.getProperties()
Gets the writer properties.WriterProperties.setCompressionLevel
(int compressionLevel) Defines the level of compression for the document.WriterProperties.setFullCompressionMode
(boolean fullCompressionMode) Defines if full compression mode is enabled.WriterProperties.setInitialDocumentId
(PdfString initialDocumentId) The /ID entry of a document contains an array with two entries.WriterProperties.setModifiedDocumentId
(PdfString modifiedDocumentId) The /ID entry of a document contains an array with two entries.WriterProperties.setPdfVersion
(PdfVersion version) Defines pdf version for the created document.WriterProperties.setPublicKeyEncryption
(Certificate[] certs, int[] permissions, int encryptionAlgorithm) Sets the certificate encryption options for the document.WriterProperties.setPublicKeyEncryption
(Certificate[] certs, int[] permissions, int encryptionAlgorithm, MacProperties macProperties) Sets the certificate encryption options for the document.WriterProperties.setStandardEncryption
(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionAlgorithm) Sets the encryption options for the document.WriterProperties.setStandardEncryption
(byte[] userPassword, byte[] ownerPassword, int permissions, int encryptionAlgorithm, MacProperties macProperties) Sets the encryption options for the document.WriterProperties.useSmartMode()
Enables smart mode.ModifierConstructorDescriptionPdfWriter
(OutputStream os, WriterProperties properties) CreatesPdfWriter
instance, which writes to the passedOutputStream
, using providedWriterProperties
.PdfWriter
(String filename, WriterProperties properties) Create a PdfWriter writing to the passed filename and using the passed writer properties. -
Uses of WriterProperties in com.itextpdf.kernel.utils
Modifier and TypeMethodDescriptionstatic PdfWriter
CompareTool.createTestPdfWriter
(String filename, WriterProperties properties) CreatePdfWriter
optimized for tests. -
Uses of WriterProperties in com.itextpdf.svg.converter
Modifier and TypeMethodDescriptionstatic void
SvgConverter.createPdf
(File svgFile, File pdfFile, WriterProperties writerProps) static void
SvgConverter.createPdf
(File svgFile, File pdfFile, ISvgConverterProperties props, WriterProperties writerProps) Converts SVG stored in aFile
to a PDFFile
, using specificISvgConverterProperties
andWriterProperties
.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 logicstatic 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