diff options
Diffstat (limited to 'include/editeng/editeng.hxx')
-rw-r--r-- | include/editeng/editeng.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index d8be7c663eed..2b4f23663193 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -140,6 +140,10 @@ template<class T> bool checkSvxFieldData(const SvxFieldData* pData) return dynamic_cast<const T*>(pData) != nullptr; } +enum class SetAttribsMode { + NONE, WholeWord, Edge +}; + class SdrObject; class EDITENG_DLLPUBLIC EditEngine { @@ -570,7 +574,7 @@ public: const SfxItemSet& GetBaseParaAttribs(sal_Int32 nPara) const; void SetParaAttribsOnly(sal_Int32 nPara, const SfxItemSet& rSet); - void SetAttribs(const EditSelection& rSel, const SfxItemSet& rSet, sal_uInt8 nSpecial = 0); + void SetAttribs(const EditSelection& rSel, const SfxItemSet& rSet, SetAttribsMode nSpecial = SetAttribsMode::NONE); OUString GetSelected(const EditSelection& rSel) const; EditPaM DeleteSelected(const EditSelection& rSel); |