19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_UNOTXVW_HXX
20#define INCLUDED_SW_SOURCE_UIBASE_INC_UNOTXVW_HXX
24#include <com/sun/star/text/XTextViewCursor.hpp>
25#include <com/sun/star/text/XTextViewCursorSupplier.hpp>
26#include <com/sun/star/text/XTextViewTextRangeSupplier.hpp>
27#include <com/sun/star/text/XRubySelection.hpp>
28#include <com/sun/star/view/XFormLayerAccess.hpp>
29#include <com/sun/star/view/XScreenCursor.hpp>
30#include <com/sun/star/view/XViewSettingsSupplier.hpp>
31#include <com/sun/star/view/XSelectionSupplier.hpp>
32#include <com/sun/star/view/XLineCursor.hpp>
33#include <com/sun/star/view/XViewCursor.hpp>
34#include <com/sun/star/text/XPageCursor.hpp>
35#include <com/sun/star/beans/XPropertySet.hpp>
36#include <com/sun/star/beans/XPropertySetInfo.hpp>
37#include <com/sun/star/beans/XPropertyState.hpp>
38#include <com/sun/star/lang/XServiceInfo.hpp>
39#include <com/sun/star/datatransfer/XTransferableSupplier.hpp>
40#include <com/sun/star/datatransfer/XTransferableTextSupplier.hpp>
51typedef cppu::ImplInheritanceHelper<
53 css::view::XSelectionSupplier,
54 css::lang::XServiceInfo,
55 css::view::XFormLayerAccess,
56 css::text::XTextViewCursorSupplier,
57 css::text::XTextViewTextRangeSupplier,
58 css::text::XRubySelection,
59 css::view::XViewSettingsSupplier,
60 css::beans::XPropertySet,
61 css::datatransfer::XTransferableSupplier,
75 const css::uno::Reference< css::awt::XControlModel > & Model,
76 css::uno::Reference< css::awt::XControl >& xToFill );
84 virtual sal_Bool SAL_CALL
select(
const css::uno::Any& rInterface)
override;
85 virtual void SAL_CALL
addSelectionChangeListener(
const css::uno::Reference< css::view::XSelectionChangeListener > & xListener)
override;
89 virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL
getFormController(
const css::uno::Reference< css::form::XForm >& Form )
override;
94 virtual css::uno::Reference< css::awt::XControl > SAL_CALL
getControl(
const css::uno::Reference< css::awt::XControlModel > & Model)
override;
97 virtual css::uno::Reference< css::text::XTextViewCursor > SAL_CALL
getViewCursor()
override;
100 virtual css::uno::Reference<css::text::XTextRange>
104 virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL
getViewSettings()
override;
107 virtual css::uno::Sequence<
108 css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL
getRubyList(
sal_Bool bAutomatic )
override;
111 const css::uno::Sequence<
112 css::uno::Sequence< css::beans::PropertyValue > >& RubyList,
sal_Bool bAutomatic )
override;
115 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( )
override;
116 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
117 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
118 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
119 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
120 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
121 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
129 virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL
getTransferable( )
override;
130 virtual void SAL_CALL
insertTransferable(
const css::uno::Reference< css::datatransfer::XTransferable >& xTrans )
override;
133 virtual css::uno::Reference<css::datatransfer::XTransferable> SAL_CALL
getTransferableForTextRange(css::uno::Reference<css::text::XTextRange>
const& xTextRange)
override;
145typedef cppu::WeakImplHelper<
146 css::text::XTextViewCursor,
147 css::lang::XServiceInfo,
148 css::text::XPageCursor,
149 css::view::XScreenCursor,
150 css::view::XViewCursor,
151 css::view::XLineCursor,
152 css::beans::XPropertySet,
153 css::beans::XPropertyState
169 virtual css::awt::Point SAL_CALL
getPosition()
override;
179 virtual void SAL_CALL
gotoRange(
const css::uno::Reference< css::text::XTextRange >& xRange,
sal_Bool bExpand )
override;
189 virtual sal_Int16 SAL_CALL
getPage()
override;
192 virtual css::uno::Reference< css::text::XText > SAL_CALL
getText()
override;
193 virtual css::uno::Reference< css::text::XTextRange > SAL_CALL
getStart()
override;
194 virtual css::uno::Reference< css::text::XTextRange > SAL_CALL
getEnd()
override;
195 virtual OUString SAL_CALL
getString()
override;
196 virtual void SAL_CALL
setString(
const OUString& aString)
override;
213 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( )
override;
214 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
215 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
216 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
217 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
218 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
219 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
222 virtual css::beans::PropertyState SAL_CALL
getPropertyState(
const OUString& PropertyName )
override;
223 virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL
getPropertyStates(
const css::uno::Sequence< OUString >& aPropertyName )
override;
225 virtual css::uno::Any SAL_CALL
getPropertyDefault(
const OUString& aPropertyName )
override;
friend friend class SfxBaseController
PaM is Point and Mark: a selection of the document model.
virtual sal_Bool SAL_CALL jumpToNextPage() override
virtual sal_Bool SAL_CALL jumpToFirstPage() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL collapseToEnd() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual css::awt::Point SAL_CALL getPosition() override
virtual sal_Bool SAL_CALL isCollapsed() override
virtual ~SwXTextViewCursor() override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual void SAL_CALL gotoEndOfLine(sal_Bool bExpand) override
const SfxItemPropertySet * m_pPropSet
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
SwXTextViewCursor(SwView *pVw)
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
bool IsTextSelection(bool bAllowTables=true) const
virtual const SwDoc * GetDoc() const override
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart() override
virtual sal_Bool SAL_CALL goUp(sal_Int16 nCount, sal_Bool bExpand) override
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual sal_Bool SAL_CALL isAtEndOfLine() override
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL goRight(sal_Int16 nCount, sal_Bool bExpand) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL isVisible() override
virtual OUString SAL_CALL getString() override
virtual void SAL_CALL collapseToStart() override
virtual void SAL_CALL gotoStart(sal_Bool bExpand) override
virtual sal_Bool SAL_CALL jumpToStartOfPage() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual sal_Int16 SAL_CALL getPage() override
virtual sal_Bool SAL_CALL screenDown() override
virtual void SAL_CALL gotoStartOfLine(sal_Bool bExpand) override
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
virtual sal_Bool SAL_CALL jumpToLastPage() override
virtual void SAL_CALL setString(const OUString &aString) override
virtual sal_Bool SAL_CALL isAtStartOfLine() override
virtual sal_Bool SAL_CALL goLeft(sal_Int16 nCount, sal_Bool bExpand) override
virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand) override
virtual void SAL_CALL setVisible(sal_Bool bVisible) override
virtual sal_Bool SAL_CALL jumpToEndOfPage() override
virtual sal_Bool SAL_CALL jumpToPreviousPage() override
virtual sal_Bool SAL_CALL screenUp() override
virtual const SwPaM * GetPaM() const override
virtual void SAL_CALL gotoRange(const css::uno::Reference< css::text::XTextRange > &xRange, sal_Bool bExpand) override
virtual void SAL_CALL gotoEnd(sal_Bool bExpand) override
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd() override
virtual sal_Bool SAL_CALL jumpToPage(sal_Int16 nPage) override
virtual css::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
virtual void SAL_CALL insertTransferable(const css::uno::Reference< css::datatransfer::XTransferable > &xTrans) override
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getViewSettings() override
css::uno::Reference< css::beans::XPropertySet > mxViewSettings
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferableForTextRange(css::uno::Reference< css::text::XTextRange > const &xTextRange) override
virtual ~SwXTextView() override
virtual css::uno::Reference< css::text::XTextViewCursor > SAL_CALL getViewCursor() override
virtual void SAL_CALL setRubyList(const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &RubyList, sal_Bool bAutomatic) override
virtual css::uno::Any SAL_CALL getSelection() override
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl(const css::uno::Reference< css::awt::XControlModel > &Model) override
virtual void SAL_CALL removeSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
virtual css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL getRubyList(sal_Bool bAutomatic) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual void SAL_CALL addSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
SfxObjectShellLock BuildTmpSelectionDoc()
virtual sal_Bool SAL_CALL isFormDesignMode() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
SdrObject * GetControl(const css::uno::Reference< css::awt::XControlModel > &Model, css::uno::Reference< css::awt::XControl > &xToFill)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable() override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
css::uno::Reference< css::text::XTextViewCursor > mxTextViewCursor
::comphelper::OInterfaceContainerHelper3< css::view::XSelectionChangeListener > m_SelChangedListeners
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual sal_Bool SAL_CALL select(const css::uno::Any &rInterface) override
SwXTextView(SwView *pSwView)
virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL getFormController(const css::uno::Reference< css::form::XForm > &Form) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual void SAL_CALL setFormDesignMode(sal_Bool DesignMode) override
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL createTextRangeByPixelPosition(const css::awt::Point &rPixelPosition) override
const SfxItemPropertySet * m_pPropSet
cppu::WeakImplHelper< css::text::XTextViewCursor, css::lang::XServiceInfo, css::text::XPageCursor, css::view::XScreenCursor, css::view::XViewCursor, css::view::XLineCursor, css::beans::XPropertySet, css::beans::XPropertyState > SwXTextViewCursor_Base
cppu::ImplInheritanceHelper< SfxBaseController, css::view::XSelectionSupplier, css::lang::XServiceInfo, css::view::XFormLayerAccess, css::text::XTextViewCursorSupplier, css::text::XTextViewTextRangeSupplier, css::text::XRubySelection, css::view::XViewSettingsSupplier, css::beans::XPropertySet, css::datatransfer::XTransferableSupplier, css::datatransfer::XTransferableTextSupplier > SwXTextView_Base