Uses of Class
com.itextpdf.text.Document
-
Packages that use Document Package Description com.itextpdf.text com.itextpdf.text.api Interfaces for high level PDF objects.com.itextpdf.text.pdf com.itextpdf.text.pdf.events com.itextpdf.tool.xml XMLWorker package provides a framework to parse XML to PDF with iText.com.itextpdf.tool.xml.pipeline.end Contains pipelines that can be used as last pipe in the line. -
-
Uses of Document in com.itextpdf.text
Fields in com.itextpdf.text declared as Document Modifier and Type Field Description protected DocumentDocWriter. documentThis is the document that has to be written.Constructors in com.itextpdf.text with parameters of type Document Constructor Description DocWriter(Document document, java.io.OutputStream os)Constructs aDocWriter. -
Uses of Document in com.itextpdf.text.api
Methods in com.itextpdf.text.api with parameters of type Document Modifier and Type Method Description voidWriterOperation. write(PdfWriter writer, Document doc)Receive a writer and the document to do certain operations on them. -
Uses of Document in com.itextpdf.text.pdf
Subclasses of Document in com.itextpdf.text.pdf Modifier and Type Class Description classPdfDocumentPdfDocumentis the class that is used byPdfWriterto translate aDocumentinto a PDF with different pages.Fields in com.itextpdf.text.pdf declared as Document Modifier and Type Field Description protected DocumentPdfConcatenate. documentThe Document object for PdfCopy.(package private) DocumentPdfCopyFieldsImp. ndDeprecated.Methods in com.itextpdf.text.pdf with parameters of type Document Modifier and Type Method Description static PdfAWriterPdfAWriter. getInstance(Document document, java.io.OutputStream os, DocListener listener, PdfAConformanceLevel conformanceLevel)Use this method to get an instance of thePdfWriter.static PdfAWriterPdfAWriter. getInstance(Document document, java.io.OutputStream os, PdfAConformanceLevel conformanceLevel)Use this method to get an instance of thePdfWriter.static PdfWriterPdfWriter. getInstance(Document document, java.io.OutputStream os)Use this method to get an instance of thePdfWriter.static PdfWriterPdfWriter. getInstance(Document document, java.io.OutputStream os, DocListener listener)Use this method to get an instance of thePdfWriter.voidPdfPageEvent. onChapter(PdfWriter writer, Document document, float paragraphPosition, Paragraph title)Called when a Chapter is written.voidPdfPageEventHelper. onChapter(PdfWriter writer, Document document, float paragraphPosition, Paragraph title)Called when a Chapter is written.voidPdfPageEvent. onChapterEnd(PdfWriter writer, Document document, float paragraphPosition)Called when the end of a Chapter is reached.voidPdfPageEventHelper. onChapterEnd(PdfWriter writer, Document document, float position)Called when the end of a Chapter is reached.voidPdfPageEvent. onCloseDocument(PdfWriter writer, Document document)Called when the document is closed.voidPdfPageEventHelper. onCloseDocument(PdfWriter writer, Document document)Called when the document is closed.voidPdfPageEvent. onEndPage(PdfWriter writer, Document document)Called when a page is finished, just before being written to the document.voidPdfPageEventHelper. onEndPage(PdfWriter writer, Document document)Called when a page is finished, just before being written to the document.voidPdfPageEvent. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)Called when aChunkwith a generic tag is written.voidPdfPageEventHelper. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)Called when aChunkwith a generic tag is written.voidPdfPageEvent. onOpenDocument(PdfWriter writer, Document document)Called when the document is opened.voidPdfPageEventHelper. onOpenDocument(PdfWriter writer, Document document)Called when the document is opened.voidPdfPageEvent. onParagraph(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEventHelper. onParagraph(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEvent. onParagraphEnd(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEventHelper. onParagraphEnd(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEvent. onSection(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title)Called when a Section is written.voidPdfPageEventHelper. onSection(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title)Called when a Section is written.voidPdfPageEvent. onSectionEnd(PdfWriter writer, Document document, float paragraphPosition)Called when the end of a Section is reached.voidPdfPageEventHelper. onSectionEnd(PdfWriter writer, Document document, float position)Called when the end of a Section is reached.voidPdfPageEvent. onStartPage(PdfWriter writer, Document document)Called when a page is initialized.voidPdfPageEventHelper. onStartPage(PdfWriter writer, Document document)Called when a page is initialized.private voidPdfStructureElement. writeAttributes(Document document)Constructors in com.itextpdf.text.pdf with parameters of type Document Constructor Description PdfACopy(Document document, java.io.OutputStream os, PdfAConformanceLevel conformanceLevel)ConstructorPdfASmartCopy(Document document, java.io.OutputStream os, PdfAConformanceLevel conformanceLevel)ConstructorPdfCopy(Document document, java.io.OutputStream os)ConstructorPdfSmartCopy(Document document, java.io.OutputStream os)Creates a PdfSmartCopy instance. -
Uses of Document in com.itextpdf.text.pdf.events
Methods in com.itextpdf.text.pdf.events with parameters of type Document Modifier and Type Method Description voidPdfPageEventForwarder. onChapter(PdfWriter writer, Document document, float paragraphPosition, Paragraph title)Called when a Chapter is written.voidPdfPageEventForwarder. onChapterEnd(PdfWriter writer, Document document, float position)Called when the end of a Chapter is reached.voidPdfPageEventForwarder. onCloseDocument(PdfWriter writer, Document document)Called when the document is closed.voidPdfPageEventForwarder. onEndPage(PdfWriter writer, Document document)Called when a page is finished, just before being written to the document.voidFieldPositioningEvents. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)voidIndexEvents. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)All the text that is passed to this event, gets registered in the indexentry.voidPdfPageEventForwarder. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)Called when aChunkwith a generic tag is written.voidPdfPageEventForwarder. onOpenDocument(PdfWriter writer, Document document)Called when the document is opened.voidPdfPageEventForwarder. onParagraph(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEventForwarder. onParagraphEnd(PdfWriter writer, Document document, float paragraphPosition)Called when a Paragraph is written.voidPdfPageEventForwarder. onSection(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title)Called when a Section is written.voidPdfPageEventForwarder. onSectionEnd(PdfWriter writer, Document document, float position)Called when the end of a Section is reached.voidPdfPageEventForwarder. onStartPage(PdfWriter writer, Document document)Called when a page is initialized. -
Uses of Document in com.itextpdf.tool.xml
Methods in com.itextpdf.tool.xml with parameters of type Document Modifier and Type Method Description voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, FontProvider fontProvider)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset, FontProvider fontProvider)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset, FontProvider fontProvider, java.lang.String resourcesRootPath)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.nio.charset.Charset charset)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.nio.charset.Charset charset, FontProvider fontProvider)voidXMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.Reader in)Parses the xml data. -
Uses of Document in com.itextpdf.tool.xml.pipeline.end
Fields in com.itextpdf.tool.xml.pipeline.end declared as Document Modifier and Type Field Description private DocumentPdfWriterPipeline. docMethods in com.itextpdf.tool.xml.pipeline.end with parameters of type Document Modifier and Type Method Description voidPdfWriterPipeline. setDocument(Document document)The document to write to.Constructors in com.itextpdf.tool.xml.pipeline.end with parameters of type Document Constructor Description PdfWriterPipeline(Document doc, PdfWriter writer)
-