LibreOffice Module sc (master)  1
Functions
ScRefTokenHelper Namespace Reference

Functions

void compileRangeRepresentation (::std::vector< ScTokenRef > &rRefTokens, const OUString &rRangeStr, ScDocument &rDoc, const sal_Unicode cSep,::formula::FormulaGrammar::Grammar eGrammar, bool bOnly3DRef=false)
 Compile an array of reference tokens from a data source range string. More...
 
bool getRangeFromToken (const ScDocument *pDoc, ScRange &rRange, const ScTokenRef &pToken, const ScAddress &rPos, bool bExternal=false)
 
void getRangeListFromTokens (const ScDocument *pDoc, ScRangeList &rRangeList, const ::std::vector< ScTokenRef > &pTokens, const ScAddress &rPos)
 
void getTokenFromRange (const ScDocument *pDoc, ScTokenRef &pToken, const ScRange &rRange)
 Create a double reference token from a range object. More...
 
void getTokensFromRangeList (const ScDocument *pDoc,::std::vector< ScTokenRef > &pTokens, const ScRangeList &rRanges)
 
bool SC_DLLPUBLIC isRef (const ScTokenRef &pToken)
 
bool SC_DLLPUBLIC isExternalRef (const ScTokenRef &pToken)
 
bool SC_DLLPUBLIC intersects (const ScDocument *pDoc, const ::std::vector< ScTokenRef > &rTokens, const ScTokenRef &pToken, const ScAddress &rPos)
 
void SC_DLLPUBLIC join (const ScDocument *pDoc,::std::vector< ScTokenRef > &rTokens, const ScTokenRef &pToken, const ScAddress &rPos)
 
bool getDoubleRefDataFromToken (ScComplexRefData &rData, const ScTokenRef &pToken)
 
ScTokenRef createRefToken (const ScDocument *pDoc, const ScAddress &rAddr)
 
ScTokenRef createRefToken (const ScDocument *pDoc, const ScRange &rRange)
 

Function Documentation

void ScRefTokenHelper::compileRangeRepresentation ( ::std::vector< ScTokenRef > &  rRefTokens,
const OUString &  rRangeStr,
ScDocument rDoc,
const sal_Unicode  cSep,
::formula::FormulaGrammar::Grammar  eGrammar,
bool  bOnly3DRef = false 
)
ScTokenRef ScRefTokenHelper::createRefToken ( const ScDocument pDoc,
const ScAddress rAddr 
)
ScTokenRef ScRefTokenHelper::createRefToken ( const ScDocument pDoc,
const ScRange rRange 
)
bool ScRefTokenHelper::getDoubleRefDataFromToken ( ScComplexRefData rData,
const ScTokenRef pToken 
)
bool ScRefTokenHelper::getRangeFromToken ( const ScDocument pDoc,
ScRange rRange,
const ScTokenRef pToken,
const ScAddress rPos,
bool  bExternal = false 
)
void ScRefTokenHelper::getRangeListFromTokens ( const ScDocument pDoc,
ScRangeList rRangeList,
const ::std::vector< ScTokenRef > &  pTokens,
const ScAddress rPos 
)
void ScRefTokenHelper::getTokenFromRange ( const ScDocument pDoc,
ScTokenRef pToken,
const ScRange rRange 
)
void ScRefTokenHelper::getTokensFromRangeList ( const ScDocument pDoc,
::std::vector< ScTokenRef > &  pTokens,
const ScRangeList rRanges 
)
bool SC_DLLPUBLIC ScRefTokenHelper::intersects ( const ScDocument pDoc,
const ::std::vector< ScTokenRef > &  rTokens,
const ScTokenRef pToken,
const ScAddress rPos 
)
bool ScRefTokenHelper::isExternalRef ( const ScTokenRef pToken)
bool ScRefTokenHelper::isRef ( const ScTokenRef pToken)
void SC_DLLPUBLIC ScRefTokenHelper::join ( const ScDocument pDoc,
::std::vector< ScTokenRef > &  rTokens,
const ScTokenRef pToken,
const ScAddress rPos 
)