diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2023-06-15 11:36:43 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2023-06-16 00:48:56 +0200 |
commit | 6c4edf7f86912084371e15be7321e9c4764a9ca6 (patch) | |
tree | e0e8dbb1d31b22de364b63837f9ce624144516b7 /include | |
parent | d934aeace6e7049db3959421538ae382cb97b1d1 (diff) |
tdf#103064 sw,editeng: enable UNO API and ODF import/export
Change-Id: Icf30e1f30fe6bf6a7d96d14b975954613cd68b70
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153157
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/unoedprx.hxx | 3 | ||||
-rw-r--r-- | include/editeng/unoedsrc.hxx | 3 | ||||
-rw-r--r-- | include/editeng/unofored.hxx | 3 | ||||
-rw-r--r-- | include/editeng/unoforou.hxx | 5 | ||||
-rw-r--r-- | include/editeng/unotext.hxx | 4 |
5 files changed, 17 insertions, 1 deletions
diff --git a/include/editeng/unoedprx.hxx b/include/editeng/unoedprx.hxx index 475cd158934b..22b6be0c91e3 100644 --- a/include/editeng/unoedprx.hxx +++ b/include/editeng/unoedprx.hxx @@ -46,6 +46,9 @@ public: sal_Int32 CalcEditEngineIndex( sal_Int32 nPara, sal_Int32 nLogicalIndex ); + virtual OUString GetStyleSheet(sal_Int32 nPara) const override; + virtual void SetStyleSheet(sal_Int32 nPara, const OUString& rStyleName) override; + virtual SfxItemState GetItemState( const ESelection& rSel, sal_uInt16 nWhich ) const override; virtual SfxItemState GetItemState( sal_Int32 nPara, sal_uInt16 nWhich ) const override; diff --git a/include/editeng/unoedsrc.hxx b/include/editeng/unoedsrc.hxx index 007633616b19..1537f00a743c 100644 --- a/include/editeng/unoedsrc.hxx +++ b/include/editeng/unoedsrc.hxx @@ -152,6 +152,9 @@ public: virtual void RemoveAttribs( const ESelection& rSelection ) = 0; virtual void GetPortions( sal_Int32 nPara, std::vector<sal_Int32>& rList ) const = 0; + virtual OUString GetStyleSheet(sal_Int32 nPara) const = 0; + virtual void SetStyleSheet(sal_Int32 nPara, const OUString& rStyleName) = 0; + virtual SfxItemState GetItemState( const ESelection& rSel, sal_uInt16 nWhich ) const = 0; virtual SfxItemState GetItemState( sal_Int32 nPara, sal_uInt16 nWhich ) const = 0; diff --git a/include/editeng/unofored.hxx b/include/editeng/unofored.hxx index 7429cb21e53f..323095f85f0b 100644 --- a/include/editeng/unofored.hxx +++ b/include/editeng/unofored.hxx @@ -44,6 +44,9 @@ public: virtual void RemoveAttribs( const ESelection& rSelection ) override; virtual void GetPortions( sal_Int32 nPara, std::vector<sal_Int32>& rList ) const override; + virtual OUString GetStyleSheet(sal_Int32 nPara) const override; + virtual void SetStyleSheet(sal_Int32 nPara, const OUString& rStyleName) override; + virtual SfxItemState GetItemState( const ESelection& rSel, sal_uInt16 nWhich ) const override; virtual SfxItemState GetItemState( sal_Int32 nPara, sal_uInt16 nWhich ) const override; diff --git a/include/editeng/unoforou.hxx b/include/editeng/unoforou.hxx index 4c8d17fd3ca0..646c44a39e8f 100644 --- a/include/editeng/unoforou.hxx +++ b/include/editeng/unoforou.hxx @@ -30,7 +30,7 @@ class Outliner; // SvxOutlinerForwarder - SvxTextForwarder for Outliner -class EDITENG_DLLPUBLIC SvxOutlinerForwarder final : public SvxTextForwarder +class EDITENG_DLLPUBLIC SvxOutlinerForwarder : public SvxTextForwarder { private: Outliner& rOutliner; @@ -63,6 +63,9 @@ public: virtual void RemoveAttribs( const ESelection& rSelection ) override; virtual void GetPortions( sal_Int32 nPara, std::vector<sal_Int32>& rList ) const override; + virtual OUString GetStyleSheet(sal_Int32 nPara) const override; + virtual void SetStyleSheet(sal_Int32 nPara, const OUString& rStyleName) override; + virtual SfxItemState GetItemState( const ESelection& rSel, sal_uInt16 nWhich ) const override; virtual SfxItemState GetItemState( sal_Int32 nPara, sal_uInt16 nWhich ) const override; diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx index 84dc7d9fdb6f..de79cae965f2 100644 --- a/include/editeng/unotext.hxx +++ b/include/editeng/unotext.hxx @@ -64,6 +64,7 @@ struct SfxItemPropertyMapEntry; #define WID_PORTIONTYPE OWN_ATTR_VALUE_START+2 #define WID_NUMBERINGSTARTVALUE OWN_ATTR_VALUE_START+3 #define WID_PARAISNUMBERINGRESTART OWN_ATTR_VALUE_START+4 +#define WID_PARASTYLENAME OWN_ATTR_VALUE_START+5 #define SVX_UNOEDIT_NUMBERING_PROPERTY \ { UNO_NAME_NUMBERING_RULES, EE_PARA_NUMBULLET, cppu::UnoType<css::container::XIndexReplace>::get(), 0, 0 }, \ @@ -187,6 +188,9 @@ public: virtual void RemoveAttribs( const ESelection& rSelection ) override; virtual void GetPortions( sal_Int32 nPara, std::vector<sal_Int32>& rList ) const override; + virtual OUString GetStyleSheet(sal_Int32 nPara) const override; + virtual void SetStyleSheet(sal_Int32 nPara, const OUString& rStyleName) override; + SfxItemState GetItemState( const ESelection& rSel, sal_uInt16 nWhich ) const override; SfxItemState GetItemState( sal_Int32 nPara, sal_uInt16 nWhich ) const override; |