diff options
Diffstat (limited to 'include/formula/token.hxx')
-rw-r--r-- | include/formula/token.hxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/formula/token.hxx b/include/formula/token.hxx index e3f6a2686ea9..09addbc7c7ff 100644 --- a/include/formula/token.hxx +++ b/include/formula/token.hxx @@ -20,6 +20,10 @@ #ifndef INCLUDED_FORMULA_TOKEN_HXX #define INCLUDED_FORMULA_TOKEN_HXX +#include <sal/config.h> + +#include <vector> + #include <string.h> #include <formula/opcode.hxx> #include <tools/mempool.hxx> @@ -29,6 +33,11 @@ #include <svl/sharedstring.hxx> #include <osl/interlck.h> +class ScJumpMatrix; +class ScMatrix; +struct ScComplexRefData; +struct ScSingleRefData; + namespace formula { @@ -154,6 +163,18 @@ public: virtual sal_uInt16 GetError() const; virtual void SetError( sal_uInt16 ); + virtual const ScSingleRefData* GetSingleRef() const; + virtual ScSingleRefData* GetSingleRef(); + virtual const ScComplexRefData* GetDoubleRef() const; + virtual ScComplexRefData* GetDoubleRef(); + virtual const ScSingleRefData* GetSingleRef2() const; + virtual ScSingleRefData* GetSingleRef2(); + virtual const ScMatrix* GetMatrix() const; + virtual ScMatrix* GetMatrix(); + virtual ScJumpMatrix* GetJumpMatrix() const; + virtual const std::vector<ScComplexRefData>* GetRefList() const; + virtual std::vector<ScComplexRefData>* GetRefList(); + virtual FormulaToken* Clone() const { return new FormulaToken(*this); } virtual bool TextEqual( const formula::FormulaToken& rToken ) const; |