LibreOffice Module sc (master)  1
Enumerations | Functions | Variables
compiler.cxx File Reference
#include <config_features.h>
#include <compiler.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <sfx2/app.hxx>
#include <sfx2/objsh.hxx>
#include <basic/sbmeth.hxx>
#include <basic/sbstar.hxx>
#include <svl/zforlist.hxx>
#include <svl/sharedstringpool.hxx>
#include <sal/log.hxx>
#include <o3tl/safeint.hxx>
#include <osl/diagnose.h>
#include <rtl/character.hxx>
#include <unotools/charclass.hxx>
#include <unotools/configmgr.hxx>
#include <com/sun/star/lang/Locale.hpp>
#include <com/sun/star/sheet/FormulaOpCodeMapEntry.hpp>
#include <com/sun/star/sheet/FormulaLanguage.hpp>
#include <com/sun/star/i18n/KParseTokens.hpp>
#include <com/sun/star/i18n/KParseType.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <unotools/transliterationwrapper.hxx>
#include <tools/urlobj.hxx>
#include <rtl/math.hxx>
#include <rtl/ustring.hxx>
#include <stdlib.h>
#include <math.h>
#include <rangenam.hxx>
#include <dbdata.hxx>
#include <document.hxx>
#include <callform.hxx>
#include <addincol.hxx>
#include <refupdat.hxx>
#include <globstr.hrc>
#include <scresid.hxx>
#include <formulacell.hxx>
#include <dociter.hxx>
#include <docoptio.hxx>
#include <formula/errorcodes.hxx>
#include <parclass.hxx>
#include <autonamecache.hxx>
#include <externalrefmgr.hxx>
#include <rangeutl.hxx>
#include <convuno.hxx>
#include <tokenuno.hxx>
#include <formulaparserpool.hxx>
#include <tokenarray.hxx>
#include <scmatrix.hxx>
#include <tokenstringcontext.hxx>
#include <officecfg/Office/Common.hxx>
Include dependency graph for compiler.cxx:

Go to the source code of this file.

Enumerations

enum  ScanState
 

Functions

static bool lcl_isValidQuotedText (const OUString &rFormula, sal_Int32 nSrcPos, ParseResult &rRes)
 
static bool lcl_parseExternalName (const OUString &rSymbol, OUString &rFile, OUString &rName, const sal_Unicode cSep, const ScDocument &rDoc, const uno::Sequence< sheet::ExternalLinkInfo > *pExternalLinks)
 
static OUString lcl_makeExternalNameStr (const OUString &rFile, const OUString &rName, const sal_Unicode cSep, bool bODF)
 
static bool lcl_getLastTabName (OUString &rTabName2, const OUString &rTabName1, const vector< OUString > &rTabNames, const ScRange &rRef)
 
static void r1c1_add_col (OUStringBuffer &rBuf, const ScSingleRefData &rRef, const ScAddress &rAbsRef)
 
static void r1c1_add_row (OUStringBuffer &rBuf, const ScSingleRefData &rRef, const ScAddress &rAbsRef)
 
static sal_Unicodelcl_UnicodeStrNCpy (sal_Unicode *pDst, const sal_Unicode *pSrc, sal_Int32 nMax)
 
static bool lcl_isUnicodeIgnoreAscii (const sal_Unicode *p1, const char *p2, size_t n)
 
static bool lcl_ParenthesisFollows (const sal_Unicode *p)
 
static void lcl_GetColRowDeltas (const ScRange &rRange, SCCOL &rXDelta, SCROW &rYDelta)
 

Variables

static const char * pInternal [2] = { "TTT", "__DEBUG_VAR" }
 

Enumeration Type Documentation

enum ScanState

Definition at line 85 of file compiler.cxx.

Function Documentation

static void lcl_GetColRowDeltas ( const ScRange rRange,
SCCOL rXDelta,
SCROW rYDelta 
)
static
static bool lcl_getLastTabName ( OUString &  rTabName2,
const OUString &  rTabName1,
const vector< OUString > &  rTabNames,
const ScRange rRef 
)
static

Definition at line 700 of file compiler.cxx.

References ScRange::aEnd, ScRange::aStart, nCount, ScResId(), and ScAddress::Tab().

static bool lcl_isUnicodeIgnoreAscii ( const sal_Unicode p1,
const char *  p2,
size_t  n 
)
static

Definition at line 2052 of file compiler.cxx.

References i.

Referenced by ScCompiler::NextSymbol().

static bool lcl_isValidQuotedText ( const OUString &  rFormula,
sal_Int32  nSrcPos,
ParseResult &  rRes 
)
static

Definition at line 472 of file compiler.cxx.

References nPos, and ScCompiler::nSrcPos.

static OUString lcl_makeExternalNameStr ( const OUString &  rFile,
const OUString &  rName,
const sal_Unicode  cSep,
bool  bODF 
)
static

Definition at line 680 of file compiler.cxx.

References aBuf, and aName.

static bool lcl_ParenthesisFollows ( const sal_Unicode p)
static

Definition at line 3037 of file compiler.cxx.

Referenced by ScCompiler::IsValue().

static bool lcl_parseExternalName ( const OUString &  rSymbol,
OUString &  rFile,
OUString &  rName,
const sal_Unicode  cSep,
const ScDocument rDoc,
const uno::Sequence< sheet::ExternalLinkInfo > *  pExternalLinks 
)
static

Definition at line 500 of file compiler.cxx.

References i, p, ScRange::Parse_XL_Header(), and ZERO.

static sal_Unicode* lcl_UnicodeStrNCpy ( sal_Unicode pDst,
const sal_Unicode pSrc,
sal_Int32  nMax 
)
static

Definition at line 2038 of file compiler.cxx.

Referenced by ScCompiler::NextSymbol().

static void r1c1_add_col ( OUStringBuffer &  rBuf,
const ScSingleRefData rRef,
const ScAddress rAbsRef 
)
static
static void r1c1_add_row ( OUStringBuffer &  rBuf,
const ScSingleRefData rRef,
const ScAddress rAbsRef 
)
static

Variable Documentation

const char* pInternal[2] = { "TTT", "__DEBUG_VAR" }
static

Definition at line 103 of file compiler.cxx.

Referenced by ScCompiler::IsOpCode2().