formula package contains binary PTG structures used in Formulas
Related DocumentationFor overviews, tutorials, examples, guides, and tool documentation, please see:
Interface Summary Interface Description AreaICommon interface for AreaPtg and Area3DPtg, and their child classes. PxgAn XSSF only special kind of Ptg, which stores the sheet / book reference in string form. Pxg3DAn XSSF only special kind of Ptg, which stores a range of sheet / book references in string form.
Class Summary Class Description AbstractFunctionPtgThis 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 AddPtgAddition operator PTG the "+" binomial operator. Area2DPtgBaseCommon superclass of 2-D area refs Area3DPtgTitle: Area 3D Ptg - 3D reference (Sheet + Area) Area3DPxgTitle: XSSF Area 3D Reference (Sheet + Area) AreaErrPtgAreaErr - handles deleted cell area references. AreaI.OffsetArea AreaNPtgSpecifies a rectangular area of cells A1:A4 for instance. AreaPtgSpecifies a rectangular area of cells A1:A4 for instance. AreaPtgBaseSpecifies a rectangular area of cells A1:A4 for instance. ArrayPtgArrayPtg - 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. AttrPtg"Special Attributes" This seems to be a Misc Stuff and Junk record. AttrPtg.SpaceType BoolPtgBoolean (boolean) Stores a (java) boolean value in a formula. ConcatPtg ControlPtgCommon superclass for tExp tTbl tParen tNlr tAttr tSheet tEndSheet Deleted3DPxgAn XSSF only representation of a reference to a deleted area DeletedArea3DPtgTitle: Deleted Area 3D Ptg - 3D referecnce (Sheet + Area) DeletedRef3DPtgTitle: Deleted Reference 3D Ptg DividePtgThis PTG implements the standard binomial divide "/" EqualPtg ErrPtg ExpPtg FuncPtg FuncVarPtg GreaterEqualPtgPTG class to implement greater or equal to GreaterThanPtgGreater than operator PTG ">" IntersectionPtg IntPtgInteger (unsigned short integer) Stores an unsigned short value (java int) in a formula LessEqualPtgPtg class to implement less than or equal LessThanPtgLess than operator PTG "<". MemAreaPtg MemErrPtg MemFuncPtg MissingArgPtgMissing Function Arguments Avik Sengupta <avik at apache.org> MultiplyPtgImplements the standard mathmatical multiplication - * NamePtgSee the spec at 220.127.116.11 PtgName NameXPtgA Name, be that a Named Range or a Function / User Defined Function, addressed in the HSSF External Sheet style. NameXPxgA Name, be that a Named Range or a Function / User Defined Function, addressed in the HSSF External Sheet style. NotEqualPtgPtg class to implement not equal NumberPtgNumber Stores a floating point value in a formula value stored in a 8 byte field using IEEE notation OperandPtg OperationPtgdefines a Ptg that is an operation instead of an operand ParenthesisPtgWhile 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 <firstname.lastname@example.org> Andrew C. PercentPtgPercent PTG. PowerPtg PtgPtg represents a syntactic token in a formula. RangePtg Ref3DPtgTitle: Reference 3D Ptg Ref3DPxgTitle: XSSF 3D Reference RefErrorPtgRefError - handles deleted cell reference RefNPtgRefNPtg RefPtgReferencePtg - handles references (such as A1, A2, IA4) RefPtgBaseReferencePtgBase - handles references (such as A1, A2, IA4) ScalarConstantPtgCommon superclass of all
Ptgs that represent simple constant values.
StringPtgString Stores a String value in a formula value stored in the format <length 2 bytes>char SubtractPtg TblPtgThis ptg indicates a data table. UnaryMinusPtgUnary Plus operator does not have any effect on the operand UnaryPlusPtgUnary Plus operator does not have any effect on the operand UnionPtg UnknownPtg ValueOperatorPtgCommon superclass of all value operators.