Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Contents

- Deprecated Classes
- Deprecated Methods
- Deprecated Constructors

Deprecated Classes
org.apache.poi.hwpf.model.BytePropertyNode byte positions shall not be saved in memory
org.apache.poi.hwpf.usermodel.Shape Use `OfficeDrawing` instead

Deprecated Methods
org.apache.poi.hwpf.usermodel.CharacterRun.cloneProperties() This method shall not be public and should not be called from high-level code
org.apache.poi.hwpf.usermodel.Picture.getAspectRatioX() use more precise `Picture.getHorizontalScalingFactor()`
org.apache.poi.hwpf.usermodel.Picture.getAspectRatioY() use more precise `Picture.getVerticalScalingFactor()`
org.apache.poi.hwpf.model.CharIndexTranslator.getCharIndex(int) This API were based on incorrect assumption that single byte offset corresponds to single char offset
org.apache.poi.hwpf.model.CharIndexTranslator.getCharIndex(int, int) This API were based on incorrect assumption that single byte offset corresponds to single char offset
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.HWPFDocument.getFieldsTables()
org.apache.poi.hwpf.model.types.FibBaseAbstractType.getFSpare0() 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.HWPFDocument.getShapesTable() use `HWPFDocument.getOfficeDrawingsMain()` instead
org.apache.poi.hslf.usermodel.PictureData.getSize() Use `getData().length` instead.
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.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.usermodel.Range.insertAfter(ParagraphProperties, int) Use code shall not work with `ParagraphProperties`
org.apache.poi.hwpf.usermodel.Range.insertAfter(ParagraphProperties, int, int, int) Use code shall not work with `ParagraphProperties`
org.apache.poi.hwpf.usermodel.Range.insertAfter(String, CharacterProperties) User code should not work with `CharacterProperties`
org.apache.poi.hwpf.usermodel.Range.insertBefore(ParagraphProperties, int) Use code shall not work with `ParagraphProperties`
org.apache.poi.hwpf.usermodel.Range.insertBefore(ParagraphProperties, int, int, int) Use code shall not work with `ParagraphProperties`
org.apache.poi.hwpf.usermodel.Range.insertBefore(String, CharacterProperties) User code should not work with `CharacterProperties`
org.apache.poi.hwpf.usermodel.Range.insertBefore(TableProperties, int) Use code shall not work with `TableProperties`. Use `Range.insertTableBefore(short, int)` instead
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.LVLFAbstractType.isUnused1() 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.usermodel.Range.usesUnicode() Range is not linked to any text piece anymore, so to check if unicode is used please access `TextPieceTable` during document load time

Deprecated Constructors
org.apache.poi.hwpf.model.BytePropertyNode(int, int, CharIndexTranslator, Object)
org.apache.poi.hwpf.model.CHPBinTable(byte[], byte[], int, int, int, TextPieceTable) Use `CHPBinTable.CHPBinTable(byte[], byte[], int, int, CharIndexTranslator)` instead
org.apache.poi.hwpf.model.CHPFormattedDiskPage(byte[], int, int, TextPieceTable) Use `CHPFormattedDiskPage.CHPFormattedDiskPage(byte[], int, CharIndexTranslator)` instead
org.apache.poi.hwpf.model.DocumentProperties(byte[], int) Use `DocumentProperties.DocumentProperties(byte[],int,int)` instead
org.apache.poi.hdgf.HDGFDiagram(DirectoryNode, POIFSFileSystem) Use `HDGFDiagram.HDGFDiagram(DirectoryNode)` instead
org.apache.poi.hpbf.HPBFDocument(DirectoryNode, POIFSFileSystem) Use `HPBFDocument.HPBFDocument(DirectoryNode)` instead
org.apache.poi.hslf.HSLFSlideShow(DirectoryNode, POIFSFileSystem) Use `HSLFSlideShow.HSLFSlideShow(DirectoryNode)` instead
org.apache.poi.hwpf.HWPFDocument(DirectoryNode, POIFSFileSystem) Use `HWPFDocument.HWPFDocument(DirectoryNode)` instead
org.apache.poi.hsmf.MAPIMessage(DirectoryNode, POIFSFileSystem) Use `MAPIMessage.MAPIMessage(DirectoryNode)` instead
org.apache.poi.hwpf.model.OldSectionTable(byte[], int, int, int, TextPieceTable) Use `OldSectionTable.OldSectionTable(byte[],int,int)` instead
org.apache.poi.hwpf.model.PAPBinTable(byte[], byte[], byte[], int, int, int, TextPieceTable) Use `PAPBinTable.PAPBinTable(byte[], byte[], byte[], int, int, CharIndexTranslator)` instead
org.apache.poi.hwpf.model.PAPFormattedDiskPage(byte[]) Use `PAPFormattedDiskPage.PAPFormattedDiskPage()` instead
org.apache.poi.hwpf.model.PAPFormattedDiskPage(byte[], byte[], int, int, TextPieceTable) Use `PAPFormattedDiskPage.PAPFormattedDiskPage(byte[], byte[], int, CharIndexTranslator)` instead
org.apache.poi.hslf.extractor.PowerPointExtractor(DirectoryNode, POIFSFileSystem) Use `PowerPointExtractor.PowerPointExtractor(DirectoryNode)` instead
org.apache.poi.hwpf.sprm.SprmBuffer() Use `SprmBuffer.SprmBuffer(int)` instead
org.apache.poi.hwpf.sprm.SprmBuffer(byte[]) Use `SprmBuffer.SprmBuffer(byte[],int)` instead
org.apache.poi.hwpf.sprm.SprmBuffer(byte[], boolean) Use `SprmBuffer.SprmBuffer(byte[],boolean,int)` instead
org.apache.poi.hwpf.model.TextPiece(int, int, byte[], PieceDescriptor, int) Use `TextPiece.TextPiece(int,int,byte[],PieceDescriptor)` instead
org.apache.poi.hdgf.extractor.VisioTextExtractor(DirectoryNode, POIFSFileSystem) Use `VisioTextExtractor.VisioTextExtractor(DirectoryNode)` instead
org.apache.poi.hwpf.extractor.Word6Extractor(DirectoryNode, POIFSFileSystem) Use `Word6Extractor.Word6Extractor(DirectoryNode)` instead
org.apache.poi.hwpf.extractor.WordExtractor(DirectoryNode, POIFSFileSystem) Use `WordExtractor.WordExtractor(DirectoryNode)` instead

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES