20#ifndef INCLUDED_SW_SOURCE_CORE_INC_UNOMETA_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_UNOMETA_HXX
26#include <com/sun/star/lang/XServiceInfo.hpp>
27#include <com/sun/star/beans/XPropertySet.hpp>
28#include <com/sun/star/container/XChild.hpp>
29#include <com/sun/star/container/XEnumerationAccess.hpp>
30#include <com/sun/star/text/XTextContent.hpp>
31#include <com/sun/star/text/XTextField.hpp>
40 css::uno::Reference< css::text::XTextRange > >
50typedef ::cppu::ImplInheritanceHelper
52, css::lang::XServiceInfo
53, css::container::XChild
54, css::container::XEnumerationAccess
55, css::text::XTextContent
74 const css::uno::Reference< css::text::XTextRange > & xTextRange,
75 const sal_uInt16 nWhich);
84 css::uno::Reference< css::text::XText>
const& xParentText,
85 std::unique_ptr<TextRangeList_t const> pPortions);
94 css::uno::Reference< css::text::XText>
const& xParentText =
nullptr,
95 std::unique_ptr<TextRangeList_t const> && pPortions = std::unique_ptr<TextRangeList_t const>());
102 css::uno::Reference< css::text::XText >
const &
GetParentText()
const;
110 virtual css::uno::Reference< css::frame::XModel >
116 const OUString& rServiceName)
override;
117 virtual css::uno::Sequence< OUString > SAL_CALL
121 virtual void SAL_CALL
dispose()
override;
123 const css::uno::Reference< css::lang::XEventListener > & xListener)
override;
125 const css::uno::Reference< css::lang::XEventListener > & xListener)
override;
128 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
131 css::uno::Reference< css::uno::XInterface>
const& xParent)
override;
138 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
142 virtual void SAL_CALL
attach(
143 const css::uno::Reference< css::text::XTextRange > & xTextRange)
override;
144 virtual css::uno::Reference< css::text::XTextRange > SAL_CALL
getAnchor()
override;
147 virtual css::uno::Reference< css::text::XText >
149 virtual css::uno::Reference<
150 css::text::XTextRange > SAL_CALL
getStart()
override;
151 virtual css::uno::Reference<
152 css::text::XTextRange > SAL_CALL
getEnd()
override;
153 virtual OUString SAL_CALL
getString()
override;
154 virtual void SAL_CALL
setString(
const OUString& rString)
override;
157 virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL
159 virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL
161 const css::uno::Reference< css::text::XTextRange > & xTextPosition)
override;
163 const css::uno::Reference< css::text::XTextRange > & xRange,
164 const OUString& aString,
sal_Bool bAbsorb)
override;
166 const css::uno::Reference< css::text::XTextRange > & xRange,
167 sal_Int16 nControlCharacter,
sal_Bool bAbsorb)
override;
171 const css::uno::Reference< css::text::XTextRange > & xRange,
172 const css::uno::Reference< css::text::XTextContent > & xContent,
175 const css::uno::Reference< css::text::XTextContent > & xContent)
override;
179typedef ::cppu::ImplInheritanceHelper
181, css::beans::XPropertySet
182, css::text::XTextField
195 css::uno::Reference< css::text::XText>
const&,
196 std::unique_ptr<TextRangeList_t const> && pPortions);
199 css::uno::Reference< css::text::XText>
const& xParentText,
200 std::unique_ptr<TextRangeList_t const> pPortions);
212 const OUString& ServiceName)
override;
213 virtual css::uno::Sequence< OUString > SAL_CALL
217 virtual void SAL_CALL
dispose()
override;
219 const css::uno::Reference< css::lang::XEventListener > & xListener)
override;
221 const css::uno::Reference< css::lang::XEventListener > & xListener)
override;
224 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
227 const OUString& rPropertyName,
228 const css::uno::Any& rValue)
override;
229 virtual css::uno::Any SAL_CALL
232 const OUString& rPropertyName,
233 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener)
override;
235 const OUString& rPropertyName,
236 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener)
override;
238 const OUString& rPropertyName,
239 const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener)
override;
241 const OUString& rPropertyName,
242 const css::uno::Reference< css::beans::XVetoableChangeListener >& xListener)
override;
245 virtual void SAL_CALL
attach(
246 const css::uno::Reference< css::text::XTextRange > & xTextRange)
override;
247 virtual css::uno::Reference< css::text::XTextRange > SAL_CALL
getAnchor()
override;
256 const css::uno::Reference< css::frame::XModel>& xModel,
257 const css::uno::Reference< css::rdf::XMetadatable>& xMetaField,
258 OUString *
const o_pPrefix, OUString *
const o_pSuffix, OUString *
const o_pShadowColor);
PaM is Point and Mark: a selection of the document model.
SwTextNode is a paragraph in the document model.
Dialog to specify the properties of date form field.
std::unique_ptr< T, UnoImplPtrDeleter< T > > UnoImplPtr
Smart pointer class ensuring that the pointed object is deleted with a locked SolarMutex.