Uses of Class
com.itextpdf.html2pdf.ConverterProperties
Package
Description
-
Uses of ConverterProperties in com.itextpdf.html2pdf
Modifier and TypeMethodDescriptionConverterProperties.setBaseUri
(String baseUri) Sets the base URI.ConverterProperties.setCharset
(String charset) Sets the encoding charset.ConverterProperties.setContinuousContainerEnabled
(boolean value) Sets continuous container support.ConverterProperties.setCreateAcroForm
(boolean createAcroForm) Sets the createAcroForm value.ConverterProperties.setCssApplierFactory
(ICssApplierFactory cssApplierFactory) Sets the CSS applier factory.ConverterProperties.setDocumentOutputIntent
(com.itextpdf.kernel.pdf.PdfOutputIntent outputIntent) Sets pdf document output intent (final destination device) to reproduce the color in the PDF.ConverterProperties.setEventMetaInfo
(com.itextpdf.commons.actions.contexts.IMetaInfo metaInfo) Sets html meta info.ConverterProperties.setFontProvider
(com.itextpdf.layout.font.FontProvider fontProvider) Sets the font provider.ConverterProperties.setImmediateFlush
(boolean immediateFlush) Set the immediate flush property of the layout document.ConverterProperties.setLimitOfLayouts
(int limitOfLayouts) Sets maximum number of layouts.ConverterProperties.setMediaDeviceDescription
(com.itextpdf.styledxmlparser.css.media.MediaDeviceDescription mediaDeviceDescription) Sets the media device description.ConverterProperties.setOutlineHandler
(OutlineHandler outlineHandler) Sets the outline handler.ConverterProperties.setPdfAConformance
(com.itextpdf.kernel.pdf.PdfAConformance conformance) Sets the generation and strictness level of the PDF/A that must be followed.ConverterProperties.setResourceRetriever
(com.itextpdf.styledxmlparser.resolver.resource.IResourceRetriever resourceRetriever) Sets the resource retriever.ConverterProperties.setTagWorkerFactory
(ITagWorkerFactory tagWorkerFactory) Sets the TagWorkerFactory.Modifier and TypeMethodDescriptionstatic com.itextpdf.layout.Document
HtmlConverter.convertToDocument
(InputStream htmlStream, com.itextpdf.kernel.pdf.PdfDocument pdfDocument, ConverterProperties converterProperties) Converts HTML obtained from anInputStream
to objects that will be added to aPdfDocument
, using specificConverterProperties
, returning aDocument
instance.static com.itextpdf.layout.Document
HtmlConverter.convertToDocument
(InputStream htmlStream, com.itextpdf.kernel.pdf.PdfWriter pdfWriter, ConverterProperties converterProperties) Converts HTML obtained from anInputStream
to content that will be written to aPdfWriter
, using specificConverterProperties
, returning aDocument
instance.static com.itextpdf.layout.Document
HtmlConverter.convertToDocument
(String html, com.itextpdf.kernel.pdf.PdfDocument pdfDocument, ConverterProperties converterProperties) Converts aString
containing HTML to objects that will be added to aPdfDocument
, using specificConverterProperties
, returning aDocument
instance.static com.itextpdf.layout.Document
HtmlConverter.convertToDocument
(String html, com.itextpdf.kernel.pdf.PdfWriter pdfWriter, ConverterProperties converterProperties) Converts aString
containing HTML to content that will be written to aPdfWriter
, using specificConverterProperties
, returning aDocument
instance.static List
HtmlConverter.convertToElements
(InputStream htmlStream, ConverterProperties converterProperties) Converts HTML obtained from anInputStream
to aList
of iText objects (IElement
instances), using specificConverterProperties
.static List
HtmlConverter.convertToElements
(String html, ConverterProperties converterProperties) Converts aString
containing HTML to aList
of iText objects (IElement
instances), using specificConverterProperties
.static void
HtmlConverter.convertToPdf
(File htmlFile, File pdfFile, ConverterProperties converterProperties) static void
HtmlConverter.convertToPdf
(InputStream htmlStream, com.itextpdf.kernel.pdf.PdfDocument pdfDocument, ConverterProperties converterProperties) Converts HTML obtained from anInputStream
to objects that will be added to aPdfDocument
, using specificConverterProperties
.static void
HtmlConverter.convertToPdf
(InputStream htmlStream, com.itextpdf.kernel.pdf.PdfWriter pdfWriter, ConverterProperties converterProperties) Converts HTML obtained from anInputStream
to content that will be written to aPdfWriter
, using specificConverterProperties
.static void
HtmlConverter.convertToPdf
(InputStream htmlStream, OutputStream pdfStream, ConverterProperties converterProperties) Converts HTML obtained from anInputStream
to a PDF written to anOutputStream
.static void
HtmlConverter.convertToPdf
(String html, com.itextpdf.kernel.pdf.PdfDocument pdfDocument, ConverterProperties converterProperties) Converts aString
containing HTML to objects that will be added to aPdfDocument
, using specificConverterProperties
.static void
HtmlConverter.convertToPdf
(String html, com.itextpdf.kernel.pdf.PdfWriter pdfWriter, ConverterProperties converterProperties) Converts aString
containing HTML to PDF by writing PDF content to aPdfWriter
instance, using specificConverterProperties
.static void
HtmlConverter.convertToPdf
(String html, OutputStream pdfStream, ConverterProperties converterProperties) Converts aString
containing HTML to anOutputStream
containing PDF, using specificConverterProperties
.static ProcessorContext
ProcessorContextCreator.createProcessorContext
(ConverterProperties converterProperties) Crates ProcessorContext instances with IMetaInfo.ModifierConstructorDescriptionInstantiates a newConverterProperties
instance based on anotherConverterProperties
instance (copy constructor). -
Uses of ConverterProperties in com.itextpdf.html2pdf.attach
Modifier and TypeMethodDescriptionstatic List
Attacher.attach
(com.itextpdf.styledxmlparser.node.IDocumentNode documentNode, ConverterProperties converterProperties) Attaches the HTML content stored in a document node to a list ofIElement
objects.static com.itextpdf.layout.Document
Attacher.attach
(com.itextpdf.styledxmlparser.node.IDocumentNode documentNode, com.itextpdf.kernel.pdf.PdfDocument pdfDocument, ConverterProperties converterProperties) Attaches the HTML content stored in a document node to an existing PDF document, using specific converter properties, and returning an iTextDocument
object.ModifierConstructorDescriptionProcessorContext
(ConverterProperties converterProperties) Instantiates a newProcessorContext
instance. -
Uses of ConverterProperties in com.itextpdf.html2pdf.attach.impl
ModifierConstructorDescriptionDefaultHtmlProcessor
(ConverterProperties converterProperties) Instantiates a new default html processor.