Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    org.apache.poi.openxml4j.util.ZipSecureFile.getName()
    there is no need for this method - it will be removed in a future version of POI (deprecated since POI 5.3.0)
    org.apache.poi.xssf.model.ExternalLinksTable.getCTExternalLink()
    will be removed because we don't want to expose this (future implementations may not be XMLBeans based)
  • Deprecated Classes
    Class
    Description
    org.apache.poi.hwpf.model.BytePropertyNode
    byte positions shall not be saved in memory
  • Deprecated Fields
    Field
    Description
    org.apache.poi.ddf.EscherRecord.MAX_NUMBER_OF_CHILDREN
    use EscherRecord.setMaxNumberOfChildren(int) and EscherRecord.getMaxNumberOfChildren() instead - the field will be made private
    org.apache.poi.hpsf.VariantSupport.SUPPORTED_TYPES
    use VariantSupport.isSupportedType(int) - the field will be removed
    org.apache.poi.hslf.usermodel.HSLFSimpleShape.ADJUST_VALUES
    the field will be removed
    org.apache.poi.hwmf.usermodel.HwmfPicture.MAX_RECORD_LENGTH
    use HwmfPicture.setMaxRecordLength(int) and HwmfPicture.getMaxRecordLength() instead - the field will be made private
    org.apache.poi.hwpf.model.FIBFieldHandler.PLCFLST
    org.apache.poi.hwpf.model.FieldsTables.PLCFFLDATN
    org.apache.poi.hwpf.model.FieldsTables.PLCFFLDEDN
    org.apache.poi.hwpf.model.FieldsTables.PLCFFLDFTN
    org.apache.poi.hwpf.model.FieldsTables.PLCFFLDHDR
    org.apache.poi.hwpf.model.FieldsTables.PLCFFLDHDRTXBX
    org.apache.poi.hwpf.model.FieldsTables.PLCFFLDMOM
    org.apache.poi.hwpf.model.FieldsTables.PLCFFLDTXBX
    org.apache.poi.hwpf.model.types.FibBaseAbstractType.field_11_Chs
    org.apache.poi.hwpf.model.types.FibBaseAbstractType.field_12_chsTables
    org.apache.poi.hwpf.model.types.FibBaseAbstractType.field_13_fcMin
    org.apache.poi.hwpf.model.types.FibBaseAbstractType.field_14_fcMac
    org.apache.poi.hwpf.model.types.FibBaseAbstractType.field_9_envr
    org.apache.poi.hwpf.model.types.FibRgLw95AbstractType.field_14_reserved5
    org.apache.poi.hwpf.model.types.FibRgLw95AbstractType.field_2_reserved1
    org.apache.poi.hwpf.model.types.FibRgLw95AbstractType.field_3_reserved2
    org.apache.poi.hwpf.model.types.FibRgLw95AbstractType.field_4_reserved3
    org.apache.poi.hwpf.model.types.FibRgLw95AbstractType.field_5_reserved4
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_12_reserved4
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_13_reserved5
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_14_reserved6
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_15_reserved7
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_16_reserved8
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_17_reserved9
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_18_reserved10
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_19_reserved11
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_2_reserved1
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_20_reserved12
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_21_reserved13
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_22_reserved14
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_3_reserved2
    org.apache.poi.hwpf.model.types.FibRgLw97AbstractType.field_7_reserved3
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_1_reserved1
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_10_reserved10
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_11_reserved11
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_12_reserved12
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_13_reserved13
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_2_reserved2
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_3_reserved3
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_4_reserved4
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_5_reserved5
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_6_reserved6
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_7_reserved7
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_8_reserved8
    org.apache.poi.hwpf.model.types.FibRgW97AbstractType.field_9_reserved9
    org.apache.poi.hwpf.usermodel.Range.TYPE_CHARACTER
    POI 3.8 beta 5
    org.apache.poi.hwpf.usermodel.Range.TYPE_LISTENTRY
    POI 3.8 beta 5
    org.apache.poi.hwpf.usermodel.Range.TYPE_PARAGRAPH
    POI 3.8 beta 5
    org.apache.poi.hwpf.usermodel.Range.TYPE_SECTION
    POI 3.8 beta 5
    org.apache.poi.hwpf.usermodel.Range.TYPE_TABLE
    POI 3.8 beta 5
    org.apache.poi.hwpf.usermodel.Range.TYPE_TEXT
    POI 3.8 beta 5
    org.apache.poi.hwpf.usermodel.Range.TYPE_UNDEFINED
    POI 3.8 beta 5
    org.apache.poi.ss.util.CellUtil.ALIGNMENT
    as of POI 5.4.0. Use CellPropertyType.ALIGNMENT instead.
    org.apache.poi.ss.util.CellUtil.BORDER_BOTTOM
    as of POI 5.4.0. Use CellPropertyType.BORDER_BOTTOM instead.
    org.apache.poi.ss.util.CellUtil.BORDER_LEFT
    as of POI 5.4.0. Use CellPropertyType.BORDER_LEFT instead.
    org.apache.poi.ss.util.CellUtil.BORDER_RIGHT
    as of POI 5.4.0. Use CellPropertyType.BORDER_RIGHT instead.
    org.apache.poi.ss.util.CellUtil.BORDER_TOP
    as of POI 5.4.0. Use CellPropertyType.BORDER_TOP instead.
    org.apache.poi.ss.util.CellUtil.BOTTOM_BORDER_COLOR
    as of POI 5.4.0. Use CellPropertyType.BORDER_BOTTOM instead.
    org.apache.poi.ss.util.CellUtil.DATA_FORMAT
    as of POI 5.4.0. Use CellPropertyType.DATA_FORMAT instead.
    org.apache.poi.ss.util.CellUtil.FILL_BACKGROUND_COLOR
    as of POI 5.4.0. Use CellPropertyType.FILL_BACKGROUND_COLOR instead.
    org.apache.poi.ss.util.CellUtil.FILL_BACKGROUND_COLOR_COLOR
    as of POI 5.4.0. Use CellPropertyType.FILL_BACKGROUND_COLOR_COLOR instead.
    org.apache.poi.ss.util.CellUtil.FILL_FOREGROUND_COLOR
    as of POI 5.4.0. Use CellPropertyType.FILL_FOREGROUND_COLOR instead.
    org.apache.poi.ss.util.CellUtil.FILL_FOREGROUND_COLOR_COLOR
    as of POI 5.4.0. Use CellPropertyType.FILL_FOREGROUND_COLOR_COLOR instead.
    org.apache.poi.ss.util.CellUtil.FILL_PATTERN
    as of POI 5.4.0. Use CellPropertyType.FILL_PATTERN instead.
    org.apache.poi.ss.util.CellUtil.FONT
    as of POI 5.4.0. Use CellPropertyType.FONT instead.
    org.apache.poi.ss.util.CellUtil.HIDDEN
    as of POI 5.4.0. Use CellPropertyType.HIDDEN instead.
    org.apache.poi.ss.util.CellUtil.INDENTION
    as of POI 5.4.0. Use CellPropertyType.INDENTION instead.
    org.apache.poi.ss.util.CellUtil.LEFT_BORDER_COLOR
    as of POI 5.4.0. Use CellPropertyType.BOTTOM_BORDER_COLOR instead.
    org.apache.poi.ss.util.CellUtil.LOCKED
    as of POI 5.4.0. Use CellPropertyType.LOCKED instead.
    org.apache.poi.ss.util.CellUtil.QUOTE_PREFIXED
    as of POI 5.4.0. Use CellPropertyType.QUOTE_PREFIXED instead.
    org.apache.poi.ss.util.CellUtil.RIGHT_BORDER_COLOR
    as of POI 5.4.0. Use CellPropertyType.RIGHT_BORDER_COLOR instead.
    org.apache.poi.ss.util.CellUtil.ROTATION
    as of POI 5.4.0. Use CellPropertyType.ROTATION instead.
    org.apache.poi.ss.util.CellUtil.SHRINK_TO_FIT
    as of POI 5.4.0. Use CellPropertyType.SHRINK_TO_FIT instead.
    org.apache.poi.ss.util.CellUtil.TOP_BORDER_COLOR
    as of POI 5.4.0. Use CellPropertyType.TOP_BORDER_COLOR instead.
    org.apache.poi.ss.util.CellUtil.VERTICAL_ALIGNMENT
    as of POI 5.4.0. Use CellPropertyType.VERTICAL_ALIGNMENT instead.
    org.apache.poi.ss.util.CellUtil.WRAP_TEXT
    as of POI 5.4.0. Use CellPropertyType.WRAP_TEXT instead.
    org.apache.poi.xssf.usermodel.XSSFPictureData.RELATIONS
    the field will be removed
    org.apache.poi.xwpf.usermodel.XWPFPictureData.RELATIONS
    the field will be removed
  • Deprecated Methods
    Method
    Description
    org.apache.poi.hssf.record.FormulaRecord.getCachedResultTypeEnum()
    POI 6.0.0, use FormulaRecord.getCachedResultType() instead
    org.apache.poi.hssf.record.FormulaSpecialCachedValue.getValueType()
    POI 5.0.0, will be removed in 5.0, use getValueTypeEnum until switch to enum is fully done
    org.apache.poi.hssf.record.OldFormulaRecord.getCachedResultTypeEnum()
    POI 6.0.0, use OldFormulaRecord.getCachedResultType() instead
    org.apache.poi.hssf.record.RecordInputStream.readAllContinuedRemainder()
    POI 2.0 Best to write an input stream that wraps this one where there is special sub record that may overlap continue records.
    org.apache.poi.hssf.usermodel.HSSFCell.setCellErrorValue(byte)
    3.15 beta 2. Use HSSFCell.setCellErrorValue(FormulaError) instead.
    org.apache.poi.hssf.usermodel.HSSFSheet.createSplitPane(int, int, int, int, int)
    use HSSFSheet.createSplitPane(int, int, int, int, PaneType)
    org.apache.poi.hssf.usermodel.HSSFSheet.getMargin(short)
    use HSSFSheet.getMargin(PageMargin)
    org.apache.poi.hssf.usermodel.HSSFSheet.setMargin(short, double)
    use HSSFSheet.setMargin(PageMargin, double) 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.hwpf.extractor.Word6Extractor.getParagraphText()
    org.apache.poi.hwpf.extractor.WordExtractor.getFooterText()
    3.8 beta 4
    org.apache.poi.hwpf.extractor.WordExtractor.getHeaderText()
    3.8 beta 4
    org.apache.poi.hwpf.model.BytePropertyNode.getEndBytes()
    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.
    org.apache.poi.hwpf.model.BytePropertyNode.getStartBytes()
    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.
    org.apache.poi.hwpf.model.CHPBinTable.writeTo(HWPFFileSystem, int, CharIndexTranslator)
    org.apache.poi.hwpf.model.ComplexFileTable.writeTo(HWPFFileSystem)
    org.apache.poi.hwpf.model.FieldsTables.getFieldsPLCF(int)
    org.apache.poi.hwpf.model.FileInformationBlock.getFcPlcffldAtn()
    org.apache.poi.hwpf.model.FileInformationBlock.getFcPlcffldEdn()
    org.apache.poi.hwpf.model.FileInformationBlock.getFcPlcffldFtn()
    org.apache.poi.hwpf.model.FileInformationBlock.getFcPlcffldHdr()
    org.apache.poi.hwpf.model.FileInformationBlock.getFcPlcffldHdrtxbx()
    org.apache.poi.hwpf.model.FileInformationBlock.getFcPlcffldMom()
    org.apache.poi.hwpf.model.FileInformationBlock.getFcPlcffldTxbx()
    org.apache.poi.hwpf.model.FileInformationBlock.getFcPlcfLst()
    org.apache.poi.hwpf.model.FileInformationBlock.getLcbPlcffldAtn()
    org.apache.poi.hwpf.model.FileInformationBlock.getLcbPlcffldEdn()
    org.apache.poi.hwpf.model.FileInformationBlock.getLcbPlcffldFtn()
    org.apache.poi.hwpf.model.FileInformationBlock.getLcbPlcffldHdr()
    org.apache.poi.hwpf.model.FileInformationBlock.getLcbPlcffldHdrtxbx()
    org.apache.poi.hwpf.model.FileInformationBlock.getLcbPlcffldMom()
    org.apache.poi.hwpf.model.FileInformationBlock.getLcbPlcffldTxbx()
    org.apache.poi.hwpf.model.FileInformationBlock.getLcbPlcfLst()
    org.apache.poi.hwpf.model.FileInformationBlock.setFcPlcffldAtn(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setFcPlcffldEdn(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setFcPlcffldFtn(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setFcPlcffldHdr(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setFcPlcffldHdrtxbx(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setFcPlcffldMom(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setFcPlcffldTxbx(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setFcPlcfLst(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setLcbPlcffldAtn(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setLcbPlcffldEdn(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setLcbPlcffldFtn(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setLcbPlcffldHdr(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setLcbPlcffldHdrtxbx(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setLcbPlcffldMom(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setLcbPlcffldTxbx(int)
    org.apache.poi.hwpf.model.FileInformationBlock.setLcbPlcfLst(int)
    org.apache.poi.hwpf.model.FontTable.writeTo(HWPFFileSystem)
    org.apache.poi.hwpf.model.OldTextPiece.adjustForDelete(int, int)
    org.apache.poi.hwpf.model.OldTextPiece.substring(int, int)
    org.apache.poi.hwpf.model.PAPX.getParagraphProperties(StyleSheet)
    org.apache.poi.hwpf.model.SectionTable.writeTo(HWPFFileSystem, int)
    org.apache.poi.hwpf.model.StyleDescription.getCHP()
    org.apache.poi.hwpf.model.StyleDescription.getPAP()
    org.apache.poi.hwpf.model.StyleSheet.getCharacterStyle(int)
    org.apache.poi.hwpf.model.StyleSheet.getParagraphStyle(int)
    org.apache.poi.hwpf.model.TextPiece.adjustForDelete(int, int)
    org.apache.poi.hwpf.model.TextPiece.characterLength()
    org.apache.poi.hwpf.model.TextPiece.getStringBuffer()
    org.apache.poi.hwpf.model.TextPiece.substring(int, int)
    org.apache.poi.hwpf.model.TextPieceTable.getCharIndex(int)
    org.apache.poi.hwpf.model.TextPieceTable.getCharIndex(int, int)
    org.apache.poi.hwpf.model.types.FibBaseAbstractType.getFSpare0()
    This field should not be used according to specification
    org.apache.poi.hwpf.model.types.FibBaseAbstractType.isFEmptySpecial()
    This field should not be used according to specification
    org.apache.poi.hwpf.model.types.FibBaseAbstractType.isFMac()
    This field should not be used according to specification
    org.apache.poi.hwpf.model.types.FibBaseAbstractType.isReserved1()
    This field should not be used according to specification
    org.apache.poi.hwpf.model.types.FibBaseAbstractType.isReserved2()
    This field should not be used according to specification
    org.apache.poi.hwpf.model.types.LFOLVLBaseAbstractType.getUnused1()
    This field should not be used according to specification
    org.apache.poi.hwpf.model.types.LFOLVLBaseAbstractType.getUnused2()
    This field should not be used according to specification
    org.apache.poi.hwpf.model.types.LSTFAbstractType.getReserved1()
    This field should not be used according to specification
    org.apache.poi.hwpf.model.types.LSTFAbstractType.isUnused1()
    This field should not be used according to specification
    org.apache.poi.hwpf.model.types.LSTFAbstractType.isUnused2()
    This field should not be used according to specification
    org.apache.poi.hwpf.model.types.LVLFAbstractType.isUnused1()
    This field should not be used according to specification
    org.apache.poi.hwpf.sprm.CharacterSprmUncompressor.uncompressCHP(CharacterProperties, byte[], int)
    org.apache.poi.hwpf.usermodel.HeaderStories.getEndnoteContNote()
    3.8 beta 4
    org.apache.poi.hwpf.usermodel.HeaderStories.getEndnoteContSeparator()
    3.8 beta 4
    org.apache.poi.hwpf.usermodel.HeaderStories.getEndnoteSeparator()
    3.8 beta 4
    org.apache.poi.hwpf.usermodel.HeaderStories.getEvenFooter()
    3.8 beta 4
    org.apache.poi.hwpf.usermodel.HeaderStories.getEvenHeader()
    3.8 beta 4
    org.apache.poi.hwpf.usermodel.HeaderStories.getFirstFooter()
    3.8 beta 4
    org.apache.poi.hwpf.usermodel.HeaderStories.getFirstHeader()
    3.8 beta 4
    org.apache.poi.hwpf.usermodel.HeaderStories.getFootnoteContNote()
    3.8 beta 4
    org.apache.poi.hwpf.usermodel.HeaderStories.getFootnoteContSeparator()
    3.8 beta 4
    org.apache.poi.hwpf.usermodel.HeaderStories.getFootnoteSeparator()
    3.8 beta 4
    org.apache.poi.hwpf.usermodel.HeaderStories.getOddFooter()
    3.8 beta 4
    org.apache.poi.hwpf.usermodel.HeaderStories.getOddHeader()
    3.8 beta 4
    org.apache.poi.ooxml.POIXMLDocumentPart._invokeOnDocumentRead(POIXMLDocumentPart)
    This method only exists to allow access to protected POIXMLDocumentPart.onDocumentRead() from XWPFDocument without reflection. It should be removed.
    org.apache.poi.openxml4j.util.ZipSecureFile.getName()
    there is no need for this method - it will be removed in a future version of POI (deprecated since POI 5.3.0)
    org.apache.poi.ss.usermodel.Cell.setCellType(CellType)
    This method is deprecated and will be removed in POI 5.0. Use explicit Cell.setCellFormula(String), setCellValue(...) or Cell.setBlank() to get the desired result.
    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.usermodel.CellType.getCode()
    POI 3.15 beta 3
    org.apache.poi.ss.usermodel.Sheet.createSplitPane(int, int, int, int, int)
    use Sheet.createSplitPane(int, int, int, int, PaneType)
    org.apache.poi.ss.usermodel.Sheet.getMargin(short)
    use Sheet.getMargin(PageMargin)
    org.apache.poi.ss.usermodel.Sheet.setMargin(short, double)
    use Sheet.setMargin(PageMargin, double) instead
    org.apache.poi.ss.util.CellUtil.setCellStyleProperties(Cell, Map<String, Object>)
    as of POI 5.4.0. See CellUtil.setCellStylePropertiesEnum(Cell, Map)
    org.apache.poi.ss.util.CellUtil.setCellStyleProperty(Cell, String, Object)
    as of POI 5.4.0. See CellUtil.setCellStyleProperty(Cell, CellPropertyType, Object)
    org.apache.poi.ss.util.PropertyTemplate.getBorderStyle(int, int, String)
    See PropertyTemplate.getBorderStyle(int, int, CellPropertyType)
    org.apache.poi.ss.util.PropertyTemplate.getBorderStyle(CellAddress, String)
    See PropertyTemplate.getBorderStyle(CellAddress, CellPropertyType)
    org.apache.poi.ss.util.PropertyTemplate.getTemplateProperty(int, int, String)
    See PropertyTemplate.getTemplateProperty(int, int, CellPropertyType)
    org.apache.poi.ss.util.PropertyTemplate.getTemplateProperty(CellAddress, String)
    See PropertyTemplate.getTemplateProperty(CellAddress, CellPropertyType)
    org.apache.poi.ss.util.SheetUtil.getCellWidth(Cell, int, DataFormatter, boolean)
    since POI 5.2.5, it is better to pass defaultCharWidth as a float
    org.apache.poi.ss.util.SheetUtil.getCellWidth(Cell, int, DataFormatter, boolean, List<CellRangeAddress>)
    since POI 5.2.5, it is better to pass defaultCharWidth as a float
    org.apache.poi.ss.util.SheetUtil.getDefaultCharWidth(Workbook)
    since POI 5.2.5, it is recommended to switch to SheetUtil.getDefaultCharWidthAsFloat(Workbook).
    org.apache.poi.xssf.binary.XSSFBSheetHandler.SheetContentsHandler.hyperlinkCell(String, String, String, String, XSSFComment)
    use XSSFBSheetHandler.SheetContentsHandler.hyperlinkCell(String, String, String, String, Comment)
    org.apache.poi.xssf.eventusermodel.XSSFSheetXMLHandler.SheetContentsHandler.cell(String, String, XSSFComment)
    use XSSFSheetXMLHandler.SheetContentsHandler.cell(String, String, Comment)
    org.apache.poi.xssf.model.ExternalLinksTable.getCTExternalLink()
    will be removed because we don't want to expose this (future implementations may not be XMLBeans based)
    org.apache.poi.xssf.streaming.SXSSFSheet.createSplitPane(int, int, int, int, int)
    use SXSSFSheet.createSplitPane(int, int, int, int, PaneType)
    org.apache.poi.xssf.streaming.SXSSFSheet.getMargin(short)
    use SXSSFSheet.getMargin(PageMargin)
    org.apache.poi.xssf.streaming.SXSSFSheet.setMargin(short, double)
    use SXSSFSheet.setMargin(PageMargin, double) instead
    org.apache.poi.xssf.streaming.SXSSFWorkbook.dispose()
    use SXSSFWorkbook.close() to close the workbook instead which also disposes of the temporary files
    org.apache.poi.xssf.usermodel.XSSFSheet.createSplitPane(int, int, int, int, int)
    use XSSFSheet.createSplitPane(int, int, int, int, PaneType)
    org.apache.poi.xssf.usermodel.XSSFSheet.getMargin(short)
    use XSSFSheet.getMargin(PageMargin)
    org.apache.poi.xssf.usermodel.XSSFSheet.setMargin(short, double)
    use XSSFSheet.setMargin(PageMargin, double) instead
    org.apache.poi.xssf.usermodel.XSSFWorkbook.getExternalLinksTable()
    use getExternalLinksTables() instead
    org.apache.poi.xwpf.usermodel.XWPFComments.addPictureData(byte[], int)
    use XWPFComments.addPictureData(byte[], PictureType) instead.
    org.apache.poi.xwpf.usermodel.XWPFDocument.getNextPicNameNumber(int)
    use XWPFDocument.getNextPicNameNumber(PictureType) instead.
    org.apache.poi.xwpf.usermodel.XWPFHeaderFooter.addPictureData(byte[], int)
    Use XWPFHeaderFooter.addPictureData(byte[], PictureType) instead.
    org.apache.poi.xwpf.usermodel.XWPFParagraph.setWordWrap(boolean)
    org.apache.poi.xwpf.usermodel.XWPFPictureData.getPictureType()
    use #getPictureTypeEnum()
    org.apache.poi.xwpf.usermodel.XWPFRun.addPicture(InputStream, int, String, int, int)
    use #addPicture(InputStream, PictureType, String, int, int)
    org.apache.poi.xwpf.usermodel.XWPFRun.getFontSize()
    use XWPFRun.getFontSizeAsDouble()
    org.apache.poi.xwpf.usermodel.XWPFRun.getParagraph()
    use XWPFRun.getParent() instead
    org.apache.poi.xwpf.usermodel.XWPFRun.getTextHightlightColor()
    use XWPFRun.getTextHighlightColor() instead
    org.apache.poi.xwpf.usermodel.XWPFRun.isStrike()
    org.apache.poi.xwpf.usermodel.XWPFRun.setStrike(boolean)
  • Deprecated Constructors
    Constructor
    Description
    org.apache.poi.hssf.usermodel.HSSFCellStyle(short, ExtendedFormatRecord, InternalWorkbook)
    org.apache.poi.hssf.usermodel.HSSFWorkbook(DirectoryNode, POIFSFileSystem, boolean)
    use the constructor that omits the ignored fs param instead
    org.apache.poi.hssf.util.HSSFColor(int, int, Color)
    use HSSFColor(int, int, int) instead
    org.apache.poi.hwpf.extractor.Word6Extractor(DirectoryNode, POIFSFileSystem)
    Use Word6Extractor(DirectoryNode) instead
    org.apache.poi.hwpf.model.CHPBinTable(byte[], byte[], int, int, int, TextPieceTable)
    Use CHPBinTable(byte[], byte[], int, int, CharIndexTranslator) instead
    org.apache.poi.hwpf.model.DocumentProperties(byte[], int)
    Use DocumentProperties(byte[],int,int) instead
    org.apache.poi.hwpf.model.ListLevel(byte[], int)
    org.apache.poi.hwpf.model.OldSectionTable(byte[], int, int, int, TextPieceTable)
    Use OldSectionTable(byte[],int,int) instead
    org.apache.poi.hwpf.model.PicturesTable(HWPFDocument, byte[], byte[], FSPATable, OfficeArtContent)
    org.apache.poi.hwpf.model.PlexOfField(int, int, byte[])
    org.apache.poi.xwpf.usermodel.XWPFRun(CTR, XWPFParagraph)
    Use XWPFRun(CTR, IRunBody)
  • Deprecated Enum Constants
    Enum Constant
    Description
    org.apache.poi.hwpf.model.SubdocumentType.MACRO

Copyright 2026 The Apache Software Foundation or its licensors, as applicable.]]>