diff options
author | Jürgen Schmidt <jsc@apache.org> | 2013-03-20 14:19:45 +0000 |
---|---|---|
committer | Jürgen Schmidt <jsc@apache.org> | 2013-03-20 14:19:45 +0000 |
commit | de75173372c022c3004643d8978f76662261130b (patch) | |
tree | fba7254f8943fbb8b8e1e6baa80d1de7d84349e1 /sw/inc/unoflatpara.hxx | |
parent | 5da75c78a80e43cb2bb4ed777ae5efcc1449cdda (diff) |
#121734# extend XTextMarkup to support ranges
Patch by: Kai Labusch
Review by: arielch, jsc
Notes
Notes:
merged as: c43ffd3d44060c0801138e33a9dfc917133b7c21
Diffstat (limited to 'sw/inc/unoflatpara.hxx')
-rw-r--r-- | sw/inc/unoflatpara.hxx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sw/inc/unoflatpara.hxx b/sw/inc/unoflatpara.hxx index 45e741b850ef..31a1d224c049 100644 --- a/sw/inc/unoflatpara.hxx +++ b/sw/inc/unoflatpara.hxx @@ -40,6 +40,10 @@ namespace com { namespace sun { namespace star { namespace container { class XStringKeyMap; } } } } +namespace com { namespace sun { namespace star { namespace text { + class XTextRange; +} } } } + class SwTxtNode; class SwDoc; @@ -68,7 +72,14 @@ public: // text::XTextMarkup: virtual css::uno::Reference< css::container::XStringKeyMap > SAL_CALL getMarkupInfoContainer() throw (css::uno::RuntimeException); - virtual void SAL_CALL commitTextMarkup(::sal_Int32 nType, const ::rtl::OUString & aIdentifier, ::sal_Int32 nStart, ::sal_Int32 nLength, const css::uno::Reference< css::container::XStringKeyMap > & xMarkupInfoContainer) throw (css::uno::RuntimeException); + + virtual void SAL_CALL commitStringMarkup(::sal_Int32 nType, const ::rtl::OUString & aIdentifier, ::sal_Int32 nStart, ::sal_Int32 nLength, + const css::uno::Reference< css::container::XStringKeyMap > & xMarkupInfoContainer) throw (css::uno::RuntimeException); + + virtual void SAL_CALL commitTextRangeMarkup(::sal_Int32 nType, const ::rtl::OUString & aIdentifier, const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange> & xRange, + const css::uno::Reference< css::container::XStringKeyMap > & xMarkupInfoContainer) throw (css::uno::RuntimeException); + + // text::XFlatParagraph: virtual ::rtl::OUString SAL_CALL getText() throw (css::uno::RuntimeException); |