Deprecated API


Contents
Deprecated Classes
org.apache.poi.hssf.record.RecordFactory
          use EventRecordFactory instead 
 

Deprecated Fields
org.apache.poi.hssf.record.PaneRecord.ACTIVE_PANE_UPER_LEFT
          use ACTIVE_PANE_UPPER_LEFT 
org.apache.poi.hssf.usermodel.HSSFWorkbook.ENCODING_COMPRESSED_UNICODE
          POI will now properly handle unicode strings without forceing an encoding 
org.apache.poi.hssf.usermodel.HSSFWorkbook.ENCODING_UTF_16
          POI will now properly handle unicode strings without forceing an encoding 
 

Deprecated Methods
org.apache.poi.hssf.usermodel.HSSFWorkbook.addSSTString(String)
          Do not call this method from your applications. Use the methods available in the HSSFRow to add string HSSFCells 
org.apache.poi.hssf.record.formula.Ptg.createParsedExpressionTokens(short, RecordInputStream)
          - use readTokens() 
org.apache.poi.hpsf.wellknown.SectionIDMap.get(Object)
          Use SectionIDMap.get(byte[]) instead! 
org.apache.poi.hssf.record.WindowOneRecord.getDisplayedTab()
          - Misleading name - use getFirstVisibleTab() 
org.apache.poi.hssf.usermodel.HSSFWorkbook.getDisplayedTab()
          - Misleading name - use getFirstVisibleTab() 
org.apache.poi.hssf.usermodel.HSSFCell.getEncoding()
          As of 3-Jan-06 POI now automatically handles Unicode without forcing the encoding. 
org.apache.poi.hssf.record.WindowTwoRecord.getPaged()
          use isActive() 
org.apache.poi.hssf.record.WindowOneRecord.getSelectedTab()
          - Misleading name - use getActiveSheetIndex() 
org.apache.poi.hssf.usermodel.HSSFWorkbook.getSelectedTab()
          - Misleading name - use getActiveSheetIndex() 
org.apache.poi.hslf.usermodel.PictureData.getSize()
          Use getData().length instead. 
org.apache.poi.hssf.usermodel.HSSFWorkbook.getSSTString(int)
          Do not call this method from your applications. Use the methods available in the HSSFRow to get string HSSFCells 
org.apache.poi.hssf.usermodel.HSSFCell.getStringCellValue()
          Use the HSSFRichTextString return 
org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator.CellValue.getStringValue()
            
org.apache.poi.hssf.usermodel.HSSFSheet.getVerticallyCenter(boolean)
          use getVerticallyCenter() instead 
org.apache.poi.hssf.model.FormulaParser.parse()
          use Ptg[] FormulaParser.parse(String, HSSFWorkbook) directly 
org.apache.poi.hpsf.wellknown.SectionIDMap.put(Object, Object)
          Use SectionIDMap.put(byte[], PropertyIDMap) instead! 
org.apache.poi.hssf.record.RecordInputStream.readAllContinuedRemainder()
          Best to write a input stream that wraps this one where there is special sub record that may overlap continue records. 
org.apache.poi.hssf.record.formula.Ptg.serializePtgStack(Stack, byte[], int)
          use serializePtgs() 
org.apache.poi.hssf.usermodel.HSSFCell.setCellNum(short)
          Doesn't update the row's idea of what cell this is, use HSSFRow.moveCell(HSSFCell, short) instead 
org.apache.poi.hssf.usermodel.HSSFCell.setCellValue(String)
          Use setCellValue(HSSFRichTextString) instead. 
org.apache.poi.hssf.record.WindowOneRecord.setDisplayedTab(short)
          - Misleading name - use setFirstVisibleTab() 
org.apache.poi.hssf.usermodel.HSSFWorkbook.setDisplayedTab(short)
          - Misleading name - use setFirstVisibleTab() 
org.apache.poi.hssf.usermodel.HSSFCell.setEncoding(short)
          As of 3-Jan-06 POI now automatically handles Unicode without forcing the encoding. 
org.apache.poi.hssf.record.MergeCellsRecord.setNumAreas(short)
          We now link the size to the actual array of merged regions 
org.apache.poi.hssf.record.WindowTwoRecord.setPaged(boolean)
          use setActive() 
org.apache.poi.hssf.usermodel.HSSFSheet.setProtect(boolean)
          use protectSheet(String, boolean, boolean) 
org.apache.poi.hssf.record.WindowOneRecord.setSelectedTab(short)
          - Misleading name - use setActiveSheetIndex() 
org.apache.poi.hssf.usermodel.HSSFWorkbook.setSelectedTab(short)
          use setSelectedTab(int) 
org.apache.poi.hssf.model.Workbook.setSheetName(int, String, short)
          3-Jan-06 Simply use setSheetNam e(int sheetnum, String sheetname) 
org.apache.poi.hssf.usermodel.HSSFWorkbook.setSheetName(int, String, short)
          3-Jan-2006 POI now automatically detects unicode and sets the encoding appropriately. Simply use setSheetName(int sheet, String encoding) 
org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator.CellValue.setStringValue(String)
            
 



Copyright 2008 The Apache Software Foundation or its licensors, as applicable.