19 void lclWriteCorrelationFormulas(
21 const ScRangeList& aRangeList,
const OUString& aTemplateString)
23 for (
size_t i = 0;
i < aRangeList.
size();
i++)
26 for (
size_t j = 0; j < aRangeList.
size(); j++)
31 aTemplate.
applyRange(u
"%VAR1%", aRangeList[i]);
32 aTemplate.
applyRange(u
"%VAR2%", aRangeList[j]);
45 const OUString& rUiXmlDescription,
55 return STR_CORRELATION_UNDO_NAME;
74 static constexpr OUStringLiteral strWildcardNumber(
u"%NUMBER%");
77 for (
size_t i = 0;
i < aRangeList.
size();
i++)
92 for (
size_t i = 0;
i < aRangeList.
size();
i++)
108 lclWriteCorrelationFormulas(output, aTemplate, aRangeList,
getTemplate());
void writeFormula(const OUString &aFormula)
void writeString(const OUString &aString)
void push(SCCOL aRelativeCol=0, SCROW aRelativeRow=0, SCTAB aRelativeTab=0)
ScAddress mMaximumAddress
ScAddress mMinimumAddress
ScMatrixComparisonGenerator(SfxBindings *pSfxBindings, SfxChildWindow *pChildWindow, weld::Window *pParent, ScViewData &rViewData, const OUString &rUiXmlDescription, const OUString &rID)
virtual TranslateId GetUndoNameId() override
virtual ~ScMatrixComparisonGenerator() override
virtual ScRange ApplyOutput(ScDocShell *pDocShell) override
virtual OUString getLabel()=0
virtual OUString getTemplate()=0
OUString ScResId(TranslateId aId)
formula::FormulaGrammar::AddressConvention eConv