Home
last modified time | relevance | path

Searched refs:aFormula (Results 1 – 25 of 58) sorted by relevance

123

/trunk/main/formula/source/ui/dlg/
H A Dformula.cxx958 UpdateTokenArray(aFormula); in RepairFormula()
1252 aFormula +=')'; in EditFuncParas()
1513 String aFormula=pMEdit->GetText(); in UpdateSelection() local
1651 xub_StrLen nLen = aFormula.Len(); in CheckMatrix()
1653 && aFormula.GetChar(0) == '{' in CheckMatrix()
1654 && aFormula.GetChar(1) == '=' in CheckMatrix()
1655 && aFormula.GetChar(nLen-1) == '}'; in CheckMatrix()
1658 aFormula.Erase( 0, 1 ); in CheckMatrix()
1659 aFormula.Erase( aFormula.Len()-1, 1); in CheckMatrix()
1887 return m_pImpl->CheckMatrix(aFormula); in CheckMatrix()
[all …]
/trunk/main/sw/source/filter/ww8/
H A Dww8par3.cxx118 WW8FormulaEditBox aFormula(*this); in Read_F_FormTextBox() local
151 aFormula.sDefault, in Read_F_FormTextBox()
152 aFormula.sTitle, in Read_F_FormTextBox()
155 aFld.SetHelp(aFormula.sHelp); in Read_F_FormTextBox()
156 aFld.SetToolTip(aFormula.sToolTip); in Read_F_FormTextBox()
197 WW8FormulaCheckBox aFormula(*this); in Read_F_FormCheckBox() local
258 WW8FormulaListBox aFormula(*this); in Read_F_FormListBox() local
270 aFld.SetName(aFormula.sTitle); in Read_F_FormListBox()
271 aFld.SetHelp(aFormula.sHelp); in Read_F_FormListBox()
277 …int nIndex = aFormula.fDropdownIndex < aFormula.maListEntries.size() ? aFormula.fDropdownIndex : 0; in Read_F_FormListBox()
[all …]
/trunk/main/sc/source/ui/view/
H A Dviewfun5.cxx708 aFormula += aQuote; in PasteDDE()
709 aFormula += aApp; in PasteDDE()
710 aFormula += aQuote; in PasteDDE()
711 aFormula += sSep; in PasteDDE()
712 aFormula += aQuote; in PasteDDE()
713 aFormula += aTopic; in PasteDDE()
714 aFormula += aQuote; in PasteDDE()
715 aFormula += sSep; in PasteDDE()
716 aFormula += aQuote; in PasteDDE()
717 aFormula += aItem; in PasteDDE()
[all …]
H A Dviewfun2.cxx505 String aFormula = GetAutoSumFormula( rRangeList, bSubTotal ); in EnterAutoSum() local
506 EnterBlock( aFormula, NULL ); in EnterAutoSum()
659 EnterData( nCol, nInsRow, nTab, aFormula ); in AutoSum()
692 EnterData( nInsCol, nRow, nTab, aFormula ); in AutoSum()
713 String aFormula = '='; in GetAutoSumFormula() local
726 aFormula += *pDesc->pFuncName; in GetAutoSumFormula()
729 aFormula.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "(9;" ) ); in GetAutoSumFormula()
733 aFormula += '('; in GetAutoSumFormula()
738 aFormula += aRef; in GetAutoSumFormula()
739 aFormula += ')'; in GetAutoSumFormula()
[all …]
H A Dgridwin.cxx4138 aFormula += aQuote; in DropTransferObj()
4139 aFormula += aApp; in DropTransferObj()
4140 aFormula += aQuote; in DropTransferObj()
4141 aFormula += sSep; in DropTransferObj()
4142 aFormula += aQuote; in DropTransferObj()
4143 aFormula += aTopic; in DropTransferObj()
4144 aFormula += aQuote; in DropTransferObj()
4145 aFormula += sSep; in DropTransferObj()
4146 aFormula += aQuote; in DropTransferObj()
4147 aFormula += aItem; in DropTransferObj()
[all …]
/trunk/main/sc/source/core/tool/
H A Dreffind.cxx66 aFormula( rFormula ), in ScRefFinder()
90 xub_StrLen nLen = aFormula.Len(); in ToggleRel()
93 const sal_Unicode* pSource = aFormula.GetBuffer(); // fuer schnellen Zugriff in ToggleRel()
128 aSep = aFormula.Copy( nLoopStart, nEStart-nLoopStart ); in ToggleRel()
129 aExpr = aFormula.Copy( nEStart, nEEnd-nEStart ); in ToggleRel()
155 String aTotal = aFormula.Copy( 0, nStartPos ); in ToggleRel()
157 aTotal += aFormula.Copy( nEndPos+1 ); in ToggleRel()
159 aFormula = aTotal; in ToggleRel()
/trunk/main/sc/source/core/data/
H A Dcell2.cxx1539 String aFormula; in CompileDBFormula() local
1541 if ( GetMatrixFlag() != MM_NONE && aFormula.Len() ) in CompileDBFormula()
1543 if ( aFormula.GetChar( aFormula.Len()-1 ) == '}' ) in CompileDBFormula()
1544 aFormula.Erase( aFormula.Len()-1 , 1 ); in CompileDBFormula()
1545 if ( aFormula.GetChar(0) == '{' ) in CompileDBFormula()
1546 aFormula.Erase( 0, 1 ); in CompileDBFormula()
1586 String aFormula; in CompileNameFormula() local
1590 if ( aFormula.GetChar( aFormula.Len()-1 ) == '}' ) in CompileNameFormula()
1591 aFormula.Erase( aFormula.Len()-1 , 1 ); in CompileNameFormula()
1592 if ( aFormula.GetChar(0) == '{' ) in CompileNameFormula()
[all …]
H A Dcell.cxx1007 String aFormula, aFormulaNmsp; in CompileXML() local
1008 aComp.CreateStringFromXMLTokenArray( aFormula, aFormulaNmsp ); in CompileXML()
1009 pDocument->DecXMLImportedFormulaCount( aFormula.Len() ); in CompileXML()
1015 pCode = aComp.CompileString( aFormula, aFormulaNmsp ); in CompileXML()
1021 if ( aFormula.GetChar(0) == '=' ) in CompileXML()
1022 pCode->AddBad( aFormula.GetBuffer() + 1 ); in CompileXML()
1024 pCode->AddBad( aFormula.GetBuffer() ); in CompileXML()
H A Dglobal.cxx1590 ::rtl::OUStringBuffer aFormula; in getFormula()
1594 aFormula.append( *pFuncName ); in getFormula()
1596 aFormula.appendAscii( "(" ); in getFormula()
1606 aFormula.append( *(aIter) ); in getFormula()
1611 aFormula.append( sep ); in getFormula()
1618 aFormula.appendAscii( ")" ); in getFormula()
1620 return aFormula.makeStringAndClear(); in getFormula()
/trunk/main/sc/source/ui/formdlg/
H A Dformula.cxx162 String aFormula; in ScFormulaDlg() local
163 pDoc->GetFormula( nCol, nRow, nTab, aFormula ); in ScFormulaDlg()
164 sal_Bool bEdit = ( aFormula.Len() > 1 ); in ScFormulaDlg()
168 bMatrix = CheckMatrix(aFormula); in ScFormulaDlg()
172 if ( GetFormulaHelper().GetNextFunc( aFormula, sal_False, nFStart, &nFEnd) ) in ScFormulaDlg()
174 pScMod->InputReplaceSelection( aFormula ); in ScFormulaDlg()
189 if ( aFormula.Len() > 0 && aFormula.GetChar(0) == '=' ) in ScFormulaDlg()
190 aNewFormula=aFormula; in ScFormulaDlg()
/trunk/main/reportdesign/source/ui/dlg/
H A DCondition.cxx102 ReportFormula aFormula( sFormula );
103 sFormula = aFormula.getCompleteFormula();
109 ReportFormula aFormula( sFormula );
110 m_pSubEdit->SetText(aFormula.getUndecoratedContent());
600 ReportFormula aFormula( _rConditionFormula ); in impl_setCondition() local
601 …OSL_ENSURE( aFormula.getType() == ReportFormula::Expression, "Condition::setCondition: illegal for… in impl_setCondition()
603 if ( aFormula.getType() == ReportFormula::Expression ) in impl_setCondition()
604 sExpression = aFormula.getExpression(); in impl_setCondition()
711 ReportFormula aFormula( ReportFormula::Expression, sUndecoratedFormula ); in fillFormatCondition() local
712 _xCondition->setFormula( aFormula.getCompleteFormula() ); in fillFormatCondition()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/sheet/
H A D_XGoalSeek.java42 CellAddress aFormula = null; field in _XGoalSeek
75 aFormula = new CellAddress((short)1, 3, 5); in before()
85 GoalResult goal = oObj.seekGoal(aFormula, aValue, "4"); in _seekGoal()
90 goal = oObj.seekGoal(aFormula, aValue, "-4"); in _seekGoal()
101 goal = oObj.seekGoal(aFormula, aValue, "2"); in _seekGoal()
/trunk/main/odk/examples/DevelopersGuide/Charts/
H A DCalcHelper.java293 String aFormula; in insertFormulaRange() local
314 aFormula = new String( "=" ); in insertFormulaRange()
316 aFormula += "SIN"; in insertFormulaRange()
318 aFormula += "COS"; in insertFormulaRange()
319aFormula += "(INDIRECT(ADDRESS(" + (nRow + 1) + ";1)))+RAND()*INDIRECT(ADDRESS(1;" + nFactorCol + … in insertFormulaRange()
320 (aSheet.getCellByPosition( nCol, nRow )).setFormula( aFormula ); in insertFormulaRange()
/trunk/main/reportdesign/source/core/misc/
H A Dconditionupdater.cxx104 ReportFormula aFormula( xFormatCondition->getFormula() ); in impl_adjustFormatConditions_nothrow() local
105 sFormulaExpression = aFormula.getExpression(); in impl_adjustFormatConditions_nothrow()
117 aFormula = ReportFormula( ReportFormula::Expression, sFormulaExpression ); in impl_adjustFormatConditions_nothrow()
118 xFormatCondition->setFormula( aFormula.getCompleteFormula() ); in impl_adjustFormatConditions_nothrow()
/trunk/main/formula/inc/formula/
H A Dformula.hxx81 void HighlightFunctionParas(const String& aFormula);
86 sal_Bool CheckMatrix(String& aFormula /*IN/OUT*/);
130 void HighlightFunctionParas(const String& aFormula);
135 sal_Bool CheckMatrix(String& aFormula /*IN/OUT*/);
/trunk/main/reportdesign/source/ui/report/
H A DFormattedFieldBeautifier.cxx97 ReportFormula aFormula( sDataField ); in setPlaceholderText() local
99 if ( aFormula.getType() == ReportFormula::Field ) in setPlaceholderText()
101 const ::rtl::OUString sColumnName = aFormula.getFieldName(); in setPlaceholderText()
113 sDataField = aFormula.getEqualUndecoratedContent(); in setPlaceholderText()
/trunk/main/sc/source/ui/app/
H A Dinputhdl.cxx747 String aFormula = pEngine->GetText( (sal_uInt16) 0 ); in ShowTipCursor() local
753 if ( aFormula.Len() < aSel.nEndPos ) in ShowTipCursor()
756 String aSelText = aFormula.Copy( 0, nPos ); in ShowTipCursor()
896 if( aFormula.GetChar( nPosition ) =='(' ) in ShowTipCursor()
986 String aFormula = aTotal.Copy( 0, nPos );; in UseFormulaData() local
1012 nLeftParentPos = lcl_MatchParenthesis( aFormula, aFormula.Len()-1 ); in UseFormulaData()
1397 String aFormula = pEngine->GetText((sal_uInt16)0); in CursorAtClosingPar() local
1398 if ( nPos < aFormula.Len() && aFormula.GetChar(nPos) == ')' ) in CursorAtClosingPar()
1609 String aFormula = pEngine->GetText((sal_uInt16)0); in UpdateParenthesis() local
1610 sal_Unicode c = aFormula.GetChar(nPos); in UpdateParenthesis()
[all …]
H A Dinputwin.cxx412 … const String aFormula = pViewSh->GetAutoSumFormula( aRangeList, bSubTotal ); in Select() local
413 SetFuncString( aFormula ); in Select()
424 const String aFormula = pViewSh->GetAutoSumFormula( aRangeList, bSubTotal ); in Select() local
425 SetFuncString( aFormula ); in Select()
432 pHdl->InitRangeFinder( aFormula ); in Select()
436 const xub_StrLen nOpen = aFormula.Search('('); in Select()
437 const xub_StrLen nLen = aFormula.Len(); in Select()
/trunk/main/sc/inc/
H A Dtoken.hxx422 String aFormula; member in ScHybridCellToken
429 aFormula( rFormula ) {} in ScHybridCellToken()
432 aString( r.aString), aFormula( r.aFormula) {} in ScHybridCellToken()
433 const String & GetFormula() const { return aFormula; } in GetFormula()
H A Dformularesult.hxx556 String aFormula( GetHybridFormula()); in SetHybridDouble() local
558 mpToken = new ScHybridCellToken( f, aString, aFormula); in SetHybridDouble()
574 String aFormula( GetHybridFormula()); in SetHybridString() local
578 mpToken = new ScHybridCellToken( f, rStr, aFormula); in SetHybridString()
H A Dreffind.hxx37 String aFormula; member in ScRefFinder
52 const String& GetText() const { return aFormula; } in GetText()
/trunk/main/reportbuilder/java/com/sun/star/report/pentaho/
H A DSOFormulaParser.java153 …public com.sun.star.sheet.FormulaToken[] parseFormula(String aFormula, com.sun.star.table.CellAddr… in parseFormula() argument
156 if (!"=".equals(aFormula)) in parseFormula()
159 if (aFormula.charAt(0) == '=') in parseFormula()
161 formula = aFormula.substring(1); in parseFormula()
165 formula = aFormula; in parseFormula()
/trunk/main/chart2/source/view/charttypes/
H A DVSeriesPlotter.cxx1070 ::rtl::OUStringBuffer aFormula; in createRegressionCurveEquationShapes()
1078 aFormula = xRegressionCurveCalculator->getFormattedRepresentation( in createRegressionCurveEquationShapes()
1084 aFormula = xRegressionCurveCalculator->getRepresentation(); in createRegressionCurveEquationShapes()
1090 aFormula.append( aSep ); in createRegressionCurveEquationShapes()
1095 aFormula.append( sal_Unicode( 'R' )); in createRegressionCurveEquationShapes()
1096 aFormula.append( sal_Unicode( 0x00b2 )); in createRegressionCurveEquationShapes()
1097 aFormula.append( C2U( " = " )); in createRegressionCurveEquationShapes()
1103 aFormula.append( in createRegressionCurveEquationShapes()
1111 aFormula.append( ::rtl::math::doubleToUString( in createRegressionCurveEquationShapes()
1129 if( aFormula.getLength()) in createRegressionCurveEquationShapes()
[all …]
/trunk/main/sc/source/filter/xml/
H A Dxmlstyli.cxx357 OUString aFormula, aFormulaNmsp; in SetFormula() local
362 aFormula = rFormula; in SetFormula()
369 …GetScImport().ExtractFormulaNamespaceGrammar( aFormula, aFormulaNmsp, eNewGrammar, rFormula, true … in SetFormula()
379 …AppendProperty( rProps, OUString( RTL_CONSTASCII_USTRINGPARAM( SC_UNONAME_FORMULA1 ) ), aFormula ); in SetFormula()
384 …AppendProperty( rProps, OUString( RTL_CONSTASCII_USTRINGPARAM( SC_UNONAME_FORMULA2 ) ), aFormula ); in SetFormula()
/trunk/main/offapi/com/sun/star/sheet/
H A DXArrayFormulaRange.idl52 @param aFormula
56 void setArrayFormula( [in] string aFormula );

Completed in 556 milliseconds

123