Package | Description |
---|---|
com.itextpdf.text | |
com.itextpdf.text.api |
Interfaces for high level PDF objects.
|
com.itextpdf.text.pdf | |
com.itextpdf.text.pdf.events |
Modifier and Type | Field | Description |
---|---|---|
protected Document |
DocWriter.document |
This is the document that has to be written.
|
Constructor | Description |
---|---|
DocWriter(Document document,
OutputStream os) |
Constructs a
DocWriter . |
Modifier and Type | Method | Description |
---|---|---|
void |
WriterOperation.write(PdfWriter writer,
Document doc) |
Receive a writer and the document to do certain operations on them.
|
Modifier and Type | Class | Description |
---|---|---|
class |
PdfDocument |
PdfDocument is the class that is used by PdfWriter
to translate a Document into a PDF with different pages. |
Modifier and Type | Field | Description |
---|---|---|
protected Document |
PdfConcatenate.document |
The Document object for PdfCopy.
|
Modifier and Type | Method | Description |
---|---|---|
static PdfWriter |
PdfWriter.getInstance(Document document,
OutputStream os) |
Use this method to get an instance of the
PdfWriter . |
static PdfWriter |
PdfWriter.getInstance(Document document,
OutputStream os,
DocListener listener) |
Use this method to get an instance of the
PdfWriter . |
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,
String text) |
Called when a
Chunk with a generic tag is written. |
void |
PdfPageEventHelper.onGenericTag(PdfWriter writer,
Document document,
Rectangle rect,
String text) |
Called when a
Chunk 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.
|
Constructor | Description |
---|---|
PdfCopy(Document document,
OutputStream os) |
Constructor
|
PdfSmartCopy(Document document,
OutputStream os) |
Creates a PdfSmartCopy instance.
|
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,
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 a
Chunk 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.
|
Copyright © 2018. All rights reserved.