Deprecated API


Contents
Deprecated Interfaces
org.apache.poi.ss.usermodel.Textbox
          3.16 beta1. This interface isn't implemented ... 
 

Deprecated Classes
org.apache.poi.hssf.util.AreaReference
          POI 3.15 beta 3. Use AreaReference instead. 
org.apache.poi.hssf.util.HSSFColor.AQUA
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.AUTOMATIC
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.BLACK
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.BLUE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.BLUE_GREY
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.BRIGHT_GREEN
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.BROWN
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.CORAL
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.CORNFLOWER_BLUE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.DARK_BLUE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.DARK_GREEN
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.DARK_RED
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.DARK_TEAL
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.DARK_YELLOW
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.GOLD
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.GREEN
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.GREY_25_PERCENT
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.GREY_40_PERCENT
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.GREY_50_PERCENT
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.GREY_80_PERCENT
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.INDIGO
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.LAVENDER
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.LEMON_CHIFFON
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.LIGHT_BLUE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.LIGHT_CORNFLOWER_BLUE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.LIGHT_GREEN
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.LIGHT_ORANGE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.LIGHT_TURQUOISE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.LIGHT_YELLOW
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.LIME
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.MAROON
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.OLIVE_GREEN
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.ORANGE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.ORCHID
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.PALE_BLUE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.PINK
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.PLUM
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.RED
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.ROSE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.ROYAL_BLUE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.SEA_GREEN
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.SKY_BLUE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.TAN
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.TEAL
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.TURQUOISE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.VIOLET
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.WHITE
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hssf.util.HSSFColor.YELLOW
          use HSSFColor.HSSFColorPredefined instead 
org.apache.poi.hpsf.MutableProperty
          POI 3.16 - use Property as base class instead 
org.apache.poi.hpsf.MutablePropertySet
          POI 3.16 - use PropertySet as base class instead 
org.apache.poi.hpsf.MutableSection
          POI 3.16 - use Section as base class instead 
org.apache.poi.hssf.util.PaneInformation
          POI 3.15 beta 3. Use PaneInformation instead. 
org.apache.poi.hpsf.SpecialPropertySet
          POI 3.16 - use PropertySet as base class instead 
org.apache.poi.util.TempFile.DefaultTempFileCreationStrategy
          POI 3.15 beta 3. Moved to DefaultTempFileCreationStrategy. 
org.apache.poi.hpsf.TypeWriter
          POI 3.16 beta 2 - use LittleEndian instead 
 

Deprecated Enums
org.apache.poi.ss.usermodel.FontCharset
          enum will be replaced by common version org.apache.poi.common.usermodel.FontCharset 
 

Deprecated Fields
org.apache.poi.ss.usermodel.Cell.CELL_TYPE_BLANK
          POI 3.15 beta 3. Use CellType.BLANK instead. 
org.apache.poi.ss.usermodel.Cell.CELL_TYPE_BOOLEAN
          POI 3.15 beta 3. Use CellType.BOOLEAN instead. 
org.apache.poi.ss.usermodel.Cell.CELL_TYPE_ERROR
          POI 3.15 beta 3. Use CellType.ERROR instead. 
org.apache.poi.ss.usermodel.Cell.CELL_TYPE_FORMULA
          POI 3.15 beta 3. Use CellType.FORMULA instead. 
org.apache.poi.ss.usermodel.Cell.CELL_TYPE_NUMERIC
          POI 3.15 beta 3. Use CellType.NUMERIC instead. 
org.apache.poi.ss.usermodel.Cell.CELL_TYPE_STRING
          POI 3.15 beta 3. Use CellType.STRING instead. 
org.apache.poi.ss.formula.udf.UDFFinder.DEFAULT
          use AggregatingUDFFinder.DEFAULT instead, deprecated in POI 3.15, scheduled for removable in POI 3.17 
org.apache.poi.ss.format.CellFormat.GENERAL_FORMAT
          use CellFormat.getInstance(Locale, String) instead 
org.apache.poi.ss.usermodel.Workbook.SHEET_STATE_HIDDEN
          POI 3.16 beta 2. Use SheetVisibility.HIDDEN instead. 
org.apache.poi.ss.usermodel.Workbook.SHEET_STATE_VERY_HIDDEN
          POI 3.16 beta 2. Use SheetVisibility.VERY_HIDDEN instead. 
org.apache.poi.ss.usermodel.Workbook.SHEET_STATE_VISIBLE
          POI 3.16 beta 2. Use SheetVisibility.VISIBLE instead. 
 

Deprecated Methods
org.apache.poi.hssf.model.DrawingManager2.allocateShapeId(short)
          in POI 3.17-beta2, use allocateShapeId(EscherDgRecord) 
org.apache.poi.hssf.model.DrawingManager2.allocateShapeId(short, EscherDgRecord)
          in POI 3.17-beta2, use allocateShapeId(EscherDgRecord) 
org.apache.poi.hpsf.VariantSupport.codepageToEncoding(int)
          POI 3.16 - use CodePageUtil.codepageToEncoding(int) 
org.apache.poi.ss.util.SheetUtil.containsCell(CellRangeAddress, int, int)
          3.15 beta 2. Use CellRangeAddressBase.isInRange(int, int). 
org.apache.poi.hssf.usermodel.HSSFRow.createCell(int, int)
          POI 3.15 beta 3 
org.apache.poi.ss.usermodel.Row.createCell(int, int)
          POI 3.15 beta 3. Use Row.createCell(int, CellType) instead. 
org.apache.poi.ss.formula.BaseFormulaEvaluator.evaluateFormulaCell(Cell)
          3.15. Will return a CellType enum in the future. 
org.apache.poi.ss.usermodel.FormulaEvaluator.evaluateFormulaCell(Cell)
          3.15. Will return a CellType enum in the future 
org.apache.poi.common.usermodel.HyperlinkType.forInt(int)
          POI 3.15 beta 3 
org.apache.poi.ss.usermodel.CellType.forInt(int)
          POI 3.15 beta 3. Used to transition code from ints to CellTypes. 
org.apache.poi.ss.util.AreaReference.generateContiguous(String)
          use AreaReference.generateContiguous(SpreadsheetVersion, String) instead 
org.apache.poi.poifs.crypt.EncryptionVerifier.getAlgorithm()
          POI 3.16 beta 1. use EncryptionVerifier.getCipherAlgorithm() 
org.apache.poi.hssf.usermodel.HSSFCellStyle.getAlignment()
          POI 3.15 beta 3. Use HSSFCellStyle.getAlignmentEnum() instead. 
org.apache.poi.ss.usermodel.CellStyle.getAlignment()
          POI 3.15 beta 3. Use CellStyle.getAlignmentEnum() instead. 
org.apache.poi.hssf.usermodel.HSSFBorderFormatting.getBorderBottom()
          POI 3.15. Use HSSFBorderFormatting.getBorderBottomEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.hssf.usermodel.HSSFCellStyle.getBorderBottom()
          POI 3.15. Will return a BorderStyle enum in the future. Use HSSFCellStyle.getBorderBottomEnum(). 
org.apache.poi.ss.usermodel.CellStyle.getBorderBottom()
          POI 3.15. Use CellStyle.getBorderBottomEnum() instead. This will return a BorderStyle enum in the future. 
org.apache.poi.ss.usermodel.BorderFormatting.getBorderBottom()
          POI 3.15. Use BorderFormatting.getBorderBottomEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.hssf.usermodel.HSSFBorderFormatting.getBorderDiagonal()
          POI 3.15. Use HSSFBorderFormatting.getBorderDiagonalEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.ss.usermodel.BorderFormatting.getBorderDiagonal()
          POI 3.15. Use BorderFormatting.getBorderDiagonalEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.hssf.usermodel.HSSFBorderFormatting.getBorderLeft()
          POI 3.15. Use HSSFBorderFormatting.getBorderLeftEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.hssf.usermodel.HSSFCellStyle.getBorderLeft()
          POI 3.15. Will return a BorderStyle enum in the future. Use HSSFCellStyle.getBorderLeftEnum(). 
org.apache.poi.ss.usermodel.CellStyle.getBorderLeft()
          POI 3.15. Use CellStyle.getBorderLeftEnum() instead. This will return a BorderStyle enum in the future. 
org.apache.poi.ss.usermodel.BorderFormatting.getBorderLeft()
          POI 3.15. Use BorderFormatting.getBorderLeftEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.hssf.usermodel.HSSFBorderFormatting.getBorderRight()
          POI 3.15. Use HSSFBorderFormatting.getBorderRightEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.hssf.usermodel.HSSFCellStyle.getBorderRight()
          POI 3.15. Will return a BorderStyle enum in the future. Use HSSFCellStyle.getBorderRightEnum(). 
org.apache.poi.ss.usermodel.CellStyle.getBorderRight()
          POI 3.15. Use CellStyle.getBorderRightEnum() instead. This will return a BorderStyle enum in the future. 
org.apache.poi.ss.usermodel.BorderFormatting.getBorderRight()
          POI 3.15. Use BorderFormatting.getBorderRightEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.hssf.usermodel.HSSFBorderFormatting.getBorderTop()
          POI 3.15. Use HSSFBorderFormatting.getBorderTopEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.hssf.usermodel.HSSFCellStyle.getBorderTop()
          POI 3.15. Will return a BorderStyle enum in the future. Use HSSFCellStyle.getBorderTopEnum(). 
org.apache.poi.ss.usermodel.CellStyle.getBorderTop()
          POI 3.15. Use CellStyle.getBorderTopEnum() instead. This will return a BorderStyle enum in the future. 
org.apache.poi.ss.usermodel.BorderFormatting.getBorderTop()
          POI 3.15. Use BorderFormatting.getBorderTopEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.hssf.usermodel.HSSFCell.getCachedFormulaResultType()
          3.15. Will return a CellType enum in the future. 
org.apache.poi.ss.formula.EvaluationCell.getCachedFormulaResultType()
          3.15. Will return a CellType enum in the future. 
org.apache.poi.ss.usermodel.Cell.getCachedFormulaResultType()
          3.15. Will return a CellType enum in the future. 
org.apache.poi.ss.formula.EvaluationCell.getCachedFormulaResultTypeEnum()
          POI 3.15 beta 3. Will be deleted when we make the CellType enum transition. See bug 59791. 
org.apache.poi.hssf.usermodel.HSSFCell.getCellType()
          3.15. Will be return a CellType enum in the future. 
org.apache.poi.ss.formula.EvaluationCell.getCellType()
          3.15. Will return a CellType enum in the future. 
org.apache.poi.ss.usermodel.Cell.getCellType()
          POI 3.15. Will return a CellType enum in the future. 
org.apache.poi.ss.usermodel.CellValue.getCellType()
          POI 3.15. Use CellValue.getCellTypeEnum() instead. 
org.apache.poi.ss.formula.EvaluationCell.getCellTypeEnum()
          POI 3.15 beta 3. Will be deleted when we make the CellType enum transition. See bug 59791. 
org.apache.poi.ddf.EscherContainerRecord.getChildIterator()
          POI 3.16 beta 1. use iterator() or loop over the container record instead, e.g. "for (EscherRecord r : container) ..." 
org.apache.poi.poifs.crypt.EncryptionVerifier.getCipherMode()
          POI 3.16 beta 1. use EncryptionVerifier.getChainingMode() 
org.apache.poi.common.usermodel.HyperlinkType.getCode()
          POI 3.15 beta 3 
org.apache.poi.ss.usermodel.CellType.getCode()
          POI 3.15 beta 3 
org.apache.poi.hssf.usermodel.HSSFCellStyle.getFillPattern()
          POI 3.15 beta 3. This method will return FillPatternType in the future. Use HSSFCellStyle.setFillPattern(FillPatternType) instead. 
org.apache.poi.ss.usermodel.CellStyle.getFillPattern()
          POI 3.15 beta 3. This method will return FillPatternType in the future. Use CellStyle.setFillPattern(FillPatternType) instead. 
org.apache.poi.poifs.crypt.EncryptionHeader.getHashAlgorithmEx()
          POI 3.16 beta 1. use EncryptionHeader.getHashAlgorithm() 
org.apache.poi.hssf.usermodel.HSSFWorkbook.getRootDirectory()
          POI 3.16 beta 1. use POIDocument.getDirectory() instead 
org.apache.poi.common.usermodel.Hyperlink.getType()
          POI 3.15 beta 3. Use Hyperlink.getTypeEnum() getType will return a HyperlinkType enum in the future. 
org.apache.poi.hssf.usermodel.HSSFHyperlink.getType()
          POI 3.15. Use HSSFHyperlink.getTypeEnum() instead. getType will return a HyperlinkType enum in the future. 
org.apache.poi.hssf.usermodel.HSSFCellStyle.getVerticalAlignment()
          POI 3.15 beta 3. Use HSSFCellStyle.getVerticalAlignmentEnum() instead. 
org.apache.poi.ss.usermodel.CellStyle.getVerticalAlignment()
          POI 3.15 beta 3. Use CellStyle.getVerticalAlignmentEnum() instead. 
org.apache.poi.poifs.filesystem.DocumentFactoryHelper.hasOOXMLHeader(InputStream)
          in 3.17-beta2, use FileMagic.valueOf(InputStream) == FileMagic.OOXML instead 
org.apache.poi.poifs.filesystem.OPOIFSFileSystem.hasPOIFSHeader(byte[])
          in 3.17-beta2, use FileMagic.valueOf(InputStream) == FileMagic.OLE2 instead 
org.apache.poi.poifs.filesystem.NPOIFSFileSystem.hasPOIFSHeader(byte[])
          in 3.17-beta2, use FileMagic.valueOf(InputStream) == FileMagic.OLE2 instead 
org.apache.poi.poifs.filesystem.OPOIFSFileSystem.hasPOIFSHeader(InputStream)
          in 3.17-beta2, use FileMagic.valueOf(InputStream) == FileMagic.OLE2 instead 
org.apache.poi.poifs.filesystem.NPOIFSFileSystem.hasPOIFSHeader(InputStream)
          in 3.17-beta2, use FileMagic.valueOf(InputStream) == FileMagic.OLE2 instead 
org.apache.poi.ddf.EscherBoolProperty.isFalse()
          use !isTrue() instead, planed to be removed in POI 3.17 
org.apache.poi.ss.formula.atp.WorkdayCalculator.isNonWorkday(double, double[])
          POI 3.16 - will be removed, not used in POI itself 
org.apache.poi.hssf.record.DrawingRecord.processContinueRecord(byte[])
          POI 3.9 
org.apache.poi.hssf.record.RecordInputStream.readAllContinuedRemainder()
          POI 2.0 Best to write a input stream that wraps this one where there is special sub record that may overlap continue records. 
org.apache.poi.ss.util.RegionUtil.setBorderBottom(int, CellRangeAddress, Sheet)
          POI 3.16 beta 1. Use RegionUtil.setBorderBottom(BorderStyle, CellRangeAddress, Sheet). 
org.apache.poi.ss.usermodel.BorderFormatting.setBorderBottom(short)
          3.15 beta 2. Use BorderFormatting.setBorderBottom(BorderStyle) 
org.apache.poi.ss.usermodel.BorderFormatting.setBorderDiagonal(short)
          3.15 beta 2. Use BorderFormatting.setBorderDiagonal(BorderStyle) 
org.apache.poi.ss.util.RegionUtil.setBorderLeft(int, CellRangeAddress, Sheet)
          3.16 beta 1. Use RegionUtil.setBorderLeft(BorderStyle, CellRangeAddress, Sheet). 
org.apache.poi.ss.usermodel.BorderFormatting.setBorderLeft(short)
          3.15 beta 2. Use BorderFormatting.setBorderLeft(BorderStyle) 
org.apache.poi.ss.util.RegionUtil.setBorderRight(int, CellRangeAddress, Sheet)
          POI 3.16 beta 1. Use RegionUtil.setBorderRight(BorderStyle, CellRangeAddress, Sheet). 
org.apache.poi.ss.usermodel.BorderFormatting.setBorderRight(short)
          3.15 beta 2. Use BorderFormatting.setBorderRight(BorderStyle) 
org.apache.poi.ss.util.RegionUtil.setBorderTop(int, CellRangeAddress, Sheet)
          3.16 beta 1. Use RegionUtil.setBorderTop(BorderStyle, CellRangeAddress, Sheet). 
org.apache.poi.ss.usermodel.BorderFormatting.setBorderTop(short)
          3.15 beta 2. Use BorderFormatting.setBorderTop(BorderStyle) 
org.apache.poi.hssf.usermodel.HSSFCell.setCellErrorValue(byte)
          3.15 beta 2. Use HSSFCell.setCellErrorValue(FormulaError) instead. 
org.apache.poi.hssf.usermodel.HSSFCell.setCellType(int)
          POI 3.15 beta 3. Use HSSFCell.setCellType(CellType) instead. 
org.apache.poi.ss.usermodel.Cell.setCellType(int)
          POI 3.15 beta 3. Use Cell.setCellType(CellType) instead. 
org.apache.poi.hssf.usermodel.HSSFWorkbook.setSheetHidden(int, int)
           
org.apache.poi.ss.usermodel.Workbook.setSheetHidden(int, int)
          POI 3.16 beta 2. Use Workbook.setSheetVisibility(int, SheetVisibility) instead. 
org.apache.poi.hssf.usermodel.HSSFSheet.shiftMerged(int, int, int, boolean)
          POI 3.15 beta 2. Use RowShifter.shiftMergedRegions(int, int, int). 
org.apache.poi.ss.format.CellFormat.ultimateType(Cell)
          POI 3.15. This will return a CellType enum in the future 
org.apache.poi.ss.format.CellFormat.ultimateTypeEnum(Cell)
          POI 3.15 beta 3 Will be deleted when we make the CellType enum transition. See bug 59791. 
org.apache.poi.ss.util.WorkbookUtil.validateSheetState(int)
          POI 3.16 beta 2. Use SheetVisibility instead. 
 

Deprecated Constructors
org.apache.poi.ss.formula.ptg.AreaPtg(String)
          use AreaPtg.AreaPtg(AreaReference) instead 
org.apache.poi.ss.util.AreaReference(CellReference, CellReference)
          use AreaReference.AreaReference(CellReference, CellReference, SpreadsheetVersion) instead