Package org.apache.poi.hssf.record
Class TableRecord
- java.lang.Object
-
- org.apache.poi.hssf.record.RecordBase
-
- org.apache.poi.hssf.record.Record
-
- org.apache.poi.hssf.record.StandardRecord
-
- org.apache.poi.hssf.record.SharedValueRecordBase
-
- org.apache.poi.hssf.record.TableRecord
-
- All Implemented Interfaces:
Duplicatable,GenericRecord
public final class TableRecord extends SharedValueRecordBase
The record specifies a data table.This record is preceded by a single Formula record that defines the first cell in the data table, which should only contain a single
Ptg.
-
-
Field Summary
Fields Modifier and Type Field Description static shortsid
-
Constructor Summary
Constructors Constructor Description TableRecord(RecordInputStream in)TableRecord(TableRecord other)TableRecord(CellRangeAddress8Bit range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableRecordcopy()intgetColInputCol()intgetColInputRow()protected intgetExtraDataSize()intgetFlags()Map<String,Supplier<?>>getGenericProperties()HSSFRecordTypesgetGenericRecordType()intgetRowInputCol()intgetRowInputRow()shortgetSid()return the non static version of the id for this record.booleanisAlwaysCalc()booleanisColDeleted()booleanisOneNotTwoVar()booleanisRowDeleted()booleanisRowOrColInpCell()protected voidserializeExtraData(LittleEndianOutput out)voidsetAlwaysCalc(boolean flag)voidsetColDeleted(boolean flag)voidsetColInputCol(int colInputCol)voidsetColInputRow(int colInputRow)voidsetFlags(int flags)voidsetOneNotTwoVar(boolean flag)voidsetRowDeleted(boolean flag)voidsetRowInputCol(int rowInputCol)voidsetRowInputRow(int rowInputRow)voidsetRowOrColInpCell(boolean flag)-
Methods inherited from class org.apache.poi.hssf.record.SharedValueRecordBase
getDataSize, getFirstColumn, getFirstRow, getLastColumn, getLastRow, getRange, isFirstCell, isInRange, serialize
-
Methods inherited from class org.apache.poi.hssf.record.StandardRecord
getRecordSize, serialize
-
Methods inherited from class org.apache.poi.hssf.record.Record
cloneViaReserialise, serialize, toString
-
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
-
TableRecord
public TableRecord(TableRecord other)
-
TableRecord
public TableRecord(RecordInputStream in)
-
TableRecord
public TableRecord(CellRangeAddress8Bit range)
-
-
Method Detail
-
getFlags
public int getFlags()
-
setFlags
public void setFlags(int flags)
-
getRowInputRow
public int getRowInputRow()
-
setRowInputRow
public void setRowInputRow(int rowInputRow)
-
getColInputRow
public int getColInputRow()
-
setColInputRow
public void setColInputRow(int colInputRow)
-
getRowInputCol
public int getRowInputCol()
-
setRowInputCol
public void setRowInputCol(int rowInputCol)
-
getColInputCol
public int getColInputCol()
-
setColInputCol
public void setColInputCol(int colInputCol)
-
isAlwaysCalc
public boolean isAlwaysCalc()
-
setAlwaysCalc
public void setAlwaysCalc(boolean flag)
-
isRowOrColInpCell
public boolean isRowOrColInpCell()
-
setRowOrColInpCell
public void setRowOrColInpCell(boolean flag)
-
isOneNotTwoVar
public boolean isOneNotTwoVar()
-
setOneNotTwoVar
public void setOneNotTwoVar(boolean flag)
-
isColDeleted
public boolean isColDeleted()
-
setColDeleted
public void setColDeleted(boolean flag)
-
isRowDeleted
public boolean isRowDeleted()
-
setRowDeleted
public void setRowDeleted(boolean flag)
-
getSid
public short getSid()
Description copied from class:Recordreturn the non static version of the id for this record.
-
getExtraDataSize
protected int getExtraDataSize()
- Specified by:
getExtraDataSizein classSharedValueRecordBase
-
serializeExtraData
protected void serializeExtraData(LittleEndianOutput out)
- Specified by:
serializeExtraDatain classSharedValueRecordBase
-
copy
public TableRecord copy()
- Specified by:
copyin interfaceDuplicatable- Specified by:
copyin classStandardRecord- Returns:
- a deep copy of the implementing class / instance
-
getGenericRecordType
public HSSFRecordTypes getGenericRecordType()
- Specified by:
getGenericRecordTypein interfaceGenericRecord- Specified by:
getGenericRecordTypein classRecord
-
-