Package org.apache.poi.hssf.record
Class OldSheetRecord
- java.lang.Object
-
- org.apache.poi.hssf.record.OldSheetRecord
-
- All Implemented Interfaces:
GenericRecord
public final class OldSheetRecord extends Object implements GenericRecord
Title: Bound Sheet Record (aka BundleSheet) (0x0085) for BIFF 5Description: Defines a sheet within a workbook. Basically stores the sheet name and tells where the Beginning of file record is within the HSSF file.
-
-
Field Summary
Fields Modifier and Type Field Description static shortsid
-
Constructor Summary
Constructors Constructor Description OldSheetRecord(RecordInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Supplier<?>>getGenericProperties()HSSFRecordTypesgetGenericRecordType()intgetPositionOfBof()get the offset in bytes of the Beginning of File Marker within the HSSF Stream part of the POIFS fileStringgetSheetname()get the sheetname for this sheet.shortgetSid()voidsetCodePage(CodepageRecord codepage)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren
-
-
-
-
Field Detail
-
sid
public static final short sid
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OldSheetRecord
public OldSheetRecord(RecordInputStream in)
-
-
Method Detail
-
setCodePage
public void setCodePage(CodepageRecord codepage)
-
getSid
public short getSid()
-
getPositionOfBof
public int getPositionOfBof()
get the offset in bytes of the Beginning of File Marker within the HSSF Stream part of the POIFS file- Returns:
- offset in bytes
-
getSheetname
public String getSheetname()
get the sheetname for this sheet. (this appears in the tabs at the bottom)- Returns:
- sheetname the name of the sheet
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordTypein interfaceGenericRecord
-
getGenericProperties
public Map<String,Supplier<?>> getGenericProperties()
- Specified by:
getGenericPropertiesin interfaceGenericRecord
-
-