20#ifndef INCLUDED_SW_SOURCE_CORE_INC_UNOFLATPARA_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_UNOFLATPARA_HXX
25#include <com/sun/star/beans/XPropertySet.hpp>
26#include <com/sun/star/text/XFlatParagraph.hpp>
27#include <com/sun/star/text/XFlatParagraphIterator.hpp>
40typedef ::cppu::ImplInheritanceHelper
42, css::beans::XPropertySet
43, css::text::XFlatParagraph
54 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
57 const OUString& rPropertyName,
58 const css::uno::Any& rValue)
override;
60 const OUString& rPropertyName)
override;
62 const OUString& rPropertyName,
63 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener)
override;
65 const OUString& rPropertyName,
66 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener)
override;
68 const OUString& rPropertyName,
69 const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener)
override;
71 const OUString& rPropertyName,
72 const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener)
override;
78 const css::uno::Reference< css::container::XStringKeyMap > & xMarkupInfoContainer)
override;
80 virtual void SAL_CALL
commitTextRangeMarkup(::sal_Int32
nType,
const OUString & aIdentifier,
const css::uno::Reference< css::text::XTextRange> & xRange,
81 const css::uno::Reference< css::container::XStringKeyMap > & xMarkupInfoContainer)
override;
84 virtual OUString SAL_CALL
getText()
override;
90 virtual void SAL_CALL
changeText(::sal_Int32
nPos, ::sal_Int32 nLen,
const OUString & aNewText,
const css::uno::Sequence< css::beans::PropertyValue > & aAttributes)
override;
91 virtual void SAL_CALL
changeAttributes(::sal_Int32
nPos, ::sal_Int32 nLen,
const css::uno::Sequence< css::beans::PropertyValue > & aAttributes)
override;
104 public ::cppu::WeakImplHelper
106 css::text::XFlatParagraphIterator
115 virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL
getFirstPara()
override;
116 virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL
getNextPara()
override;
117 virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL
getLastPara()
override;
118 virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL
getParaBefore(
const css::uno::Reference< css::text::XFlatParagraph > & xPara)
override;
119 virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL
getParaAfter(
const css::uno::Reference< css::text::XFlatParagraph > & xPara)
override;
SwTextNode is a paragraph in the document model.
virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getParaBefore(const css::uno::Reference< css::text::XFlatParagraph > &xPara) override
virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getNextPara() override
SwNodeOffset mnCurrentNode
virtual ~SwXFlatParagraphIterator() override
virtual void Notify(const SfxHint &) override
SwXFlatParagraphIterator(const SwXFlatParagraphIterator &)=delete
virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getParaAfter(const css::uno::Reference< css::text::XFlatParagraph > &xPara) override
virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getFirstPara() override
SwXFlatParagraphIterator(SwDoc &rDoc, sal_Int32 nType, bool bAutomatic)
virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getLastPara() override
SwXFlatParagraphIterator & operator=(const SwXFlatParagraphIterator &)=delete
virtual ~SwXFlatParagraph() override
virtual OUString SAL_CALL getText() override
virtual void SAL_CALL removePropertyChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual void SAL_CALL changeText(::sal_Int32 nPos, ::sal_Int32 nLen, const OUString &aNewText, const css::uno::Sequence< css::beans::PropertyValue > &aAttributes) override
virtual void SAL_CALL addVetoableChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
SwXFlatParagraph(const SwXFlatParagraph &)=delete
virtual css::uno::Reference< css::container::XStringKeyMap > SAL_CALL getMarkupInfoContainer() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL addPropertyChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual css::lang::Locale SAL_CALL getPrimaryLanguageOfText(::sal_Int32 nPos, ::sal_Int32 nLen) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &rPropertyName) override
SwXFlatParagraph(SwTextNode &rTextNode, OUString aExpandText, const ModelToViewHelper &rConversionMap)
virtual void SAL_CALL commitStringMarkup(::sal_Int32 nType, const OUString &aIdentifier, ::sal_Int32 nStart, ::sal_Int32 nLength, const css::uno::Reference< css::container::XStringKeyMap > &xMarkupInfoContainer) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
virtual sal_Bool SAL_CALL isChecked(::sal_Int32 nType) override
virtual void SAL_CALL commitTextRangeMarkup(::sal_Int32 nType, const OUString &aIdentifier, const css::uno::Reference< css::text::XTextRange > &xRange, const css::uno::Reference< css::container::XStringKeyMap > &xMarkupInfoContainer) override
virtual void SAL_CALL setPropertyValue(const OUString &rPropertyName, const css::uno::Any &rValue) override
virtual sal_Bool SAL_CALL isModified() override
virtual void SAL_CALL setChecked(::sal_Int32 nType, sal_Bool bVal) override
virtual void SAL_CALL changeAttributes(::sal_Int32 nPos, ::sal_Int32 nLen, const css::uno::Sequence< css::beans::PropertyValue > &aAttributes) override
virtual css::lang::Locale SAL_CALL getLanguageOfText(::sal_Int32 nPos, ::sal_Int32 nLen) override
SwXFlatParagraph & operator=(const SwXFlatParagraph &)=delete
virtual css::uno::Sequence< ::sal_Int32 > SAL_CALL getLanguagePortions() override
Implementation of the css::text::XTextMarkup interface.
SwTextNode * GetTextNode()
::cppu::ImplInheritanceHelper< SwXTextMarkup, css::beans::XPropertySet, css::text::XFlatParagraph > SwXFlatParagraph_Base