Deprecated API


Contents
Deprecated Fields
org.faceless.pdf2.Event.CLICK
          this Event is now a synonym for Event.MOUSEUP 
org.faceless.pdf2.OutputProfile.PDFX3_2003_Acrobat
          use OutputProfile.PDFX3_2003 instead 
 

Deprecated Methods
org.faceless.pdf2.PDFStyle.getLineDashOff()
          since 2.7.8 this method has been replaced with PDFStyle.getLineDashPattern() 
org.faceless.pdf2.PDFStyle.getLineDashOn()
          since 2.7.8 this method has been replaced with PDFStyle.getLineDashPattern() 
org.faceless.pdf2.PDFSound.getStream()
          please call getAudioInputStream instead. 
org.faceless.pdf2.WidgetAnnotation.getTextValue()
          since 2.11 just call getValue() instead. 
org.faceless.pdf2.PDFSound.getType()
          method will always return Unknown 
org.faceless.pdf2.PDF.getViewerPreference(String)
          since 2.7.6 replaced by the setOption() method - the key is the same as is passed in to this method but with a prefix of view., eg. FullScreen becomes view.FullScreen. 
org.faceless.pdf2.PagePainter.hasAnnotationState(PDFAnnotation, String)
          replaced by PDFAnnotation.hasAppearanceState(java.lang.String) 
org.faceless.pdf2.FormText.isDoNotSpellCheck()
          call isSpellCheck instead 
org.faceless.pdf2.StandardEncryptionHandler.setAcrobat9Level(int, int, int, boolean)
          the encryption algorithm used by Acrobat 9 has ben found to be less secure than the algorithm used by Acrobat 7, so as of 2.11.19 a request for Acrobat 9 encryption will fall back to Acrobat 7 encryption. 
org.faceless.pdf2.FormText.setDoNotSpellCheck(boolean)
          call setSpellCheck instead 
org.faceless.pdf2.PDF.setLayout(String, String)
          since 2.7.6 this method has been replaced with the "pagelayout" and "pagemode" keys to the setOption() method. 
org.faceless.pdf2.WidgetAnnotation.setTextValue(String)
          since 2.11 just call #setValue 
org.faceless.pdf2.PDF.setViewerPreference(String, boolean)
          since 2.7.6 this method has been replaced with the setOption() method - they key is the same but with a prefix of view., eg. view.fitWindow. 
 



Copyright © 2001-2012 Big Faceless Organization