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