/trunk/main/formula/inc/formula/ |
H A D | grammar.hxx | 141 return (eGrammar & kEnglishBit) != 0; in isEnglish() 148 Grammar eGrammar; in mapAPItoGrammar() local 150 eGrammar = GRAM_PODF; in mapAPItoGrammar() 152 eGrammar = GRAM_PODF_A1; in mapAPItoGrammar() 154 eGrammar = GRAM_NATIVE_ODF; in mapAPItoGrammar() 156 eGrammar = GRAM_NATIVE; in mapAPItoGrammar() 157 return eGrammar; in mapAPItoGrammar() 162 switch (eGrammar) in isSupported() 184 return eGrammar & kFlagMask; in extractFormulaLanguage() 204 bool bEnglish = isEnglish( eGrammar); in mergeToGrammar() [all …]
|
H A D | FormulaCompiler.hxx | 108 OpCodeMap(sal_uInt16 nSymbols, bool bCore, FormulaGrammar::Grammar eGrammar ) : in OpCodeMap() argument 113 meGrammar( eGrammar), in OpCodeMap()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | fmtuno.cxx | 136 ScDocument* pDoc, sal_uLong nKey, FormulaGrammar::Grammar eGrammar) in ScTableConditionalFormat() argument 161 aItem.meGrammar1 = aItem.meGrammar2 = eGrammar; in ScTableConditionalFormat() 184 ScDocument* pDoc, FormulaGrammar::Grammar eGrammar) const in FillFormat() 199 FormulaGrammar::Grammar eGrammar1 = lclResolveGrammar( eGrammar, aData.meGrammar1 ); in FillFormat() 607 const formula::FormulaGrammar::Grammar eGrammar) : in ScTableValidationObj() argument 620 aExpr1 = pData->GetExpression( aSrcPos, 0, 0, eGrammar ); in ScTableValidationObj() 621 aExpr2 = pData->GetExpression( aSrcPos, 1, 0, eGrammar ); in ScTableValidationObj() 622 meGrammar1 = meGrammar2 = eGrammar; in ScTableValidationObj() 646 formula::FormulaGrammar::Grammar eGrammar ) const in CreateValidationData() 650 FormulaGrammar::Grammar eGrammar1 = lclResolveGrammar( eGrammar, meGrammar1 ); in CreateValidationData() [all …]
|
H A D | nameuno.cxx | 140 … const formula::FormulaGrammar::Grammar eGrammar, const String* pNewScopeName ) in Modify_Impl() argument 169 … pOld->GetSymbol( aContent, eGrammar); // no problems with changed positions and such. in Modify_Impl() 183 … pNew = new ScRangeData( pDoc, aInsName, aContent, aPos, nType, eGrammar ); in Modify_Impl() 288 const formula::FormulaGrammar::Grammar eGrammar ) in SetContentWithGrammar() argument 292 Modify_Impl( NULL, NULL, &aContStr, NULL, NULL, eGrammar ); in SetContentWithGrammar()
|
H A D | cellsuno.cxx | 2060 formula::FormulaGrammar::Grammar eGrammar = (bXML ? in getPropertyDefault() local 2065 new ScTableConditionalFormat( pDoc, 0, eGrammar )); in getPropertyDefault() 2074 formula::FormulaGrammar::Grammar eGrammar = (bXML ? in getPropertyDefault() local 2079 new ScTableValidationObj( pDoc, 0, eGrammar )); in getPropertyDefault() 2320 pFormat->FillFormat( aNew, pDoc, eGrammar ); in SetOnePropertyValue() 2351 pValidObj->CreateValidationData( pDoc, eGrammar ); in SetOnePropertyValue() 2480 formula::FormulaGrammar::Grammar eGrammar = (bXML ? in GetOnePropertyValue() local 2486 new ScTableConditionalFormat( pDoc, nIndex, eGrammar )); in GetOnePropertyValue() 2500 formula::FormulaGrammar::Grammar eGrammar = (bXML ? in GetOnePropertyValue() local 2506 new ScTableValidationObj( pDoc, nIndex, eGrammar )); in GetOnePropertyValue() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | cell.cxx | 652 const FormulaGrammar::Grammar eGrammar, in ScFormulaCell() argument 655 eTempGrammar( eGrammar), in ScFormulaCell() 678 Compile( rFormula, sal_True, eGrammar ); // bNoListening, Insert does that in ScFormulaCell() 687 eTempGrammar( eGrammar), in ScFormulaCell() 836 const FormulaGrammar::Grammar eGrammar ) const in GetFormula() 864 ((ScFormulaCell*)pCell)->GetFormula( rBuffer, eGrammar); in GetFormula() 870 aComp.SetGrammar(eGrammar); in GetFormula() 882 aComp.SetGrammar(eGrammar); in GetFormula() 899 GetFormula( rBuffer, eGrammar ); in GetFormula() 920 const FormulaGrammar::Grammar eGrammar ) in Compile() argument [all …]
|
H A D | conditio.cxx | 891 const FormulaGrammar::Grammar eGrammar ) const in GetExpression() 895 if ( FormulaGrammar::isEnglish( eGrammar) && nNumFmt == 0 ) in GetExpression() 903 aComp.SetGrammar(eGrammar); in GetExpression() 920 aComp.SetGrammar(eGrammar); in GetExpression()
|
/trunk/main/sc/source/filter/xml/ |
H A D | xmlbodyi.cxx | 85 formula::FormulaGrammar::Grammar eGrammar = formula::FormulaGrammar::GRAM_ODFF; in ScXMLBodyContext() local 93 eGrammar = formula::FormulaGrammar::GRAM_PODF; in ScXMLBodyContext() 101 eGrammar = formula::FormulaGrammar::GRAM_PODF; in ScXMLBodyContext() 103 pDoc->SetStorageGrammar( eGrammar); in ScXMLBodyContext()
|
H A D | xmlstyli.cxx | 355 FormulaGrammar::Grammar eGrammar, bool bHasNmsp ) const in SetFormula() argument 364 eNewGrammar = eGrammar; in SetFormula() 371 eNewGrammar = eGrammar; in SetFormula() 409 FormulaGrammar::Grammar eGrammar = FormulaGrammar::GRAM_UNSPECIFIED; in GetConditionalFormat() local 410 …GetScImport().ExtractFormulaNamespaceGrammar( aCondition, aConditionNmsp, eGrammar, sTempCondition… in GetConditionalFormat() 427 … SetFormula( aProps, 1, aParseResult.maOperand1, aConditionNmsp, eGrammar, bHasNmsp ); in GetConditionalFormat() 428 … SetFormula( aProps, 2, aParseResult.maOperand2, aConditionNmsp, eGrammar, bHasNmsp ); in GetConditionalFormat()
|
H A D | xmlsubti.cxx | 648 SetMatrix(aItr->aRange, aItr->sFormula, aItr->sFormulaNmsp, aItr->eGrammar); in DeleteTable() 764 …ring& rFormula, const rtl::OUString& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar) in AddMatrixRange() argument 774 ScMatrixRange aMRange(aRange, rFormula, rFormulaNmsp, eGrammar); in AddMatrixRange() 795 SetMatrix(aItr->aRange, aItr->sFormula, aItr->sFormulaNmsp, aItr->eGrammar); in IsPartOfMatrix() 813 const rtl::OUString& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar) in SetMatrix() argument 827 pCellRangeObj->SetArrayFormulaWithGrammar( rFormula, rFormulaNmsp, eGrammar); in SetMatrix()
|
H A D | xmlcvali.cxx | 359 FormulaGrammar::Grammar eGrammar = FormulaGrammar::GRAM_UNSPECIFIED; in GetCondition() local 360 … GetScImport().ExtractFormulaNamespaceGrammar( aCondition, aConditionNmsp, eGrammar, sCondition ); in GetCondition() 421 aParseResult.maOperand1, aConditionNmsp, eGrammar, bHasNmsp ); in GetCondition() 423 aParseResult.maOperand2, aConditionNmsp, eGrammar, bHasNmsp ); in GetCondition()
|
H A D | xmlnexpi.cxx | 125 pNamedExpression->eGrammar = formula::FormulaGrammar::mergeToGrammar( in ScXMLNamedRangeContext() 216 pNamedExpression->eGrammar, sValue ); in ScXMLNamedExpressionContext()
|
H A D | XMLTrackedChangesContext.cxx | 114 formula::FormulaGrammar::Grammar eGrammar; member in ScXMLCellContentDeletionContext 328 formula::FormulaGrammar::Grammar eGrammar; member in ScXMLPreviousContext 830 …pCell, sFormulaAddress, sFormula, sFormulaNmsp, eGrammar, sInputString, fValue, nType, nMatrixFlag… in CreateChildContext() 848 …ScMyCellInfo* pCellInfo(new ScMyCellInfo(pCell, sFormulaAddress, sFormula, eGrammar, sInputString,… in EndElement() 1338 eGrammar( formula::FormulaGrammar::GRAM_STORAGE_DEFAULT), in ScXMLPreviousContext() 1372 …pOldCell, sFormulaAddress, sFormula, sFormulaNmsp, eGrammar, sInputString, fValue, nType, nMatrixF… in CreateChildContext() 1382 …etPreviousChange(nID, new ScMyCellInfo(pOldCell, sFormulaAddress, sFormula, eGrammar, sInputString, in EndElement()
|
H A D | XMLChangeTrackingImportHelper.hxx | 51 formula::FormulaGrammar::Grammar eGrammar; member 56 const formula::FormulaGrammar::Grammar eGrammar, const rtl::OUString& sInputString,
|
H A D | xmlcelli.cxx | 114 eGrammar( formula::FormulaGrammar::GRAM_STORAGE_DEFAULT), in ScXMLTableRowCellContext() 229 … rXMLImport.ExtractFormulaNamespaceGrammar( aFormula, aFormulaNmsp, eGrammar, sValue ); in ScXMLTableRowCellContext() 1082 … pCellObj->SetFormulaWithGrammar( pOUFormula->first, pOUFormula->second, eGrammar); in EndElement() 1097 pOUFormula->first, pOUFormula->second, eGrammar); in EndElement()
|
H A D | xmlsubti.hxx | 94 formula::FormulaGrammar::Grammar eGrammar; member 99 eGrammar(eGrammarP), in ScMatrixRange()
|
H A D | XMLChangeTrackingExportHelper.cxx | 393 const formula::FormulaGrammar::Grammar eGrammar = pDoc->GetStorageGrammar(); in WriteFormulaCell() local 394 …sal_uInt16 nNamespacePrefix = (eGrammar == formula::FormulaGrammar::GRAM_ODFF ? XML_NAMESPACE_OF :… in WriteFormulaCell() 396 pFormulaCell->GetFormula(sFormula, eGrammar); in WriteFormulaCell()
|
H A D | XMLChangeTrackingImportHelper.cxx | 47 eGrammar( formula::FormulaGrammar::GRAM_STORAGE_DEFAULT), in ScMyCellInfo() 64 eGrammar( eTempGrammar), in ScMyCellInfo() 85 pCell = new ScFormulaCell(pDoc, aPos, sFormula, eGrammar, nMatrixFlag); in CreateCell()
|
/trunk/main/sc/source/core/tool/ |
H A D | rangenam.cxx | 63 const FormulaGrammar::Grammar eGrammar ) : in ScRangeData() argument 79 aComp.SetGrammar(eGrammar); in ScRangeData() 241 void ScRangeData::GetSymbol( String& rSymbol, const FormulaGrammar::Grammar eGrammar ) const in GetSymbol() 244 aComp.SetGrammar(eGrammar); in GetSymbol() 249 const FormulaGrammar::Grammar eGrammar ) in UpdateSymbol() argument 253 aComp.SetGrammar(eGrammar); in UpdateSymbol()
|
H A D | reftokenhelper.cxx | 45 …kenRef>& rRefTokens, const OUString& rRangeStr, ScDocument* pDoc, FormulaGrammar::Grammar eGrammar) in compileRangeRepresentation() argument 65 aCompiler.SetGrammar(eGrammar); in compileRangeRepresentation()
|
/trunk/main/sc/inc/ |
H A D | rangenam.hxx | 92 … const formula::FormulaGrammar::Grammar eGrammar = formula::FormulaGrammar::GRAM_DEFAULT ); 130 …SC_DLLPUBLIC void GetSymbol( String& rSymbol, const formula::FormulaGrammar::Grammar eGrammar =… 132 const formula::FormulaGrammar::Grammar eGrammar = formula::FormulaGrammar::GRAM_DEFAULT );
|
H A D | fmtuno.hxx | 89 formula::FormulaGrammar::Grammar eGrammar); 93 formula::FormulaGrammar::Grammar eGrammar) const; 232 const formula::FormulaGrammar::Grammar eGrammar); 236 formula::FormulaGrammar::Grammar eGrammar ) const;
|
H A D | cell.hxx | 478 const formula::FormulaGrammar::Grammar eGrammar ) in SetHybridFormula() argument 479 { aResult.SetHybridFormula( r); eTempGrammar = eGrammar; } in SetHybridFormula()
|
/trunk/main/sc/source/ui/docshell/ |
H A D | docfunc.cxx | 995 pCode = lcl_ScDocFunc_CreateTokenArrayXML( rText, rFormulaNmsp, eGrammar ); in InterpretEnglishString() 1001 aComp.SetGrammar(eGrammar); in InterpretEnglishString() 1004 pNewCell = new ScFormulaCell( pDoc, rPos, pCode, eGrammar, MM_NONE ); in InterpretEnglishString() 1038 const String& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar ) in SetCellText() argument 1055 pNewCell = InterpretEnglishString( rPos, rText, rFormulaNmsp, eGrammar ); in SetCellText() 3801 const String& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar ) in EnterMatrix() argument 3844 aMark, EMPTY_STRING, pTokenArray, eGrammar); in EnterMatrix() 3850 aMark, EMPTY_STRING, pCode, eGrammar); in EnterMatrix() 3857 aComp.SetGrammar(eGrammar); in EnterMatrix() 3860 aMark, EMPTY_STRING, pCode, eGrammar); in EnterMatrix() [all …]
|
/trunk/main/sc/source/ui/inc/ |
H A D | docfunc.hxx | 87 const formula::FormulaGrammar::Grammar eGrammar ); 91 const String& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar,
|