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 ... 
 

Deprecated Fields
org.apache.poi.xssf.usermodel.XSSFWorkbook.DEFAULT_CHARACTER_WIDTH
          POI 3.17 beta 1 
org.apache.poi.xssf.usermodel.XSSFShape.EMU_PER_PIXEL
          POI 3.17 beta 1 
org.apache.poi.xssf.usermodel.XSSFShape.EMU_PER_POINT
          POI 3.17 beta 1 
org.apache.poi.xssf.usermodel.XSSFShape.PIXEL_DPI
          POI 3.17 beta 1 
org.apache.poi.xssf.usermodel.XSSFShape.POINT_DPI
          POI 3.17 beta 1 
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.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.usermodel.XSSFCellStyle.getAlignment()
          POI 3.15 beta 3. Use XSSFCellStyle.getAlignmentEnum() 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.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.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.xwpf.usermodel.XWPFRun.isStrike()
           
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.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.XSSFBorderFormatting.setBorderLeft(short)
          3.15 beta 2. Use XSSFBorderFormatting.setBorderLeft(BorderStyle) 
org.apache.poi.xssf.usermodel.XSSFBorderFormatting.setBorderRight(short)
          3.15 beta 2. Use XSSFBorderFormatting.setBorderRight(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.POIXMLTypeLoader.setClassLoader(ClassLoader)
          in POI 3.17 - setting a classloader from the outside is now obsolete, the classloader of the SchemaType will be used 
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.XSSFChart.setTitle(String)
          POI 3.16, use XSSFChart.setTitleText(String) instead. 
org.apache.poi.xwpf.usermodel.XWPFParagraph.setWordWrap(boolean)
           
org.apache.poi.xssf.usermodel.helpers.XSSFRowShifter.shiftMerged(int, int, int)
          POI 3.15 beta 2. Use RowShifter.shiftMergedRegions(int, int, int) instead. 
 

Deprecated Constructors
org.apache.poi.xssf.usermodel.XSSFColor(CTColor)
          3.17 beta 1 - pass the workbook styles indexed color map, if any 
org.apache.poi.xwpf.usermodel.XWPFRun(CTR, XWPFParagraph)
          Use XWPFRun.XWPFRun(CTR, IRunBody)