Uses of Class
com.itextpdf.text.Document
-
Packages that use Document Package Description com.itextpdf.text com.itextpdf.text.html com.itextpdf.text.pdf com.itextpdf.text.pdf.events -
-
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.html
Methods in com.itextpdf.text.html with parameters of type Document Modifier and Type Method Description static HtmlWriterHtmlWriter. getInstance(Document document, java.io.OutputStream os)Gets an instance of theHtmlWriter.Constructors in com.itextpdf.text.html with parameters of type Document Constructor Description HtmlWriter(Document doc, java.io.OutputStream os)Constructs aHtmlWriter. -
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.Methods in com.itextpdf.text.pdf with parameters of type Document Modifier and Type Method Description 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.Constructors in com.itextpdf.text.pdf with parameters of type Document Constructor Description PdfCopy(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.
-