Home
last modified time | relevance | path

Searched refs:sFormula (Results 1 – 25 of 30) sorted by relevance

12

/trunk/main/reportdesign/source/filter/xml/
H A DxmlGroup.cxx130 … const ::rtl::OUString sFormula = sCompleteFormula.getToken(0,'(',nIndex); in DBG_NAME() local
133 … if ( sFormula ==::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("rpt:LEFT"))) in DBG_NAME()
141 … else if ( sFormula == ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("rpt:YEAR"))) in DBG_NAME()
143 … else if ( sFormula == ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("rpt:MONTH"))) in DBG_NAME()
152 … else if ( sFormula ==::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("rpt:WEEK"))) in DBG_NAME()
154 … else if ( sFormula ==::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("rpt:DAY"))) in DBG_NAME()
156 … else if ( sFormula ==::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("rpt:HOUR"))) in DBG_NAME()
158 … else if ( sFormula ==::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("rpt:MINUTE"))) in DBG_NAME()
160 … else if ( sFormula ==::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("rpt:INT"))) in DBG_NAME()
H A DxmlExportDocumentHandler.cxx400 ::rtl::OUString sFormula; in exportTableRows()
421 sFormula = s_sFieldPrefix; in exportTableRows()
422 sFormula += m_aColumns[i]; in exportTableRows()
423 sFormula += s_sFieldPostfix; in exportTableRows()
426 pList->AddAttribute(sFormulaAttrib,sFormula); in exportTableRows()
H A DxmlExport.cxx1031 ::rtl::OUString sFormula = _sFormula; in convertFormula()
1033 sFormula = ::rtl::OUString(); in convertFormula()
1049 return sFormula; in convertFormula()
1120 ::rtl::OUString sFormula(RTL_CONSTASCII_USTRINGPARAM("rpt:HASCHANGED(\"")); in exportGroup()
1125 sFormula += sExpression; in exportGroup()
1126 sFormula += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\")")); in exportGroup()
1127 sExpression = sFormula; in exportGroup()
/trunk/main/sc/source/filter/xml/
H A DXMLConverter.cxx313 OUStringBuffer sBuffer(sFormula.getLength()); in ParseFormula()
318 for (sal_Int32 i = 0; i < sFormula.getLength(); ++i) in ParseFormula()
320 if (sFormula[i] == '\'' && !bInDoubleQuotationMarks && in ParseFormula()
323 else if (sFormula[i] == '"' && !bInQuotationMarks) in ParseFormula()
326 sBuffer.append(sFormula[i]); in ParseFormula()
327 else if (sFormula[i] == '[') in ParseFormula()
329 else if (sFormula[i] == ']') in ParseFormula()
331 else if ((sFormula[i] != '.') || in ParseFormula()
334 sBuffer.append(sFormula[i]); in ParseFormula()
335 chPrevious = sFormula[i]; in ParseFormula()
[all …]
H A DXMLChangeTrackingImportHelper.cxx42 sFormula(), in ScMyCellInfo()
59 sFormula(rFormula), in ScMyCellInfo()
80 if (!pCell && sFormula.getLength() && sFormulaAddress.getLength()) in CreateCell()
85 pCell = new ScFormulaCell(pDoc, aPos, sFormula, eGrammar, nMatrixFlag); in CreateCell()
777 String sFormula; in SetNewCell() local
782 static_cast<ScFormulaCell*>(pCell)->GetFormula(sFormula,formula::FormulaGrammar::GRAM_ODFF); in SetNewCell()
783 rtl::OUString sOUFormula(sFormula); in SetNewCell()
H A DXMLChangeTrackingExportHelper.cxx395 String sFormula; in WriteFormulaCell() local
396 pFormulaCell->GetFormula(sFormula, eGrammar); in WriteFormulaCell()
397 rtl::OUString sOUFormula(sFormula); in WriteFormulaCell()
423 …String sQValue = rExport.GetNamespaceMap().GetQNameByKey( nNamespacePrefix, sFormula, sal_False ); in WriteFormulaCell()
H A DXMLChangeTrackingImportHelper.hxx46 rtl::OUString sFormula; member
55 …cMyCellInfo(ScBaseCell* pCell, const rtl::OUString& sFormulaAddress, const rtl::OUString& sFormula,
H A Dxmlsubti.hxx92 rtl::OUString sFormula; member
97 sFormula(rFormula), in ScMatrixRange()
H A DXMLTrackedChangesContext.cxx104 rtl::OUString sFormula; member in ScXMLCellContentDeletionContext
319 rtl::OUString sFormula; 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()
1372 …pOldCell, sFormulaAddress, sFormula, sFormulaNmsp, eGrammar, sInputString, fValue, nType, nMatrixF… in CreateChildContext()
1382 …per->SetPreviousChange(nID, new ScMyCellInfo(pOldCell, sFormulaAddress, sFormula, eGrammar, sInput… in EndElement()
H A DXMLConverter.hxx103 ::rtl::OUString& sFormula,
H A Dxmlsubti.cxx648 SetMatrix(aItr->aRange, aItr->sFormula, aItr->sFormulaNmsp, aItr->eGrammar); in DeleteTable()
795 SetMatrix(aItr->aRange, aItr->sFormula, aItr->sFormulaNmsp, aItr->eGrammar); in IsPartOfMatrix()
/trunk/main/reportdesign/source/ui/inspection/
H A DGeometryHandler.cxx1423 ::rtl::OUString sFormula; in onInteractivePropertySelection()
1433 _rData <<= sFormula; in onInteractivePropertySelection()
1870 const String sFormula( _xFunction->getFormula() ); in impl_isDefaultFunction_nothrow() local
1881 xub_StrLen end = sFormula.Len(); in impl_isDefaultFunction_nothrow()
1882 …if ( aTextSearch.SearchFrwrd(sFormula,&start,&end) && start == 0 && end == sFormula.Len()) // defa… in impl_isDefaultFunction_nothrow()
1886 aDataSearch.SearchFrwrd(sFormula,&start,&end ); in impl_isDefaultFunction_nothrow()
2105 xub_StrLen end = sFormula.Len(); in impl_isCounterFunction_throw()
2106 …if ( aTextSearch.SearchFrwrd(sFormula,&start,&end) && start == 0 && end == sFormula.Len()) // coun… in impl_isCounterFunction_throw()
2136 String sFormula(_aFunction.m_sFormula); in impl_createFunction() local
2137 sFormula.SearchAndReplaceAll(sPlaceHolder1,_sDataField); in impl_createFunction()
[all …]
/trunk/main/xmloff/source/text/
H A Dtxtvfldi.cxx178 sFormula = sTmp; in ProcessAttribute()
182 sFormula = sAttrValue; in ProcessAttribute()
223 sFormula = GetContent(); in PrepareField()
230 aAny <<= sFormula; in PrepareField()
715 sFormula(), in XMLTableFormulaImportContext()
1402 sFormula = sTmp; in ProcessAttribute()
1406 sFormula = sAttrValue; in ProcessAttribute()
1436 aAny <<= (!bFormulaOK && bFormulaDefault) ? sDefault : sFormula; in PrepareField()
/trunk/main/reportdesign/source/ui/dlg/
H A DCondition.cxx98 ::rtl::OUString sFormula(m_pSubEdit->GetText());
99 const sal_Int32 nLen = sFormula.getLength();
102 ReportFormula aFormula( sFormula );
103 sFormula = aFormula.getCompleteFormula();
107 …if ( rptui::openDialogFormula_nothrow( sFormula, m_pParent->getController().getContext(),xInspecto…
109 ReportFormula aFormula( sFormula );
/trunk/main/sw/source/core/fields/
H A Dfldbas.cxx736 return sFormula; in GetFormula()
745 sFormula = rStr; in SetFormula()
775 sFormula.Erase(); in SetExpandedFormula()
777 ((SwValueFieldType *)GetTyp())->DoubleToString(sFormula, fTmpValue, nFmt); in SetExpandedFormula()
781 sFormula = rStr; in SetExpandedFormula()
/trunk/main/sc/source/ui/view/
H A Dtabvwsh.cxx115 String sFormula; in GetFormula() local
120 static_cast<ScFormulaCell*>(pCell)->GetFormula(sFormula); in GetFormula()
122 return sFormula; in GetFormula()
/trunk/main/sw/source/ui/fldui/
H A Dinpdlg.cxx113 String sFormula(pSetFld->GetFormula()); in SwFldInputDlg() local
116 if( aCC.isNumeric( sFormula )) in SwFldInputDlg()
121 aStr = sFormula; in SwFldInputDlg()
/trunk/main/sc/source/ui/vba/
H A Dvbacondition.cxx101 rtl::OUString sFormula; in setFormula1() local
102 if ( (_aFormula1 >>= sFormula )) in setFormula1()
104 mxSheetCondition->setFormula1( sFormula ); in setFormula1()
H A Dvbaformatconditions.cxx234 rtl::OUString sFormula; in getA1Formula() local
235 if ( !( _aFormula >>= sFormula ) ) in getA1Formula()
237 return sFormula; in getA1Formula()
/trunk/main/xmloff/inc/
H A Dtxtvfldi.hxx65 ::rtl::OUString sFormula; /// formula string
152 ::rtl::OUString sFormula; /// formula attribute
436 ::rtl::OUString sFormula;
548 ::rtl::OUString sFormula;
/trunk/main/reportdesign/source/ui/misc/
H A DFunctionHelper.cxx189 ::rtl::OUString sFormula; in getFormula()
193sFormula = m_xFunctionDescription->createFormula(uno::Sequence< ::rtl::OUString >(pArguments, _aAr… in getFormula()
199 return sFormula; in getFormula()
H A DUITools.cxx1049 String sFormula = aDlg.getCurrentFormula(); in openDialogFormula_nothrow() local
1051 if ( sFormula.GetChar(0) == '=' ) in openDialogFormula_nothrow()
1053 … _in_out_rFormula = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("rpt:")) + sFormula.Copy(nIndex); in openDialogFormula_nothrow()
/trunk/main/sw/source/filter/xml/
H A Dxmltbli.cxx172 OUString sFormula; // cell formula; valid if length > 0 member in SwXMLTableCell_Impl
214 const OUString& GetFormula() const { return sFormula; } in GetFormula()
261 sFormula = *pFormula; in Set()
396 OUString sFormula; member in SwXMLTableCellContext_Impl
444 sFormula(), in SwXMLTableCellContext_Impl()
498 sFormula = XML_NAMESPACE_OOOW == nPrefix2 ? sTmp : rValue; in SwXMLTableCellContext_Impl()
569 NULL, bProtect, &sFormula, bHasValue, fValue, bHasTextValue ); in _InsertContent()
/trunk/main/sw/source/ui/shells/
H A Dtextsh1.cxx757 String sFormula(((const SfxStringItem*)pItem)->GetValue()); in Execute() local
772 aFldMgr.UpdateCurFld( aFldMgr.GetCurFld()->GetFormat(), aEmptyStr, sFormula ); in Execute()
773 else if( sFormula.Len() ) in Execute()
778 aSet.Put( SwTblBoxFormula( sFormula )); in Execute()
786 …sertFld_Data aData(TYP_FORMELFLD, nsSwGetSetExpType::GSE_FORMULA, aEmptyStr, sFormula, nSysNumFmt); in Execute()
/trunk/main/formula/source/ui/dlg/
H A Dformula.cxx963 … const String sFormula(m_pHelper->getFormulaParser()->printFormula(m_aTokenList, aRefPos)); in RepairFormula() local
964 if ( !sFormula.Len() || sFormula.GetChar(0) != '=' ) in RepairFormula()
965 aResult += sFormula; in RepairFormula()
967 aResult = sFormula; in RepairFormula()

Completed in 180 milliseconds

12