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 Document
DocWriter. document
This 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 void
WriterOperation. 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 class
PdfDocument
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 Document Modifier and Type Field Description protected Document
PdfConcatenate. document
The Document object for PdfCopy.(package private) Document
PdfCopyFieldsImp. nd
Deprecated.Methods in com.itextpdf.text.pdf with parameters of type Document Modifier and Type Method Description static PdfAWriter
PdfAWriter. getInstance(Document document, java.io.OutputStream os, DocListener listener, PdfAConformanceLevel conformanceLevel)
Use this method to get an instance of thePdfWriter
.static PdfAWriter
PdfAWriter. getInstance(Document document, java.io.OutputStream os, PdfAConformanceLevel conformanceLevel)
Use this method to get an instance of thePdfWriter
.static PdfWriter
PdfWriter. getInstance(Document document, java.io.OutputStream os)
Use this method to get an instance of thePdfWriter
.static PdfWriter
PdfWriter. getInstance(Document document, java.io.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
PdfPageEvent. onEndPage(PdfWriter writer, Document document)
Called when a page is finished, just before being written to the document.void
PdfPageEventHelper. onEndPage(PdfWriter writer, Document document)
Called when a page is finished, just before being written to the document.void
PdfPageEvent. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)
Called when aChunk
with a generic tag is written.void
PdfPageEventHelper. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.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 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 void
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
PdfPageEventForwarder. onEndPage(PdfWriter writer, Document document)
Called when a page is finished, just before being written to the document.void
FieldPositioningEvents. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.String text)
void
IndexEvents. 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.void
PdfPageEventForwarder. onGenericTag(PdfWriter writer, Document document, Rectangle rect, java.lang.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 Document Modifier and Type Method Description void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, FontProvider fontProvider)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset, FontProvider fontProvider)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.io.InputStream inCssFile, java.nio.charset.Charset charset, FontProvider fontProvider, java.lang.String resourcesRootPath)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.nio.charset.Charset charset)
void
XMLWorkerHelper. parseXHtml(PdfWriter writer, Document doc, java.io.InputStream in, java.nio.charset.Charset charset, FontProvider fontProvider)
void
XMLWorkerHelper. 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 Document
PdfWriterPipeline. doc
Methods in com.itextpdf.tool.xml.pipeline.end with parameters of type Document Modifier and Type Method Description void
PdfWriterPipeline. 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)
-