| Package | Description | 
|---|---|
| com.itextpdf.text | |
| com.itextpdf.text.html.simpleparser | |
| com.itextpdf.text.pdf | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | Document
             A generic Document class. 
            | 
| class  | DocWriter
             An abstract  Writerclass for documents. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ArrayList<DocListener> | Document. listeners
             The DocListener. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Document. addDocListener(DocListener listener)
             Adds a  DocListenerto theDocument. | 
| void | Document. removeDocListener(DocListener listener)
             Removes a  DocListenerfrom theDocument. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HTMLWorker Deprecated.  
              since 5.5.2; please switch to XML Worker instead (this is a separate project) 
             | 
| Modifier and Type | Field and Description | 
|---|---|
| protected DocListener | HTMLWorker. document Deprecated.  
            
             DocListener that will listen to the Elements produced by parsing the HTML. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| Image | ElementFactory. createImage(String src, Map<String,String> attrs, ChainedProperties chain, DocListener document, ImageProvider img_provider, HashMap<String,Image> img_store, String img_baseurl) Deprecated.  
            | 
| Image | ImageProvider. getImage(String src, Map<String,String> attrs, ChainedProperties chain, DocListener doc) Deprecated.  
            | 
| boolean | ImageProcessor. process(Image img, Map<String,String> attrs, ChainedProperties chain, DocListener doc) Deprecated.  
            
             Allows you to (pre)process the image before (or instead of) adding it to the DocListener with HTMLWorker. 
            | 
| Constructor and Description | 
|---|
| HTMLWorker(DocListener document) Deprecated.  
            
             Creates a new instance of HTMLWorker 
            | 
| HTMLWorker(DocListener document, Map<String,HTMLTagProcessor> tags, StyleSheet style) Deprecated.  
            
             Creates a new instance of HTMLWorker 
            | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PdfACopy
             Extension of PdfCopy that will attempt to keep a file in conformance with the PDF/A standard. 
            | 
| class  | PdfASmartCopy
             PdfASmartCopy has the same functionality as PdfACopy, but when resources (such as fonts, images,...) are encountered, a reference to these resources is saved in a cache, so that they can be reused. 
            | 
| class  | PdfAStamperImp
             Extension to PdfStamperImp that will attempt to keep a file in conformance with the PDF/A standard. 
            | 
| class  | PdfAWriter
             Extension of PdfWriter that will attempt to create a PDF/A file instead of an ordinary PDF file. 
            | 
| class  | PdfCopy
             Make copies of PDF documents. 
            | 
| class  | PdfDocumentPdfDocumentis the class that is used byPdfWriterto translate aDocumentinto a PDF with different pages. | 
| class  | PdfSmartCopy
             PdfSmartCopy has the same functionality as PdfCopy, but when resources (such as fonts, images,...) are encountered, a reference to these resources is saved in a cache, so that they can be reused. 
            | 
| class  | PdfWriter
             A  DocWriterclass for PDF. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
Copyright © 1998–2021. All rights reserved.