Package loci.poi.hssf.record.formula
Class Area3DPtg
java.lang.Object
loci.poi.hssf.record.formula.Ptg
loci.poi.hssf.record.formula.Area3DPtg
- Direct Known Subclasses:
DeletedArea3DPtg
Title: Area 3D Ptg - 3D referecnce (Sheet + Area)
Description: Defined a area in Extern Sheet.
REFERENCE:
- Version:
- 1.0-pre
- Author:
- Libin Roman (Vista Portal LDT. Developer), avik, Jason Height (jheight at chariot dot net dot au)
-
Field Summary
FieldsFields inherited from class loci.poi.hssf.record.formula.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass -
Constructor Summary
ConstructorsConstructorDescriptionCreates new AreaPtg -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanbyteshortshortshortshortshortshortshortintgetSize()inthashCode()booleanbooleanbooleanbooleanvoidvoidsetExternSheetIndex(short index) voidsetFirstColRelative(boolean rel) set whether the first column is relativevoidsetFirstColumn(short column) voidsetFirstColumnRaw(short column) voidsetFirstRow(short row) voidsetFirstRowRelative(boolean rel) sets the first row to relative or notvoidsetLastColRelative(boolean rel) set whether the last column should be relative or notvoidsetLastColumn(short column) voidsetLastColumnRaw(short column) voidsetLastRow(short row) voidsetLastRowRelative(boolean rel) set whether the last row is relative or nottoFormulaString(Workbook book) return a string representation of this token alonetoString()Overridden toString method to ensure object hash is not printed.voidwriteBytes(byte[] array, int offset) write this Ptg to a byte arrayMethods inherited from class loci.poi.hssf.record.formula.Ptg
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString
-
Field Details
-
sid
public static final byte sid- See Also:
-
-
Constructor Details
-
Area3DPtg
public Area3DPtg()Creates new AreaPtg -
Area3DPtg
-
Area3DPtg
-
-
Method Details
-
toString
Description copied from class:PtgOverridden toString method to ensure object hash is not printed. This helps get rid of gratuitous diffs when comparing two dumps Subclasses may output more relevant information by overriding this method -
writeBytes
public void writeBytes(byte[] array, int offset) Description copied from class:Ptgwrite this Ptg to a byte array- Specified by:
writeBytesin classPtg
-
getSize
public int getSize() -
getExternSheetIndex
public short getExternSheetIndex() -
setExternSheetIndex
public void setExternSheetIndex(short index) -
getFirstRow
public short getFirstRow() -
setFirstRow
public void setFirstRow(short row) -
getLastRow
public short getLastRow() -
setLastRow
public void setLastRow(short row) -
getFirstColumn
public short getFirstColumn() -
getFirstColumnRaw
public short getFirstColumnRaw() -
isFirstRowRelative
public boolean isFirstRowRelative() -
isFirstColRelative
public boolean isFirstColRelative() -
setFirstColumn
public void setFirstColumn(short column) -
setFirstColumnRaw
public void setFirstColumnRaw(short column) -
getLastColumn
public short getLastColumn() -
getLastColumnRaw
public short getLastColumnRaw() -
isLastRowRelative
public boolean isLastRowRelative() -
isLastColRelative
public boolean isLastColRelative() -
setLastColumn
public void setLastColumn(short column) -
setLastColumnRaw
public void setLastColumnRaw(short column) -
setFirstRowRelative
public void setFirstRowRelative(boolean rel) sets the first row to relative or not- Parameters:
rel- FIXME: Document this!
-
setFirstColRelative
public void setFirstColRelative(boolean rel) set whether the first column is relative -
setLastRowRelative
public void setLastRowRelative(boolean rel) set whether the last row is relative or not- Parameters:
rel- FIXME: Document this!
-
setLastColRelative
public void setLastColRelative(boolean rel) set whether the last column should be relative or not -
setArea
-
toFormulaString
Description copied from class:Ptgreturn a string representation of this token alone- Specified by:
toFormulaStringin classPtg
-
getDefaultOperandClass
public byte getDefaultOperandClass()- Specified by:
getDefaultOperandClassin classPtg
-
clone
-
equals
-
hashCode
public int hashCode()
-