-
Deprecated InterfacesInterfaceDescriptionuse XDDFChartAxis insteaduse XDDFChartData insteaduse XDDFDataSource insteaduse XDDFChartLegend insteaduse XDDFLineChartData insteaduse XDDFLineChartData.Series insteaduse XDDFManualLayout insteaduse XDDFScatterChartData insteaduse XDFFScatterChartData.Series insteaduse XDDFValueAxis instead
-
Deprecated ClassesClassDescriptionin 4.0.0, there's no way to create custom PropertyIDMaps, therefore this class is obsoletein POI 4.0.0, use
SlideShowExtractorinsteadsince 4.0.0 - use SLGraphicsPOI 4.0.0-SNAPSHOT. UseCellReferenceinstead. Actually the replacement CellReference was added earlier, but the deprecation notice was added only in 4.0.0-SNAPSHOT.POI 4.0.0byte positions shall not be saved in memoryNo longer used in POI code base, useOptionalinsteaduse XDDFDataSourcesFactory insteaduseXDDFChartData.SeriesinsteaduseXDDFCategoryAxisinsteaduseXDDFChartAxisinsteaduseXDDFChartLegendinsteaduseXDDFDateAxisinsteaduseXDDFLineChartDatainsteaduseinsteaduseXDDFScatterChartDatainsteaduseXDDFValueAxisinstead
-
Deprecated Enum ClassesEnum ClassDescriptionuse XDDF AxisCrossBetweenuse XDDF AxisCrosses insteaduse XDDF AxisOrientationuse XDDF AxisPosition insteaduse XDDF AxisTickMark insteaduse XDDF LayoutTarget insteaduse XDDF LayoutPosition insteadenum will be replaced by common version org.apache.poi.common.usermodel.FontCharset
-
Deprecated FieldsFieldDescriptionuse enum
ClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefineduse enumClassIDPredefinedPOI 3.8 beta 5POI 3.8 beta 5POI 3.8 beta 5POI 3.8 beta 5POI 3.8 beta 5POI 3.8 beta 5POI 3.8 beta 5POI 3.17 beta 1
-
Deprecated MethodsMethodDescriptionuse
getType()insteadPOI 3.15 beta 3POI 3.15 beta 3superfluous convenience methodmethod is not used within POI and will be removedmethod is not used within POI and will be removedmethod is not used within POI and will be removedusegetTypeinsteadin POI 3.17-beta2, use allocateShapeId(EscherDgRecord)in POI 3.17-beta2, use allocateShapeId(EscherDgRecord)POI 2.0 Best to write a input stream that wraps this one where there is special sub record that may overlap continue records.usegetCachedFormulaResultTypeWill be deleted when we make the CellType enum transition. See bug 59791.3.15 beta 2. UseHSSFCell.setCellErrorValue(FormulaError)instead.usegetType()insteadPOI 3.15 beta 2. UseRowShifter.shiftMergedRegions(int, int, int).3.8 beta 43.8 beta 4POI 3.8.Though bytes are actually stored in file, it is advised to use char positions for all operations. Including save operations, because only char positions are preserved.Though bytes are actually stored in file, it is advised to use char positions for all operations. Including save operations, because only char positions are preserved.This field should not be used according to specificationThis field should not be used according to specificationThis field should not be used according to specificationThis field should not be used according to specificationThis field should not be used according to specificationThis field should not be used according to specificationThis field should not be used according to specificationThis field should not be used according to specificationThis field should not be used according to specificationThis field should not be used according to specificationThis field should not be used according to specification3.8 beta 43.8 beta 43.8 beta 43.8 beta 43.8 beta 43.8 beta 43.8 beta 43.8 beta 43.8 beta 43.8 beta 43.8 beta 43.8 beta 4POI 3.8 beta 4.POI 3.8 beta 4.POI 3.8 beta 5.POI 3.8 beta 5.Use the method with correct "embedded"Use the method with correct "embedded"usegetAllEmbeddedPartsinsteadin 3.17-beta2, useFileMagic.valueOf(InputStream)== FileMagic.OOXML insteaduseultimateTypeinsteaduseevaluateFormulaCell(cell)insteadPOI 3.15 beta 3. Will be deleted when we make the CellType enum transition. See bug 59791.POI 3.15 beta 3.useappendFormat(StringBuilder out, String rawSheetName)insteaduseappendFormat(StringBuilder out, String workbookName, String rawSheetName)insteadusegetBorderBottominsteadusegetBorderDiagonalinsteadusegetBorderHorizontalinsteadusegetBorderLeftinsteadusegetBorderRightinsteadusegetBorderTopinsteadusegetBorderVerticalinsteadusegetAlignment()insteadusegetBorderBottom()insteadusegetBorderLeft()insteadusegetBorderRight()insteadusegetBorderTop()insteadusegetFillPattern()insteadusegetFontIndexAsInt()insteadusegetVerticalAlignment()insteadPOI 3.15 beta 3. Used to transition code fromints toCellTypes.POI 3.15 beta 3usegetCellTypeinsteadusegetIndexAsInt()insteaduseevaluateFormulaCell(cell)usegetFontAt(int)4.0.0. New projects should avoid accessing named ranges by index.3.18. New projects should avoid accessing named ranges by index. UseWorkbook.getName(String)instead.usegetNumberOfFontsAsInt()instead3.18. New projects should useWorkbook.removeName(Name).3.18. New projects should useWorkbook.removeName(Name).use XSSFWorkbookFactory.createsince 4.0, use try-with-resources, will be removed in 4.2since 4.0, use try-with-resources, will be removed in 4.2since 4.0, use try-with-resources, will be removed in 4.2since 4.0, use try-with-resources, will be removed in 4.2since 4.0, use try-with-resources, will be removed in 4.2since 4.0, use try-with-resources, will be removed in 4.2usegetItemAtinsteadusegetItemAtinsteadusegetItemAtinsteadusegetItemAtinsteadusegetCellAddressesinsteaduseaddSharedStringItem(RichTextString string)insteadusegetItemAt(int idx)insteadusegetSharedStringItemsinsteadusegetCachedFormulaResultTypeinsteadusegetCellTypeinstead3.16. New projects should avoid accessing named ranges by index.3.16. New projects should avoid accessing named ranges by index. UseSXSSFWorkbook.getName(String)instead.3.16. New projects should useSXSSFWorkbook.removeName(Name).3.16. New projects should useSXSSFWorkbook.removeName(Name).UseXSSFTableColumn.getId()instead.usegetCachedFormulaResultTypeinstead Will be deleted when we make the CellType enum transition. See bug 59791.usegetCellTypeinsteaduseXDDFChart.getAxes()insteadusegetTypeinsteadUse {@link #createTable(AreaReference))} insteadUseXSSFTable.getColumnCount()instead.UseXSSFTableColumn.getXmlColumnPr()instead.3.16. New projects should avoid accessing named ranges by index.3.16. New projects should avoid accessing named ranges by index. UseXSSFWorkbook.getName(String)instead.3.16. New projects should useXSSFWorkbook.removeName(Name).3.16. New projects should useXSSFWorkbook.removeName(Name).useXWPFRun.getParent()insteaduseXWPFRun.getVerticalAlignment4.0.0 due to lack of implementation.
-
Deprecated ConstructorsConstructorDescriptionUse
Word6Extractor(DirectoryNode)insteadUseDocumentProperties(byte[],int,int)insteadUseOldSectionTable(byte[],int,int)insteadorg.apache.poi.hwpf.model.PicturesTable(HWPFDocument, byte[], byte[], FSPATable, EscherRecordHolder) as of 4.0.0, we want to have the indexed map, and all calling contexts have access to it.3.17 beta 1 - pass the workbook styles indexed color map, if any3.17 beta 1 - pass the workbook styles indexed color map, if any4.0.0 - use the factoryXSSFColor.from(CTColor, IndexedColorMap)method instead to check for null CTColor instances. Make private eventually
-
Deprecated Enum Constants