public final class Ref3DPtg extends RefPtgBase implements WorkbookDependentFormula, ExternSheetReferenceToken
Defined a cell in extern sheet.
This is HSSF only, as it matches the HSSF file format way of referring to the sheet by an extern index. The XSSF equivalent is Ref3DPxg
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Constructor and Description |
---|
Ref3DPtg(CellReference c, int externIdx) |
Ref3DPtg(LittleEndianInput in) |
Ref3DPtg(Ref3DPtg other) |
Ref3DPtg(java.lang.String cellref, int externIdx) |
Modifier and Type | Method and Description |
---|---|
Ref3DPtg |
copy() |
java.lang.String |
format2DRefAsString() |
int |
getExternSheetIndex() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
byte |
getSid() |
int |
getSize() |
void |
setExternSheetIndex(int index) |
java.lang.String |
toFormulaString()
return a string representation of this token alone
(单独返回此标记的字符串表示)
|
java.lang.String |
toFormulaString(FormulaRenderingWorkbook book) |
void |
write(LittleEndianOutput out) |
formatReferenceAsString, getColumn, getDefaultOperandClass, getRow, isColRelative, isRowRelative, readCoordinates, setColRelative, setColumn, setRow, setRowRelative, writeCoordinates
isBaseToken
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
public static final byte sid
public Ref3DPtg(Ref3DPtg other)
public Ref3DPtg(LittleEndianInput in)
public Ref3DPtg(java.lang.String cellref, int externIdx)
public Ref3DPtg(CellReference c, int externIdx)
public void write(LittleEndianOutput out)
public byte getSid()
public int getSize()
public int getExternSheetIndex()
getExternSheetIndex
in interface
ExternSheetReferenceToken
(接口 ExternSheetReferenceToken 中的 getExternSheetIndex)
public void setExternSheetIndex(int index)
public java.lang.String format2DRefAsString()
format2DRefAsString
in interface
ExternSheetReferenceToken
(接口 ExternSheetReferenceToken 中的 format2DRefAsString)
public java.lang.String toFormulaString(FormulaRenderingWorkbook book)
toFormulaString
in interface
WorkbookDependentFormula
(接口 WorkbookDependentFormula 中的 toFormulaString)
public java.lang.String toFormulaString()
Ptg
toFormulaString
in class
Ptg
(Ptg 类中的 toFormulaString)
public Ref3DPtg copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
OperandPtg
(在类 OperandPtg 中复制)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
getGenericProperties
in class
RefPtgBase
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.