Deprecated API


Contents
Deprecated Classes
org.apache.poi.xssf.util.EvilUnclosedBRFixingInputStream
          3.16-beta2 - use ReplacingInputStream(source, ">br<", ">br/<") 
org.apache.poi.xwpf.model.XMLParagraph
          3.16 beta1. This class isn't used ... 
org.apache.poi.xssf.usermodel.helpers.XSSFPaswordHelper
          POI 3.15 beta 3. Use XSSFPasswordHelper instead. 
 

Deprecated Fields
org.apache.poi.openxml4j.opc.internal.ZipHelper.READ_WRITE_FILE_BUFFER_SIZE
          in POI 3.16-beta3, not used anymore 
 

Deprecated Methods
org.apache.poi.xssf.model.StylesTable._getNumberFormatSize()
          POI 3.14 beta 2. Use StylesTable.getNumDataFormats() instead. 
org.apache.poi.POIXMLDocumentPart._invokeOnDocumentRead(POIXMLDocumentPart)
           
org.apache.poi.xssf.streaming.SXSSFRow.createCell(int, int)
          POI 3.15 beta 3. Use SXSSFRow.createCell(int, CellType) instead. 
org.apache.poi.xssf.usermodel.XSSFRow.createCell(int, int)
          POI 3.15 beta 3. Use XSSFRow.createCell(int, CellType) instead. 
org.apache.poi.xssf.streaming.SXSSFCreationHelper.createHyperlink(int)
          POI 3.15 beta 3. Use SXSSFCreationHelper.createHyperlink(HyperlinkType) instead. 
org.apache.poi.xssf.usermodel.XSSFCreationHelper.createHyperlink(int)
          POI 3.15 beta 3. Use XSSFCreationHelper.createHyperlink(HyperlinkType) instead. 
org.apache.poi.xssf.model.CommentsTable.findCellComment(String)
          2015-11-23 (circa POI 3.14beta1). Use CommentsTable.findCellComment(CellAddress) instead 
org.apache.poi.xssf.model.StylesTable.findFont(short, short, short, String, boolean, boolean, short, byte)
          POI 3.15 beta 2. Use StylesTable.findFont(boolean, short, short, String, boolean, boolean, short, byte) instead. 
org.apache.poi.xssf.streaming.SXSSFWorkbook.findFont(short, short, short, String, boolean, boolean, short, byte)
          POI 3.15 beta 2. Use SXSSFWorkbook.findFont(boolean, short, short, String, boolean, boolean, short, byte) instead. 
org.apache.poi.xssf.usermodel.XSSFWorkbook.findFont(short, short, short, String, boolean, boolean, short, byte)
          POI 3.15. Use XSSFWorkbook.findFont(boolean, short, short, String, boolean, boolean, short, byte) instead. 
org.apache.poi.xssf.usermodel.XSSFCellStyle.getAlignment()
          POI 3.15 beta 3. Use XSSFCellStyle.getAlignmentEnum() instead. 
org.apache.poi.xssf.usermodel.XSSFFont.getBoldweight()
          3.15 beta 2. Scheduled for removal in 3.17. Use XSSFFont.getBold() instead. 
org.apache.poi.xssf.usermodel.XSSFCellStyle.getBorderBottom()
          3.15 beta 2. Use XSSFCellStyle.getBorderBottomEnum() 
org.apache.poi.xssf.usermodel.XSSFBorderFormatting.getBorderBottom()
          POI 3.15. Use XSSFBorderFormatting.getBorderBottomEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.xssf.usermodel.XSSFBorderFormatting.getBorderDiagonal()
          POI 3.15. Use XSSFBorderFormatting.getBorderDiagonalEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.xssf.usermodel.XSSFCellStyle.getBorderLeft()
          3.15 beta 2. Use XSSFCellStyle.getBorderLeftEnum() 
org.apache.poi.xssf.usermodel.XSSFBorderFormatting.getBorderLeft()
          POI 3.15. Use XSSFBorderFormatting.getBorderLeftEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.xssf.usermodel.XSSFCellStyle.getBorderRight()
          3.15 beta 2. Use XSSFCellStyle.getBorderRightEnum() instead 
org.apache.poi.xssf.usermodel.XSSFBorderFormatting.getBorderRight()
          POI 3.15. Use XSSFBorderFormatting.getBorderRightEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.xssf.usermodel.XSSFCellStyle.getBorderTop()
          3.15 beta 2. Use XSSFCellStyle.getBorderTopEnum() instead. 
org.apache.poi.xssf.usermodel.XSSFBorderFormatting.getBorderTop()
          POI 3.15. Use XSSFBorderFormatting.getBorderTopEnum(). This method will return an BorderStyle enum in the future. 
org.apache.poi.xssf.streaming.SXSSFCell.getCachedFormulaResultType()
          3.15. Will return a CellType enum in the future. 
org.apache.poi.xssf.usermodel.XSSFCell.getCachedFormulaResultType()
          3.15. Will return a CellType enum in the future. 
org.apache.poi.xssf.streaming.SXSSFSheet.getCellComment(int, int)
          as of 2015-11-23 (circa POI 3.14beta1). Use SXSSFSheet.getCellComment(CellAddress) instead. 
org.apache.poi.xssf.usermodel.XSSFSheet.getCellComment(int, int)
          as of 2015-11-23 (circa POI 3.14beta1). Use XSSFSheet.getCellComment(CellAddress) instead. 
org.apache.poi.xssf.streaming.SXSSFCell.getCellType()
          3.15. Will return a CellType enum in the future. 
org.apache.poi.xssf.usermodel.XSSFCell.getCellType()
          3.15. Will return a CellType enum in the future. 
org.apache.poi.xssf.model.CommentsTable.getCTComment(String)
          2015-11-23 (circa POI 3.14beta1). Use CommentsTable.getCTComment(CellAddress) instead 
org.apache.poi.xssf.usermodel.XSSFCellStyle.getFillPattern()
          POI 3.15 beta 3. This method will return FillPatternType in the future. Use XSSFCellStyle.setFillPattern(FillPatternType) instead. 
org.apache.poi.xssf.usermodel.XSSFDataFormat.getFormat(int)
          POI 3.16 beta 1 - use XSSFDataFormat.getFormat(short) instead 
org.apache.poi.xssf.streaming.SXSSFWorkbook.getNameAt(int)
          3.16. New projects should avoid accessing named ranges by index. 
org.apache.poi.xssf.usermodel.XSSFWorkbook.getNameAt(int)
          3.16. New projects should avoid accessing named ranges by index. 
org.apache.poi.xssf.streaming.SXSSFWorkbook.getNameIndex(String)
          3.16. New projects should avoid accessing named ranges by index. Use SXSSFWorkbook.getName(String) instead. 
org.apache.poi.xssf.usermodel.XSSFWorkbook.getNameIndex(String)
          3.16. New projects should avoid accessing named ranges by index. Use XSSFWorkbook.getName(String) instead. 
org.apache.poi.xssf.usermodel.XSSFTable.getNumerOfMappedColumns()
          3.15 beta 2. Use XSSFTable.getNumberOfMappedColumns(). 
org.apache.poi.xwpf.usermodel.XWPFRun.getParagraph()
          use XWPFRun.getParent() instead 
org.apache.poi.xssf.usermodel.XSSFChart.getTitle()
          POI 3.16, use XSSFChart.getTitleText() instead. 
org.apache.poi.xssf.usermodel.XSSFHyperlink.getType()
          POI 3.15 beta 3. Use XSSFHyperlink.getTypeEnum() instead. getType will return a HyperlinkType enum in the future. 
org.apache.poi.xssf.usermodel.XSSFCellStyle.getVerticalAlignment()
          POI 3.15 beta 3. Use XSSFCellStyle.getVerticalAlignmentEnum() instead. 
org.apache.poi.POIXMLDocument.hasOOXMLHeader(InputStream)
          use the method from DocumentFactoryHelper, deprecated as of 3.15-beta1, therefore eligible for removal in 3.17 
org.apache.poi.xwpf.usermodel.XWPFRun.isStrike()
           
org.apache.poi.xssf.model.CommentsTable.newComment(String)
          2015-11-23 (circa POI 3.14beta1). Use CommentsTable.newComment(CellAddress) instead 
org.apache.poi.xssf.model.CommentsTable.referenceUpdated(String, CTComment)
          2015-11-23 (circa POI 3.14beta1). Use CommentsTable.referenceUpdated(CellAddress, CTComment) instead 
org.apache.poi.xssf.model.CommentsTable.removeComment(String)
          2015-11-23 (circa POI 3.14beta1). Use CommentsTable.removeComment(CellAddress) instead 
org.apache.poi.xssf.streaming.SXSSFWorkbook.removeName(int)
          3.16. New projects should use SXSSFWorkbook.removeName(Name). 
org.apache.poi.xssf.usermodel.XSSFWorkbook.removeName(int)
          3.16. New projects should use XSSFWorkbook.removeName(Name). 
org.apache.poi.xssf.streaming.SXSSFWorkbook.removeName(String)
          3.16. New projects should use SXSSFWorkbook.removeName(Name). 
org.apache.poi.xssf.usermodel.XSSFWorkbook.removeName(String)
          3.16. New projects should use XSSFWorkbook.removeName(Name). 
org.apache.poi.xssf.usermodel.XSSFSheet.setActiveCell(String)
          3.14beta2 (circa 2015-12-05). Use XSSFSheet.setActiveCell(CellAddress) instead. 
org.apache.poi.xssf.usermodel.XSSFCellStyle.setAlignment(short)
          POI 3.15 beta 3. Use XSSFCellStyle.setAlignment(HorizontalAlignment) instead. 
org.apache.poi.xssf.usermodel.XSSFClientAnchor.setAnchorType(int)
          POI 3.15. Use ClientAnchor.setAnchorType(AnchorType) instead 
org.apache.poi.xssf.usermodel.XSSFFont.setBoldweight(short)
          3.15 beta 2. Scheduled for removal in 3.17. Use XSSFFont.setBold(boolean) instead. 
org.apache.poi.xssf.usermodel.XSSFCellStyle.setBorderBottom(short)
          3.15 beta 2. Use XSSFCellStyle.setBorderBottom(BorderStyle) 
org.apache.poi.xssf.usermodel.XSSFBorderFormatting.setBorderBottom(short)
          3.15 beta 2. Use XSSFBorderFormatting.setBorderBottom(BorderStyle) 
org.apache.poi.xssf.usermodel.XSSFBorderFormatting.setBorderDiagonal(short)
          3.15 beta 2. Use XSSFBorderFormatting.setBorderDiagonal(BorderStyle) 
org.apache.poi.xssf.usermodel.XSSFCellStyle.setBorderLeft(short)
          3.15 beta 2. Use XSSFCellStyle.setBorderLeft(BorderStyle) 
org.apache.poi.xssf.usermodel.XSSFBorderFormatting.setBorderLeft(short)
          3.15 beta 2. Use XSSFBorderFormatting.setBorderLeft(BorderStyle) 
org.apache.poi.xssf.usermodel.XSSFCellStyle.setBorderRight(short)
          3.15 beta 2. Use XSSFCellStyle.setBorderRight(BorderStyle) 
org.apache.poi.xssf.usermodel.XSSFBorderFormatting.setBorderRight(short)
          3.15 beta 2. Use XSSFBorderFormatting.setBorderRight(BorderStyle) 
org.apache.poi.xssf.usermodel.XSSFCellStyle.setBorderTop(short)
          3.15 beta 2. Use XSSFCellStyle.setBorderTop(BorderStyle) 
org.apache.poi.xssf.usermodel.XSSFBorderFormatting.setBorderTop(short)
          3.15 beta 2. Use XSSFBorderFormatting.setBorderTop(BorderStyle) 
org.apache.poi.xssf.streaming.SXSSFCell.setCellType(int)
          POI 3.15 beta 3. Use SXSSFCell.setCellType(CellType) instead. Will be deleted when we make the CellType enum transition. See bug 59791. 
org.apache.poi.xssf.usermodel.XSSFCell.setCellType(int)
          POI 3.15 beta 3. Use XSSFCell.setCellType(CellType) instead. 
org.apache.poi.xssf.usermodel.XSSFCellStyle.setFillPattern(short)
          POI 3.15. Use XSSFCellStyle.setFillPattern(FillPatternType) instead. 
org.apache.poi.xssf.streaming.SXSSFWorkbook.setSheetHidden(int, int)
           
org.apache.poi.xssf.usermodel.XSSFWorkbook.setSheetHidden(int, int)
           
org.apache.poi.xwpf.usermodel.XWPFRun.setStrike(boolean)
           
org.apache.poi.xssf.usermodel.XSSFSheet.setTabColor(int)
          3.15-beta2. Removed in 3.17. Use XSSFSheet.setTabColor(XSSFColor). 
org.apache.poi.xssf.usermodel.XSSFChart.setTitle(String)
          POI 3.16, use XSSFChart.setTitleText(String) instead. 
org.apache.poi.xssf.usermodel.XSSFCellStyle.setVerticalAlignment(short)
          POI 3.15 beta 3. Use XSSFCellStyle.setVerticalAlignment(VerticalAlignment) instead. 
org.apache.poi.xwpf.usermodel.XWPFParagraph.setWordWrap(boolean)
           
org.apache.poi.xssf.streaming.SXSSFSheet.setZoom(int, int)
          2015-11-23 (circa POI 3.14beta1). Use SXSSFSheet.setZoom(int) instead. 
org.apache.poi.xssf.usermodel.XSSFSheet.setZoom(int, int)
          2015-11-23 (circa POI 3.14beta1). Use XSSFSheet.setZoom(int) instead. 
org.apache.poi.xssf.usermodel.helpers.XSSFRowShifter.shiftMerged(int, int, int)
          POI 3.15 beta 2. Use RowShifter.shiftMergedRegions(int, int, int) instead. 
org.apache.poi.xssf.usermodel.XSSFWorkbook.xssfSheetIterator()
          3.13. New projects should use the preferred options. Note: XSSFWorkbook.xssfSheetIterator is deprecated and will be removed in 3.15. 
 

Deprecated Constructors
org.apache.poi.xssf.streaming.SXSSFCell(SXSSFRow, int)
          POI 3.15 beta 3. Will be deleted when we make the CellType enum transition. See bug 59791. 
org.apache.poi.xssf.streaming.SXSSFRow(SXSSFSheet, int)
          2015-11-30 (circa POI 3.14beta1). Use SXSSFRow.SXSSFRow(SXSSFSheet) instead. 
org.apache.poi.xssf.usermodel.XSSFHyperlink(int)
          POI 3.15 beta 3. Use XSSFHyperlink.XSSFHyperlink(HyperlinkType) instead. 
org.apache.poi.xwpf.usermodel.XWPFRun(CTR, XWPFParagraph)
          Use XWPFRun.XWPFRun(CTR, IRunBody)