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 Document
DocWriter.document
This is the document that has to be written.Constructors in com.itextpdf.text with parameters of type DocumentModifierConstructorDescriptionprotected
DocWriter
(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 TypeClassDescriptionclass
PdfDocument
is the class that is used byPdfWriter
to translate aDocument
into a PDF with different pages.Fields in com.itextpdf.text.pdf declared as DocumentModifier and TypeFieldDescriptionprotected Document
PdfConcatenate.document
The Document object for PdfCopy.(package private) Document
PdfCopyFieldsImp.nd
Deprecated.Methods in com.itextpdf.text.pdf with parameters of type DocumentModifier and TypeMethodDescriptionstatic PdfAWriter
PdfAWriter.getInstance
(Document document, OutputStream os, DocListener listener, PdfAConformanceLevel conformanceLevel) Use this method to get an instance of thePdfWriter
.static PdfAWriter
PdfAWriter.getInstance
(Document document, OutputStream os, PdfAConformanceLevel conformanceLevel) Use this method to get an instance of thePdfWriter
.static PdfWriter
PdfWriter.getInstance
(Document document, OutputStream os) Use this method to get an instance of thePdfWriter
.static PdfWriter
PdfWriter.getInstance
(Document document, OutputStream os, DocListener listener) Use this method to get an instance of thePdfWriter
.void
PdfPageEvent.onChapter
(PdfWriter writer, Document document, float paragraphPosition, Paragraph title) Called when a Chapter is written.void
PdfPageEventHelper.onChapter
(PdfWriter writer, Document document, float paragraphPosition, Paragraph title) Called when a Chapter is written.void
PdfPageEvent.onChapterEnd
(PdfWriter writer, Document document, float paragraphPosition) Called when the end of a Chapter is reached.void
PdfPageEventHelper.onChapterEnd
(PdfWriter writer, Document document, float position) Called when the end of a Chapter is reached.void
PdfPageEvent.onCloseDocument
(PdfWriter writer, Document document) Called when the document is closed.void
PdfPageEventHelper.onCloseDocument
(PdfWriter writer, Document document) Called when the document is closed.void
Called when a page is finished, just before being written to the document.void
Called when a page is finished, just before being written to the document.void
PdfPageEvent.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunk
with a generic tag is written.void
PdfPageEventHelper.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunk
with a generic tag is written.void
PdfPageEvent.onOpenDocument
(PdfWriter writer, Document document) Called when the document is opened.void
PdfPageEventHelper.onOpenDocument
(PdfWriter writer, Document document) Called when the document is opened.void
PdfPageEvent.onParagraph
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEventHelper.onParagraph
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEvent.onParagraphEnd
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEventHelper.onParagraphEnd
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEvent.onSection
(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title) Called when a Section is written.void
PdfPageEventHelper.onSection
(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title) Called when a Section is written.void
PdfPageEvent.onSectionEnd
(PdfWriter writer, Document document, float paragraphPosition) Called when the end of a Section is reached.void
PdfPageEventHelper.onSectionEnd
(PdfWriter writer, Document document, float position) Called when the end of a Section is reached.void
PdfPageEvent.onStartPage
(PdfWriter writer, Document document) Called when a page is initialized.void
PdfPageEventHelper.onStartPage
(PdfWriter writer, Document document) Called when a page is initialized.private void
PdfStructureElement.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 TypeMethodDescriptionvoid
PdfPageEventForwarder.onChapter
(PdfWriter writer, Document document, float paragraphPosition, Paragraph title) Called when a Chapter is written.void
PdfPageEventForwarder.onChapterEnd
(PdfWriter writer, Document document, float position) Called when the end of a Chapter is reached.void
PdfPageEventForwarder.onCloseDocument
(PdfWriter writer, Document document) Called when the document is closed.void
Called when a page is finished, just before being written to the document.void
FieldPositioningEvents.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) void
IndexEvents.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) All the text that is passed to this event, gets registered in the indexentry.void
PdfPageEventForwarder.onGenericTag
(PdfWriter writer, Document document, Rectangle rect, String text) Called when aChunk
with a generic tag is written.void
PdfPageEventForwarder.onOpenDocument
(PdfWriter writer, Document document) Called when the document is opened.void
PdfPageEventForwarder.onParagraph
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEventForwarder.onParagraphEnd
(PdfWriter writer, Document document, float paragraphPosition) Called when a Paragraph is written.void
PdfPageEventForwarder.onSection
(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title) Called when a Section is written.void
PdfPageEventForwarder.onSectionEnd
(PdfWriter writer, Document document, float position) Called when the end of a Section is reached.void
PdfPageEventForwarder.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 TypeMethodDescriptionvoid
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, FontProvider fontProvider) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset, FontProvider fontProvider) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset, FontProvider fontProvider, String resourcesRootPath) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, Charset charset) void
XMLWorkerHelper.parseXHtml
(PdfWriter writer, Document doc, InputStream in, Charset charset, FontProvider fontProvider) void
XMLWorkerHelper.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 TypeMethodDescriptionvoid
PdfWriterPipeline.setDocument
(Document document) The document to write to.Constructors in com.itextpdf.tool.xml.pipeline.end with parameters of type Document