Uses of Class
com.itextpdf.text.Document
Packages that use Document
Package
Description
Interfaces for high level PDF objects.
XMLWorker package provides a framework to parse XML to PDF with iText.
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 DocumentModifier and TypeFieldDescriptionprotected DocumentDocWriter.documentThis is the document that has to be written.Constructors in com.itextpdf.text with parameters of type DocumentModifierConstructorDescriptionprotectedDocWriter(Document document, OutputStream os) Constructs aDocWriter. -
Uses of Document in com.itextpdf.text.api
Methods in com.itextpdf.text.api with parameters of type Document -
Uses of Document in com.itextpdf.text.pdf
Subclasses of Document in com.itextpdf.text.pdfModifier and TypeClassDescriptionclassPdfDocumentis the class that is used byPdfWriterto translate aDocumentinto a PDF with different pages.Fields in com.itextpdf.text.pdf declared as DocumentModifier and TypeFieldDescriptionprotected DocumentPdfConcatenate.documentThe Document object for PdfCopy.(package private) DocumentPdfCopyFieldsImp.ndDeprecated.Methods in com.itextpdf.text.pdf with parameters of type DocumentModifier and TypeMethodDescriptionstatic PdfAWriterPdfAWriter.getInstance(Document document, OutputStream os, DocListener listener, PdfAConformanceLevel conformanceLevel) Use this method to get an instance of thePdfWriter.static PdfAWriterPdfAWriter.getInstance(Document document, OutputStream os, PdfAConformanceLevel conformanceLevel) Use this method to get an instance of thePdfWriter.static PdfWriterPdfWriter.getInstance(Document document, OutputStream os) Use this method to get an instance of thePdfWriter.static PdfWriterPdfWriter.getInstance(Document document, 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.voidCalled when a page is finished, just before being written to the document.voidCalled when a page is finished, just before being written to the document.voidPdfPageEvent.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunkwith a generic tag is written.voidPdfPageEventHelper.onGenericTag(PdfWriter writer, Document document, Rectangle rect, 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 DocumentModifierConstructorDescriptionPdfACopy(Document document, OutputStream os, PdfAConformanceLevel conformanceLevel) ConstructorPdfASmartCopy(Document document, OutputStream os, PdfAConformanceLevel conformanceLevel) ConstructorPdfCopy(Document document, OutputStream os) ConstructorPdfSmartCopy(Document document, 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 DocumentModifier and TypeMethodDescriptionvoidPdfPageEventForwarder.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.voidCalled when a page is finished, just before being written to the document.voidFieldPositioningEvents.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) voidIndexEvents.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) All the text that is passed to this event, gets registered in the indexentry.voidPdfPageEventForwarder.onGenericTag(PdfWriter writer, Document document, Rectangle rect, 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 DocumentModifier and TypeMethodDescriptionvoidXMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in) voidXMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile) voidXMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, FontProvider fontProvider) voidXMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset) voidXMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset, FontProvider fontProvider) voidXMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset, FontProvider fontProvider, String resourcesRootPath) voidXMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, Charset charset) voidXMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, Charset charset, FontProvider fontProvider) voidXMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, 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 DocumentMethods in com.itextpdf.tool.xml.pipeline.end with parameters of type DocumentModifier and TypeMethodDescriptionvoidPdfWriterPipeline.setDocument(Document document) The document to write to.Constructors in com.itextpdf.tool.xml.pipeline.end with parameters of type Document