Home
last modified time | relevance | path

Searched refs:FormulaToken (Results 1 – 25 of 73) sorted by relevance

123

/aoo4110/main/formula/inc/formula/
H A Dtoken.hxx85 class FormulaToken;
91 class FORMULA_DLLPUBLIC FormulaToken : public IFormulaToken class
95 FormulaToken();
96 FormulaToken& operator=( const FormulaToken& );
105 FormulaToken( const FormulaToken& r ) : IFormulaToken(), in FormulaToken() function in formula::FormulaToken
108 virtual ~FormulaToken();
150 virtual FormulaToken* GetFAPOrigToken() const;
154 virtual FormulaToken* Clone() const { return new FormulaToken(*this); } in Clone()
228 virtual FormulaToken* GetFAPOrigToken() const;
333 FormulaToken( r ) {} in FormulaMissingToken()
[all …]
H A Dtokenarray.hxx84 FormulaToken* Add( FormulaToken* );
104 FormulaToken* Next();
106 FormulaToken* NextNoSpaces();
107 FormulaToken* GetNextName();
108 FormulaToken* GetNextDBArea();
116 FormulaToken* PeekNext();
120 FormulaToken* NextRPN();
122 FormulaToken* PrevRPN();
199 FormulaToken* AddToken( const FormulaToken& );
253 const FormulaToken* First();
[all …]
H A DFormulaCompiler.hxx50 struct FormulaToken;
174 ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::FormulaToken >
228 FormulaToken* CreateStringFromToken( String& rFormula, FormulaToken* pToken,
230 FormulaToken* CreateStringFromToken( rtl::OUStringBuffer& rBuffer, FormulaToken* pToken,
249 …virtual FormulaTokenRef ExtendRangeReference( FormulaToken & rTok1, FormulaToken & rTok2, bool bRe…
250 virtual sal_Bool HandleExternalReference(const FormulaToken& _aToken);
282 bool MergeRangeReference( FormulaToken * * const pCode1, FormulaToken * const * const pCode2 );
294 FormulaToken** pCode;
352 void operator=( FormulaToken* p ) in operator =()
359 FormulaToken* operator->() in operator ->()
[all …]
/aoo4110/main/formula/source/core/api/
H A Dtoken.cxx80 FormulaToken::~FormulaToken() in ~FormulaToken()
140 sal_Bool FormulaToken::operator==( const FormulaToken& rToken ) const in operator ==()
216 FormulaToken* FormulaToken::GetFAPOrigToken() const in GetFAPOrigToken()
232 sal_Bool FormulaToken::TextEqual( const FormulaToken& rToken ) const in TextEqual()
606 FormulaToken** pp; in Assign()
639 FormulaToken** pp; in Clone()
699 FormulaToken* FormulaTokenArray::AddToken( const FormulaToken& r ) in AddToken()
709 FormulaToken* FormulaTokenArray::Add( FormulaToken* t ) in Add()
803 FormulaToken** pStack = new FormulaToken* [nRPN]; in HasMatrixDoubleRefOps()
1183 FormulaToken* pRet = NULL; in AddOpCode()
[all …]
H A DFormulaCompiler.cxx280 sheet::FormulaToken* pToken = aTokens.getArray(); in createSequenceOfFormulaTokens()
1167 FormulaToken** pCode1 = pCode - 1; in RangeLine()
1171 FormulaToken** pCode2 = pCode - 1; in RangeLine()
1346 FormulaTokenRef FormulaCompiler::ExtendRangeReference( FormulaToken & /*rTok1*/, FormulaToken & /*r… in ExtendRangeReference() argument
1351 bool FormulaCompiler::MergeRangeReference(FormulaToken * * const pCode1, FormulaToken * const * con… in MergeRangeReference()
1353 FormulaToken *p1, *p2; in MergeRangeReference()
1387 FormulaToken* pData[ MAXCODE ]; in CompileTokenArray()
1411 pArr->pRPN = new FormulaToken*[ pc ]; in CompileTokenArray()
1483 FormulaToken* t = pArr->First(); in CreateStringFromTokenArray()
1494 FormulaToken* FormulaCompiler::CreateStringFromToken( String& rFormula, FormulaToken* pTokenP,sal_B… in CreateStringFromToken()
[all …]
/aoo4110/main/sc/inc/
H A Dtoken.hxx57 class SC_DLLPUBLIC ScToken : public formula::FormulaToken
67 ScToken( const ScToken& r ): formula::FormulaToken(r) {} in ScToken()
117 …ormulaTokenRef ExtendRangeReference( formula::FormulaToken & rTok1, formula::FormulaToken
134 virtual FormulaToken* Clone() const { return new ScSingleRefToken(*this); } in Clone()
163 virtual FormulaToken* Clone() const { return new ScDoubleRefToken(*this); } in Clone()
180 virtual FormulaToken* Clone() const { return new ScMatrixToken(*this); } in Clone()
269 virtual FormulaToken* Clone() const { return new ScJumpMatrixToken(*this); } in Clone()
289 virtual FormulaToken* Clone() const { return new ScRefListToken(*this); } in Clone()
311 virtual FormulaToken* Clone() const { return new ScEmptyCellToken(*this); } in Clone()
400 void Assign( const formula::FormulaToken & r );
[all …]
H A Dtokenarray.hxx61 formula::FormulaToken* AddRawToken( const ScRawToken& );
62 …virtual bool AddFormulaToken(const com::sun::star::sheet::FormulaToken& _aToken,formula::ExternalR…
63 virtual formula::FormulaToken* AddOpCode( OpCode eCode );
65 formula::FormulaToken* AddSingleReference( const ScSingleRefData& rRef );
67 formula::FormulaToken* AddMatrixSingleReference( const ScSingleRefData& rRef );
68 formula::FormulaToken* AddDoubleReference( const ScComplexRefData& rRef );
69 formula::FormulaToken* AddExternalName( sal_uInt16 nFileId, const String& rName );
72 formula::FormulaToken* AddMatrix( ScMatrix* p );
74 formula::FormulaToken* AddColRowName( const ScSingleRefData& rRef );
75 virtual formula::FormulaToken* MergeArray( );
[all …]
H A Dcompiler.hxx199 formula::FormulaToken* CreateToken() const; // create typified token
521 virtual sal_Bool HandleExternalReference(const formula::FormulaToken& _aToken);
526 …ormula::FormulaTokenRef ExtendRangeReference( formula::FormulaToken & rTok1, formula::FormulaToken
527 …virtual void CreateStringFromExternal(rtl::OUStringBuffer& rBuffer, formula::FormulaToken* pTokenP…
528 …virtual void CreateStringFromSingleRef(rtl::OUStringBuffer& rBuffer,formula::FormulaToken* _pToken…
529 …virtual void CreateStringFromDoubleRef(rtl::OUStringBuffer& rBuffer,formula::FormulaToken* _pToken…
530 …virtual void CreateStringFromMatrix( rtl::OUStringBuffer& rBuffer, formula::FormulaToken* _pTokenP…
531 … virtual void CreateStringFromIndex(rtl::OUStringBuffer& rBuffer,formula::FormulaToken* _pTokenP);
H A Dformularesult.hxx42 const formula::FormulaToken* mpToken; // if not, result token obtained from interpreter
65 inline void ResolveToken( const formula::FormulaToken * p );
101 explicit ScFormulaResult( const formula::FormulaToken* p ) in ScFormulaResult()
129 inline void SetToken( const formula::FormulaToken* p );
224 inline void ScFormulaResult::ResolveToken( const formula::FormulaToken * p ) in ResolveToken()
303 inline void ScFormulaResult::SetToken( const formula::FormulaToken* p ) in SetToken()
H A Dfmtuno.hxx56 ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::FormulaToken > maTokens1;
57 ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::FormulaToken > maTokens2;
212 ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::FormulaToken > aTokens1;
213 ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::FormulaToken > aTokens2;
255 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::FormulaToken >
259 … const ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::FormulaToken >& aTokens )
H A Dtokenuno.hxx50 … const com::sun::star::uno::Sequence< com::sun::star::sheet::FormulaToken >& rSequence );
53 … com::sun::star::uno::Sequence< com::sun::star::sheet::FormulaToken >& rSequence,
84 …virtual ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::FormulaToken > SAL_CALL parseFor…
89 ::com::sun::star::sheet::FormulaToken >& aTokens,
/aoo4110/main/sc/source/core/tool/
H A Dtoken.cxx568 FormulaTokenRef ScToken::ExtendRangeReference( FormulaToken & rTok1, FormulaToken & rTok2, in ExtendRangeReference()
890 if (!FormulaToken::operator==(r)) in operator ==()
1026 if ( !FormulaToken::operator==(r) ) in operator ==()
1067 return FormulaToken::operator==( r ) && in operator ==()
1084 return FormulaToken::operator==( r ) && in operator ==()
1346 FormulaToken** pp; in Clone()
1363 FormulaToken* t = *pp; in Clone()
1366 FormulaToken** p2 = pCode; in Clone()
1403 FormulaToken* ScTokenArray::MergeArray( ) in MergeArray()
1408 FormulaToken* t; in MergeArray()
[all …]
H A Dinterpr4.cxx1032 FormulaToken* p = pStack[ sp ]; in PopToken()
1051 FormulaToken* p = pStack[ sp ]; in PopDouble()
1080 FormulaToken* p = pStack[ sp ]; in PopString()
1162 FormulaToken* p = pStack[ sp ]; in PopSingleRef()
1191 FormulaToken* p = pStack[ sp ]; in PopSingleRef()
1246 FormulaToken* p = pStack[sp]; in PopDoubleRef()
1282 FormulaToken* p = pStack[ sp ]; in PopDoubleRef()
1379 FormulaToken* p = pStack[ sp ]; in PopDoubleRef()
1587 FormulaToken* p = pStack[ sp ]; in PopMatrix()
3352 FormulaToken* mp;
[all …]
/aoo4110/main/offapi/com/sun/star/sheet/
H A DXFormulaOpCodeMapper.idl82 a sequence of <type>FormulaToken</type> matching the input
86 language in parameter Language is mapped to a <type>FormulaToken
88 application in <member>FormulaToken::OpCode</member> and by
90 FormulaToken::Data</member>.</p>
92 <p>The order of the FormulaToken sequence returned matches the
98 <p>Additional information in <member>FormulaToken::Data</member>
106 sequence< FormulaToken > getMappings(
130 mapped to a <type>FormulaToken</type> containing the internal
132 FormulaToken::OpCode</member> and by contract maybe additional
133 information in <member>FormulaToken::Data</member>. See <member>
H A DFormulaMapGroupSpecialOffset.idl47 <p>The <member>FormulaToken::Data</member> member shall contain one of
77 <p>The <member>FormulaToken::Data</member> member is not used
88 <p>The <member>FormulaToken::Data</member> member shall contain a
101 <p>The <member>FormulaToken::Data</member> member shall contain an
115 <p>The <member>FormulaToken::Data</member> member is not used
129 <p>The <member>FormulaToken::Data</member> member is not used
140 <p>The <member>FormulaToken::Data</member> member shall contain a
155 <p>The <member>FormulaToken::Data</member> member shall contain a
174 <p>The <member>FormulaToken::Data</member> member shall contain an
188 <p>The <member>FormulaToken::Data</member> member shall contain a
H A DXFormulaTokens.idl32 #include <com/sun/star/sheet/FormulaToken.idl>
49 sequence< FormulaToken > getTokens();
55 void setTokens( [in] sequence< FormulaToken > aTokens );
/aoo4110/main/reportbuilder/java/com/sun/star/report/pentaho/
H A DSOFormulaParser.java33 import com.sun.star.sheet.FormulaToken;
153 …public com.sun.star.sheet.FormulaToken[] parseFormula(String aFormula, com.sun.star.table.CellAddr… in parseFormula()
175 final FormulaToken formulaToken; in parseFormula()
198 formulaToken = new FormulaToken(); in parseFormula()
232 final FormulaToken dest = new FormulaToken(); in parseFormula()
247 return (FormulaToken[]) tokens.toArray(new FormulaToken[tokens.size()]); in parseFormula()
250 …public String printFormula(com.sun.star.sheet.FormulaToken[] aTokens, com.sun.star.table.CellAddre… in printFormula()
255 final FormulaToken formulaToken = aTokens[i]; in printFormula()
391 final FormulaToken token = new FormulaToken(ownTokenCounter++, Any.VOID); in addOpCodes()
H A DSOFormulaOpCodeMapper.java30 import com.sun.star.sheet.FormulaToken;
61 …public com.sun.star.sheet.FormulaToken[] getMappings(String[] Names, int Language) throws com.sun.… in getMappings()
77 return (com.sun.star.sheet.FormulaToken[]) token.toArray(new FormulaToken[token.size()]); in getMappings()
/aoo4110/main/sc/source/filter/inc/
H A Dxlformula.hxx423 namespace formula { class FormulaToken; }
449 inline const ::formula::FormulaToken* Get() const { return mppScToken ? *mppScToken : 0; } in Get()
450 inline const ::formula::FormulaToken* operator->() const { return Get(); } in operator ->()
451 inline const ::formula::FormulaToken& operator*() const { return *Get(); } in operator *()
460 …const ::formula::FormulaToken*const* mppScTokenBeg; /// Pointer to first token pointer of toke…
461 …const ::formula::FormulaToken*const* mppScTokenEnd; /// Pointer behind last token pointer of t…
462 …const ::formula::FormulaToken*const* mppScToken; /// Pointer to current token pointer of to…
508 static bool GetTokenString( String& rString, const ::formula::FormulaToken& rScToken );
/aoo4110/main/sc/source/core/inc/
H A Dinterpre.hxx93 #define MAXSTACK (4096 / sizeof(formula::FormulaToken*))
99 formula::FormulaToken* pPointer[ MAXSTACK ];
174 const formula::FormulaToken*
180 formula::FormulaToken** pStack; // the current stack
248 void Push( formula::FormulaToken& r );
253 void PushWithoutError( formula::FormulaToken& r );
257 void PushTempToken( const formula::FormulaToken& );
265 void PushTempToken( formula::FormulaToken* );
273 void PushTempTokenWithoutError( formula::FormulaToken* );
362 ScMatrixRef CreateMatrixFromDoubleRef( const formula::FormulaToken* pToken,
H A Dparclass.hxx32 class FormulaToken;
86 static Type GetParameterType( const formula::FormulaToken* pToken,
132 const formula::FormulaToken* pToken, sal_uInt16 nParameter);
/aoo4110/main/sc/source/ui/unoobj/
H A Dtokenuno.cxx130 uno::Sequence<sheet::FormulaToken> SAL_CALL ScFormulaParserObj::parseFormula( in parseFormula()
135 uno::Sequence<sheet::FormulaToken> aRet; in parseFormula()
157 const uno::Sequence<sheet::FormulaToken>& aTokens, const table::CellAddress& rReferencePos ) in printFormula()
334 ScTokenArray& rTokenArray, const uno::Sequence<sheet::FormulaToken>& rSequence ) in ConvertToTokenArray()
341 uno::Sequence<sheet::FormulaToken>& rSequence, const ScTokenArray& rTokenArray ) in ConvertToTokenSequence()
346 formula::FormulaToken** pTokens = rTokenArray.GetArray(); in ConvertToTokenSequence()
352 const formula::FormulaToken& rToken = *pTokens[nPos]; in ConvertToTokenSequence()
353 sheet::FormulaToken& rAPI = rSequence[nPos]; in ConvertToTokenSequence()
/aoo4110/main/formula/source/ui/dlg/
H A Dformula.cxx162 uno::Sequence< sheet::FormulaToken > m_aTokenList;
166 mutable uno::Sequence< sheet::FormulaToken > m_aSeparatorsOpCodes;
174 ::std::map<FormulaToken*,sheet::FormulaToken> m_aTokenMap;
496 const sheet::FormulaToken* pIter = m_aTokenList.getConstArray(); in GetFunctionPos()
497 const sheet::FormulaToken* pEnd = pIter + m_aTokenList.getLength(); in GetFunctionPos()
505 uno::Sequence<sheet::FormulaToken> aArgs(1); in GetFunctionPos()
508 const sheet::FormulaToken* pNextToken = pIter + 1; in GetFunctionPos()
675 uno::Sequence<sheet::FormulaToken> aArgs(1); in MakeTree()
735 FormulaToken* pToken = m_pTokenArray->LastRPN(); in fillTree()
758 FormulaToken** pTokens = m_pTokenArray->GetArray(); in UpdateTokenArray()
[all …]
/aoo4110/main/oox/source/xls/
H A Dooxformulaparser.cxx48 …Sequence< FormulaToken > parseFormula( const OUString& rFormula, const CellAddress& rReferencePos …
65 Sequence< FormulaToken > OOXMLFormulaParserImpl::parseFormula( const OUString& rFormula, const Cell… in parseFormula()
196 Sequence< FormulaToken > SAL_CALL OOXMLFormulaParser::parseFormula( in parseFormula()
208 …const Sequence< FormulaToken >& /*rTokens*/, const CellAddress& /*rReferencePos*/ ) throw( Runtime… in printFormula()
/aoo4110/main/sc/source/core/data/
H A Dcell2.cxx383 bool lcl_isReference(const FormulaToken& rToken) in lcl_isReference()
691 FormulaToken* pToken(pCode->NextRPN()); in HasRefListExpressibleAsOneReference()
692 FormulaToken* pFunction(0); in HasRefListExpressibleAsOneReference()
1431 for (FormulaToken* p = pCode->First(); p; p = pCode->Next()) in lcl_IsRangeNameInUse()
1457 for (FormulaToken* p = pCode->First(); p; p = pCode->Next()) in lcl_FindRangeNamesInUse()
1478 for( FormulaToken* p = pCode->First(); p; p = pCode->Next() ) in ReplaceRangeNamesInUse()
1498 for( FormulaToken* p = pCode->First(); p; p = pCode->Next() ) in CompileDBFormula()
1520 for ( FormulaToken* p = pCode->First(); p && !bRecompile; p = pCode->Next() ) in CompileDBFormula()
1571 for ( FormulaToken* p = pCode->First(); p && !bRecompile; p = pCode->Next() ) in CompileNameFormula()
1612 for ( FormulaToken* p = pCode->First(); p; p = pCode->Next() ) in CompileColRowNameFormula()

Completed in 134 milliseconds

123