LibreOffice Module sc (master)
1
|
#include <compiler.hxx>
Public Types | |
enum | SpecialSymbolType { SHEET_SEPARATOR, ABS_SHEET_PREFIX } |
Public Member Functions | |
Convention (formula::FormulaGrammar::AddressConvention eConvP) | |
virtual | ~Convention () |
virtual void | makeRefStr (ScSheetLimits &rLimits, OUStringBuffer &rBuffer, formula::FormulaGrammar::Grammar eGram, const ScAddress &rPos, const OUString &rErrRef, const std::vector< OUString > &rTabNames, const ScComplexRefData &rRef, bool bSingleRef, bool bFromRangeName) const =0 |
virtual css::i18n::ParseResult | parseAnyToken (const OUString &rFormula, sal_Int32 nSrcPos, const CharClass *pCharClass, bool bGroupSeparator) const =0 |
virtual bool | parseExternalName (const OUString &rSymbol, OUString &rFile, OUString &rName, const ScDocument &rDoc, const css::uno::Sequence< css::sheet::ExternalLinkInfo > *pExternalLinks) const =0 |
Parse the symbol string and pick up the file name and the external range name. More... | |
virtual OUString | makeExternalNameStr (sal_uInt16 nFileId, const OUString &rFile, const OUString &rName) const =0 |
virtual void | makeExternalRefStr (ScSheetLimits &rLimits, OUStringBuffer &rBuffer, const ScAddress &rPos, sal_uInt16 nFileId, const OUString &rFileName, const OUString &rTabName, const ScSingleRefData &rRef) const =0 |
virtual void | makeExternalRefStr (ScSheetLimits &rLimits, OUStringBuffer &rBuffer, const ScAddress &rPos, sal_uInt16 nFileId, const OUString &rFileName, const std::vector< OUString > &rTabNames, const OUString &rTabName, const ScComplexRefData &rRef) const =0 |
virtual sal_Unicode | getSpecialSymbol (SpecialSymbolType eSymType) const =0 |
virtual ScCharFlags | getCharTableFlags (sal_Unicode c, sal_Unicode cLast) const =0 |
Public Attributes | |
const formula::FormulaGrammar::AddressConvention | meConv |
Protected Attributes | |
std::unique_ptr< ScCharFlags[]> | mpCharTable |
Definition at line 190 of file compiler.hxx.
Definition at line 235 of file compiler.hxx.
ScCompiler::Convention::Convention | ( | formula::FormulaGrammar::AddressConvention | eConvP | ) |
Definition at line 327 of file compiler.cxx.
References Bool, Char, CharBool, CharDontCare, CharErrConst, CharIdent, CharName, CharString, CharValue, CharWord, i, Ident, Illegal, meConv, mpCharTable, Name, NameSep, OdfLabelOp, OdfLBracket, OdfNameMarker, OdfRBracket, StringSep, t, Value, ValueExp, ValueSep, ValueSign, ValueValue, Word, and WordSep.
|
virtual |
Definition at line 323 of file compiler.cxx.
|
pure virtual |
Referenced by ScCompiler::GetCharTableFlags().
|
pure virtual |
|
pure virtual |
Referenced by ScCompiler::CreateStringFromExternal().
|
pure virtual |
Referenced by ScCompiler::CreateStringFromExternal().
|
pure virtual |
|
pure virtual |
Referenced by ScCompiler::CreateStringFromDoubleRef(), and ScCompiler::CreateStringFromSingleRef().
|
pure virtual |
Referenced by ScCompiler::NextSymbol().
|
pure virtual |
Parse the symbol string and pick up the file name and the external range name.
Referenced by ScCompiler::ParseExternalNamedRange().
const formula::FormulaGrammar::AddressConvention ScCompiler::Convention::meConv |
Definition at line 192 of file compiler.hxx.
Referenced by ScCompiler::AutoCorrectParsedSymbol(), Convention(), ScCompiler::CreateStringFromIndex(), ScCompiler::ParseDoubleReference(), ScCompiler::ParseReference(), ScCompiler::ParseSingleReference(), and ScCompiler::SetRefConvention().
|
protected |
Definition at line 254 of file compiler.hxx.
Referenced by Convention().