|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Ptg | |
---|---|
org.apache.poi.hssf.model | Provides low level API structures for reading, writing, modifying XLS files. |
org.apache.poi.hssf.record | Record package contains class representations for XLS binary strutures. |
org.apache.poi.hssf.record.formula | formula package contains binary PTG structures used in Formulas |
org.apache.poi.hssf.record.formula.eval | |
org.apache.poi.hssf.usermodel | usermodel package maps HSSF low level strutures to familiar workbook/sheet model |
Uses of Ptg in org.apache.poi.hssf.model |
---|
Methods in org.apache.poi.hssf.model that return Ptg | |
---|---|
Ptg[] |
FormulaParser.getRPNPtg()
API call to retrive the array of Ptgs created as a result of the parsing |
Ptg[] |
FormulaParser.getRPNPtg(int formulaType)
|
static Ptg[] |
FormulaParser.parse(java.lang.String formula,
HSSFWorkbook book)
|
Methods in org.apache.poi.hssf.model with parameters of type Ptg | |
---|---|
static java.lang.String |
FormulaParser.toFormulaString(HSSFWorkbook book,
Ptg[] ptgs)
Static method to convert an array of Ptgs in RPN order to a human readable string format in infix mode. |
java.lang.String |
FormulaParser.toFormulaString(Ptg[] ptgs)
Static method to convert an array of Ptgs in RPN order to a human readable string format in infix mode. |
Uses of Ptg in org.apache.poi.hssf.record |
---|
Methods in org.apache.poi.hssf.record that return Ptg | |
---|---|
Ptg[] |
CFRuleRecord.getParsedExpression1()
get the stack of the 1st expression as a list |
Ptg[] |
CFRuleRecord.getParsedExpression2()
get the stack of the 2nd expression as a list |
Ptg |
FormulaRecord.peekExpressionToken()
peek at the token on the top of stack |
Ptg |
FormulaRecord.popExpressionToken()
pop a token off of the stack |
Methods in org.apache.poi.hssf.record with parameters of type Ptg | |
---|---|
void |
FormulaRecord.pushExpressionToken(Ptg ptg)
push a token onto the stack |
Uses of Ptg in org.apache.poi.hssf.record.formula |
---|
Subclasses of Ptg in org.apache.poi.hssf.record.formula | |
---|---|
class |
AbstractFunctionPtg
This class provides the base functionality for Excel sheet functions There are two kinds of function Ptgs - tFunc and tFuncVar Therefore, this class will have ONLY two subclasses |
class |
AddPtg
Addition operator PTG the "+" binomial operator. |
class |
Area3DPtg
Title: Area 3D Ptg - 3D reference (Sheet + Area) |
class |
AreaErrPtg
AreaErr - handles deleted cell area references. |
class |
AreaNPtg
Specifies a rectangular area of cells A1:A4 for instance. |
class |
AreaPtg
Specifies a rectangular area of cells A1:A4 for instance. |
class |
AreaPtgBase
Specifies a rectangular area of cells A1:A4 for instance. |
class |
ArrayPtg
ArrayPtg - handles arrays The ArrayPtg is a little weird, the size of the Ptg when parsing initially only includes the Ptg sid and the reserved bytes. |
class |
AttrPtg
"Special Attributes" This seems to be a Misc Stuff and Junk record. |
class |
BoolPtg
Boolean (boolean) Stores a (java) boolean value in a formula. |
class |
ConcatPtg
|
class |
ControlPtg
Common superclass for tExp tTbl tParen tNlr tAttr tSheet tEndSheet |
class |
DeletedArea3DPtg
Title: Deleted Area 3D Ptg - 3D referecnce (Sheet + Area) |
class |
DeletedRef3DPtg
Title: Deleted Reference 3D Ptg |
class |
DividePtg
This PTG implements the standard binomial divide "/" |
class |
EqualPtg
|
class |
ErrPtg
|
class |
ExpPtg
|
class |
FuncPtg
|
class |
FuncVarPtg
|
class |
GreaterEqualPtg
PTG class to implement greater or equal to |
class |
GreaterThanPtg
Greater than operator PTG ">" |
class |
IntersectionPtg
|
class |
IntPtg
Integer (unsigned short integer) Stores an unsigned short value (java int) in a formula |
class |
LessEqualPtg
Ptg class to implement less than or equal |
class |
LessThanPtg
Less than operator PTG "<". |
class |
MemAreaPtg
|
class |
MemErrPtg
|
class |
MemFuncPtg
|
class |
MissingArgPtg
Missing Function Arguments Avik Sengupta <avik at apache.org> |
class |
MultiplyPtg
Implements the standard mathmatical multiplication - * |
class |
NamePtg
|
class |
NameXPtg
|
class |
NotEqualPtg
Ptg class to implement not equal |
class |
NumberPtg
Number Stores a floating point value in a formula value stored in a 8 byte field using IEEE notation |
class |
OperandPtg
|
class |
OperationPtg
defines a Ptg that is an operation instead of an operand |
class |
ParenthesisPtg
While formula tokens are stored in RPN order and thus do not need parenthesis for precedence reasons, Parenthesis tokens ARE written to ensure that user entered parenthesis are displayed as-is on reading back Avik Sengupta <lists@aviksengupta.com> Andrew C. |
class |
PercentPtg
Percent PTG. |
class |
PowerPtg
|
class |
RangePtg
|
class |
Ref3DPtg
Title: Reference 3D Ptg |
class |
RefErrorPtg
RefError - handles deleted cell reference |
class |
RefNPtg
RefNPtg |
class |
RefPtg
ReferencePtg - handles references (such as A1, A2, IA4) |
class |
RefPtgBase
ReferencePtgBase - handles references (such as A1, A2, IA4) |
class |
StringPtg
String Stores a String value in a formula value stored in the format <length 2 bytes>char[] |
class |
SubtractPtg
|
class |
UnaryMinusPtg
Unary Plus operator does not have any effect on the operand |
class |
UnaryPlusPtg
Unary Plus operator does not have any effect on the operand |
class |
UnionPtg
|
class |
UnknownPtg
|
class |
ValueOperatorPtg
Common superclass of all value operators. |
Fields in org.apache.poi.hssf.record.formula declared as Ptg | |
---|---|
static Ptg |
MissingArgPtg.instance
|
Methods in org.apache.poi.hssf.record.formula that return Ptg | |
---|---|
Ptg |
Ptg.copy()
|
static Ptg |
Ptg.createPtg(RecordInputStream in)
|
static Ptg[] |
Ptg.readTokens(int size,
RecordInputStream in)
Reads size bytes of the input stream, to create an array of Ptgs. |
Methods in org.apache.poi.hssf.record.formula with parameters of type Ptg | |
---|---|
static int |
Ptg.getEncodedSize(Ptg[] ptgs)
|
static int |
Ptg.serializePtgs(Ptg[] ptgs,
byte[] data,
int offset)
Writes the ptgs to the data buffer, starting at the specified offset. |
Uses of Ptg in org.apache.poi.hssf.record.formula.eval |
---|
Constructors in org.apache.poi.hssf.record.formula.eval with parameters of type Ptg | |
---|---|
AddEval(Ptg ptg)
|
|
Area2DEval(Ptg ptg,
ValueEval[] values)
|
|
Area3DEval(Ptg ptg,
ValueEval[] values)
|
|
BoolEval(Ptg ptg)
|
|
ConcatEval(Ptg ptg)
|
|
DivideEval(Ptg ptg)
|
|
EqualEval(Ptg ptg)
|
|
FuncVarEval(Ptg funcPtg)
|
|
GreaterEqualEval(Ptg ptg)
|
|
GreaterThanEval(Ptg ptg)
|
|
LessEqualEval(Ptg ptg)
|
|
LessThanEval(Ptg ptg)
|
|
MultiplyEval(Ptg ptg)
|
|
NotEqualEval(Ptg ptg)
|
|
NumberEval(Ptg ptg)
|
|
PercentEval(Ptg ptg)
|
|
PowerEval(Ptg ptg)
|
|
StringEval(Ptg ptg)
|
|
SubtractEval(Ptg ptg)
|
|
UnaryMinusEval(Ptg ptg)
|
|
UnaryPlusEval(Ptg ptg)
called by reflection |
Uses of Ptg in org.apache.poi.hssf.usermodel |
---|
Methods in org.apache.poi.hssf.usermodel with parameters of type Ptg | |
---|---|
protected static Eval |
HSSFFormulaEvaluator.getEvalForPtg(Ptg ptg)
returns an appropriate Eval impl instance for the Ptg. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |