| 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. 
            |  
       
| Modifier and Type | Field and Description | 
|---|---|
protected Document |  
          DocWriter.document 
           
             This is the document that has to be written. 
              |  
         
| Constructor and Description | 
|---|
DocWriter(Document document, OutputStream os) 
           
             Constructs a   DocWriter. 
            |  
         
| Modifier and Type | Method and Description | 
|---|---|
void |  
          WriterOperation.write(PdfWriter writer, Document doc) 
           
             Receive a writer and the document to do certain operations on them. 
              |  
         
| Modifier and Type | Class and 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 and Description | 
|---|---|
protected Document |  
          PdfConcatenate.document 
           
             The Document object for PdfCopy. 
              |  
         
| Modifier and Type | Method and 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. 
            |  
         
static PdfAWriter |  
          PdfAWriter.getInstance(Document document, OutputStream os, DocListener listener, PdfAConformanceLevel conformanceLevel) 
           
             Use this method to get an instance of the   PdfWriter. 
            |  
         
static PdfAWriter |  
          PdfAWriter.getInstance(Document document, OutputStream os, PdfAConformanceLevel conformanceLevel) 
           
             Use this method to get an instance of the   PdfWriter. 
            |  
         
void |  
          PdfPageEventHelper.onChapter(PdfWriter writer, Document document, float paragraphPosition, Paragraph title) 
           
             Called when a Chapter is written. 
              |  
         
void |  
          PdfPageEvent.onChapter(PdfWriter writer, Document document, float paragraphPosition, Paragraph title) 
           
             Called when a Chapter is written. 
              |  
         
void |  
          PdfPageEventHelper.onChapterEnd(PdfWriter writer, Document document, float position) 
           
             Called when the end of a Chapter is reached. 
              |  
         
void |  
          PdfPageEvent.onChapterEnd(PdfWriter writer, Document document, float paragraphPosition) 
           
             Called when the end of a Chapter is reached. 
              |  
         
void |  
          PdfPageEventHelper.onCloseDocument(PdfWriter writer, Document document) 
           
             Called when the document is closed. 
              |  
         
void |  
          PdfPageEvent.onCloseDocument(PdfWriter writer, Document document) 
           
             Called when the document is closed. 
              |  
         
void |  
          PdfPageEventHelper.onEndPage(PdfWriter writer, Document document) 
           
             Called when a page is finished, just before being written to the document. 
              |  
         
void |  
          PdfPageEvent.onEndPage(PdfWriter writer, Document document) 
           
             Called when a page is finished, just before being written to the document. 
              |  
         
void |  
          PdfPageEventHelper.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) 
           
             Called when a   Chunk with a generic tag is written. 
            |  
         
void |  
          PdfPageEvent.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) 
           
             Called when a   Chunk with a generic tag is written. 
            |  
         
void |  
          PdfPageEventHelper.onOpenDocument(PdfWriter writer, Document document) 
           
             Called when the document is opened. 
              |  
         
void |  
          PdfPageEvent.onOpenDocument(PdfWriter writer, Document document) 
           
             Called when the document is opened. 
              |  
         
void |  
          PdfPageEventHelper.onParagraph(PdfWriter writer, Document document, float paragraphPosition) 
           
             Called when a Paragraph is written. 
              |  
         
void |  
          PdfPageEvent.onParagraph(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.onParagraphEnd(PdfWriter writer, Document document, float paragraphPosition) 
           
             Called when a Paragraph is written. 
              |  
         
void |  
          PdfPageEventHelper.onSection(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title) 
           
             Called when a Section is written. 
              |  
         
void |  
          PdfPageEvent.onSection(PdfWriter writer, Document document, float paragraphPosition, int depth, Paragraph title) 
           
             Called when a Section is written. 
              |  
         
void |  
          PdfPageEventHelper.onSectionEnd(PdfWriter writer, Document document, float position) 
           
             Called when the end of a Section is reached. 
              |  
         
void |  
          PdfPageEvent.onSectionEnd(PdfWriter writer, Document document, float paragraphPosition) 
           
             Called when the end of a Section is reached. 
              |  
         
void |  
          PdfPageEventHelper.onStartPage(PdfWriter writer, Document document) 
           
             Called when a page is initialized. 
              |  
         
void |  
          PdfPageEvent.onStartPage(PdfWriter writer, Document document) 
           
             Called when a page is initialized. 
              |  
         
| Constructor and Description | 
|---|
PdfACopy(Document document, OutputStream os, PdfAConformanceLevel conformanceLevel) 
           
             Constructor 
              |  
         
PdfASmartCopy(Document document, OutputStream os, PdfAConformanceLevel conformanceLevel) 
           
             Constructor 
              |  
         
PdfCopy(Document document, OutputStream os) 
           
             Constructor 
              |  
         
PdfSmartCopy(Document document, OutputStream os) 
           
             Creates a PdfSmartCopy instance. 
              |  
         
| Modifier and Type | Method and 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 |  
          PdfPageEventForwarder.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text) 
           
             Called when a   Chunk with a generic tag is written. 
            |  
         
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 |  
          FieldPositioningEvents.onGenericTag(PdfWriter writer, Document document, Rectangle rect, String text)  |  
         
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. 
              |  
         
| Modifier and Type | Method and Description | 
|---|---|
void |  
          XMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in)  |  
         
void |  
          XMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, Charset charset)  |  
         
void |  
          XMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, Charset charset, FontProvider fontProvider)  |  
         
void |  
          XMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile)  |  
         
void |  
          XMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset)  |  
         
void |  
          XMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset, FontProvider fontProvider)  |  
         
void |  
          XMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, Charset charset, FontProvider fontProvider, String resourcesRootPath)  |  
         
void |  
          XMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, InputStream in, InputStream inCssFile, FontProvider fontProvider)  |  
         
void |  
          XMLWorkerHelper.parseXHtml(PdfWriter writer, Document doc, Reader in) 
           
             Parses the xml data. 
              |  
         
| Modifier and Type | Method and Description | 
|---|---|
void |  
          PdfWriterPipeline.setDocument(Document document) 
           
             The document to write to. 
              |  
         
| Constructor and Description | 
|---|
PdfWriterPipeline(Document doc, PdfWriter writer)  |  
         
Copyright © 1998–2019. All rights reserved.