Uses of Class
com.lowagie.text.Document
Packages that use Document
Package
Description
-
Uses of Document in com.lowagie.text
Fields in com.lowagie.text declared as DocumentModifier and TypeFieldDescriptionprotected DocumentDocWriter.documentThis is the document that has to be written.Constructors in com.lowagie.text with parameters of type DocumentModifierConstructorDescriptionprotectedDocWriter(Document document, OutputStream os) Constructs aDocWriter. -
Uses of Document in com.lowagie.text.html
Methods in com.lowagie.text.html with parameters of type DocumentModifier and TypeMethodDescriptionstatic HtmlWriterHtmlWriter.getInstance(Document document, OutputStream os) Gets an instance of theHtmlWriter.Constructors in com.lowagie.text.html with parameters of type DocumentModifierConstructorDescriptionprotectedHtmlWriter(Document doc, OutputStream os) Constructs aHtmlWriter. -
Uses of Document in com.lowagie.text.pdf
Subclasses of Document in com.lowagie.text.pdfModifier and TypeClassDescriptionclassPdfDocumentis the class that is used byPdfWriterto translate aDocumentinto a PDF with different pages.Methods in com.lowagie.text.pdf with parameters of type DocumentModifier and TypeMethodDescriptionstatic 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.Constructors in com.lowagie.text.pdf with parameters of type DocumentModifierConstructorDescriptionPdfCopy(Document document, OutputStream os) ConstructorPdfSmartCopy(Document document, OutputStream os) Creates a PdfSmartCopy instance.UnembedFontPdfSmartCopy(Document document, OutputStream os) -
Uses of Document in com.lowagie.text.pdf.events
Methods in com.lowagie.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.