Deprecated API


Contents
Deprecated Interfaces
com.itextpdf.text.html.simpleparser.HTMLTagProcessor
            
 

Deprecated Classes
com.itextpdf.text.html.simpleparser.HTMLTagProcessors
            
com.itextpdf.text.html.simpleparser.HTMLWorker
          please switch to XML Worker instead (this is a separate project) 
 

Deprecated Fields
com.itextpdf.text.pdf.PdfWriter.AllowAssembly
          As of iText 2.0.7, use PdfWriter.ALLOW_ASSEMBLY instead. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.pdf.PdfWriter.AllowCopy
          As of iText 2.0.7, use PdfWriter.ALLOW_COPY instead. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.pdf.PdfWriter.AllowDegradedPrinting
          As of iText 2.0.7, use PdfWriter.ALLOW_DEGRADED_PRINTING instead. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.pdf.PdfWriter.AllowFillIn
          As of iText 2.0.7, use PdfWriter.ALLOW_FILL_IN instead. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.pdf.PdfWriter.AllowModifyAnnotations
          As of iText 2.0.7, use PdfWriter.ALLOW_MODIFY_ANNOTATIONS instead. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.pdf.PdfWriter.AllowModifyContents
          As of iText 2.0.7, use PdfWriter.ALLOW_MODIFY_CONTENTS instead. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.pdf.PdfWriter.AllowPrinting
          As of iText 2.0.7, use PdfWriter.ALLOW_PRINTING instead. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.pdf.PdfWriter.AllowScreenReaders
          As of iText 2.0.7, use PdfWriter.ALLOW_SCREENREADERS instead. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.pdf.PdfWriter.STRENGTH128BITS
          As of iText 2.0.7, use PdfWriter.STANDARD_ENCRYPTION_128 instead. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.pdf.PdfWriter.STRENGTH40BITS
          As of iText 2.0.7, use PdfWriter.STANDARD_ENCRYPTION_40 instead. Scheduled for removal at or after 2.2.0 
 

Deprecated Methods
com.itextpdf.text.pdf.PdfContentByte.addImage(Image, AffineTransform)
          use com.itextpdf.text.geom.AffineTransform as parameter 
com.itextpdf.text.pdf.PdfContentByte.addTemplate(PdfTemplate, AffineTransform)
          use com.itextpdf.text.geom.AffineTransform as parameter 
com.itextpdf.text.pdf.PdfContentByte.concatCTM(AffineTransform)
          use com.itextpdf.text.geom.AffineTransform as parameter 
com.itextpdf.text.pdf.PdfContentByte.createGraphics(float, float)
          use the constructor in PdfGraphics2D 
com.itextpdf.text.pdf.PdfContentByte.createGraphics(float, float, boolean, float)
          use the constructor in PdfGraphics2D 
com.itextpdf.text.pdf.PdfContentByte.createGraphics(float, float, FontMapper)
          use the constructor in PdfPrinterGraphics2D 
com.itextpdf.text.pdf.PdfContentByte.createGraphics(float, float, FontMapper, boolean, float)
          use the constructor in PdfPrinterGraphics2D 
com.itextpdf.text.pdf.PdfContentByte.createGraphicsShapes(float, float)
          use the constructor in PdfGraphics2D 
com.itextpdf.text.pdf.PdfContentByte.createGraphicsShapes(float, float, boolean, float)
          use the constructor in PdfPrinterGraphics2D 
com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphics(float, float, boolean, float, PrinterJob)
          use the constructor in PdfGraphics2D 
com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphics(float, float, FontMapper, boolean, float, PrinterJob)
          use the constructor in PdfPrinterGraphics2D 
com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphics(float, float, FontMapper, PrinterJob)
          use the constructor in PdfPrinterGraphics2D 
com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphics(float, float, PrinterJob)
          use the constructor in PdfPrinterGraphics2D 
com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphicsShapes(float, float, boolean, float, PrinterJob)
          use the constructor in PdfPrinterGraphics2D 
com.itextpdf.text.pdf.PdfContentByte.createPrinterGraphicsShapes(float, float, PrinterJob)
          use the constructor in PdfPrinterGraphics2D 
com.itextpdf.text.Chunk.createTabspace()
           
com.itextpdf.text.Chunk.createTabspace(float)
           
com.itextpdf.text.pdf.CMapAwareDocumentFont.encode(byte[], int, int)
          method name is not indicative of what it does. Use decode instead. 
com.itextpdf.text.xml.xmp.XmpSchema.escape(String)
          use XMLUtil.escapeXml(String s, boolean onlyASCII) instead. 
com.itextpdf.text.xml.simpleparser.SimpleXMLParser.escapeXML(String, boolean)
          moved to XMLUtil.escapeXML(String, boolean), left here for the sake of backwards compatibility 
com.itextpdf.text.pdf.PdfArray.getArrayList()
            
com.itextpdf.text.pdf.RandomAccessFileOrArray.getByteSource()
           
com.itextpdf.text.html.simpleparser.HTMLWorker.getInterfaceProps()
          use getProviders() instead 
com.itextpdf.text.Utilities.getKeySet(Hashtable)
           
com.itextpdf.text.Chunk.isTabspace()
           
com.itextpdf.text.pdf.RandomAccessFileOrArray.reOpen()
           
com.itextpdf.text.pdf.PdfSignatureAppearance.setAcro6Layers(boolean)
          Adobe no longer supports Adobe Acrobat / Reader versions older than 9 
com.itextpdf.text.pdf.PdfWriter.setEncryption(boolean, String, String, int)
          As of iText 2.0.3, replaced by (@link #setEncryption(byte[], byte[], int, int)}. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.pdf.PdfWriter.setEncryption(byte[], byte[], int, boolean)
          As of iText 2.0.3, replaced by (@link #setEncryption(byte[], byte[], int, int)}. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.pdf.PdfWriter.setEncryption(int, String, String, int)
          As of iText 2.0.3, replaced by (@link #setEncryption(byte[], byte[], int, int)}. Scheduled for removal at or after 2.2.0 
com.itextpdf.text.html.simpleparser.HTMLWorker.setInterfaceProps(HashMap)
          use setProviders() instead 
com.itextpdf.text.pdf.PdfContentByte.setTextMatrix(AffineTransform)
          use com.itextpdf.text.geom.AffineTransform as parameter 
com.itextpdf.text.Paragraph.spacingAfter()
          As of iText 2.1.5, replaced by Paragraph.getSpacingAfter(), scheduled for removal at 2.3.0 
com.itextpdf.text.Paragraph.spacingBefore()
          As of iText 2.1.5, replaced by Paragraph.getSpacingBefore(), scheduled for removal at 2.3.0 
com.itextpdf.text.pdf.PdfContentByte.transform(AffineTransform)
          use com.itextpdf.text.geom.AffineTransform as parameter 
 

Deprecated Constructors
com.itextpdf.text.Chunk(DrawInterface, float)
           
com.itextpdf.text.Chunk(DrawInterface, float, boolean)
           
com.itextpdf.text.pdf.RandomAccessFileOrArray(byte[])
          use RandomAccessSourceFactory.createSource(byte[]) and RandomAccessFileOrArray.RandomAccessFileOrArray(RandomAccessSource) instead 
com.itextpdf.text.pdf.RandomAccessFileOrArray(InputStream)
          use RandomAccessSourceFactory.createSource(InputStream) and RandomAccessFileOrArray.RandomAccessFileOrArray(RandomAccessSource) instead 
com.itextpdf.text.pdf.RandomAccessFileOrArray(RandomAccessFileOrArray)
          use RandomAccessFileOrArray.createView() instead 
com.itextpdf.text.pdf.RandomAccessFileOrArray(String)
          use RandomAccessFileOrArray.RandomAccessFileOrArray(RandomAccessSource) instead 
com.itextpdf.text.pdf.RandomAccessFileOrArray(String, boolean, boolean)
          use RandomAccessSourceFactory.createBestSource(String) and RandomAccessFileOrArray.RandomAccessFileOrArray(RandomAccessSource) instead 
com.itextpdf.text.pdf.RandomAccessFileOrArray(URL)
          use RandomAccessSourceFactory.createSource(URL) and RandomAccessFileOrArray.RandomAccessFileOrArray(RandomAccessSource) instead 
com.itextpdf.text.xml.xmp.XmpWriter(OutputStream, PdfDictionary, int)
            
 



Copyright © 2013. All Rights Reserved.