29 std::vector<SwRewriteRule>::iterator aIt
31 [&aRule](
SwRewriteRule const&
a) { return a.first == aRule.first; });
41 OUString aResult = rStr;
43 for (
const auto& rRule :
mRules)
45 aResult = aResult.replaceAll(
GetPlaceHolder(rRule.first), rRule.second);
std::pair< SwUndoArg, OUString > SwRewriteRule
void AddRule(SwUndoArg eWhat, const OUString &rWith)
static OUString GetPlaceHolder(SwUndoArg eId)
std::vector< SwRewriteRule > mRules
OUString Apply(const OUString &rStr) const