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/XRubySelection.hpp>
27 #include <com/sun/star/view/XFormLayerAccess.hpp>
28 #include <com/sun/star/view/XScreenCursor.hpp>
29 #include <com/sun/star/view/XViewSettingsSupplier.hpp>
30 #include <com/sun/star/view/XSelectionSupplier.hpp>
31 #include <com/sun/star/view/XLineCursor.hpp>
32 #include <com/sun/star/view/XViewCursor.hpp>
33 #include <com/sun/star/text/XPageCursor.hpp>
34 #include <com/sun/star/beans/XPropertySet.hpp>
35 #include <com/sun/star/beans/XPropertySetInfo.hpp>
36 #include <com/sun/star/beans/XPropertyState.hpp>
37 #include <com/sun/star/lang/XServiceInfo.hpp>
38 #include <com/sun/star/datatransfer/XTransferableSupplier.hpp>
39 #include <com/sun/star/datatransfer/XTransferableTextSupplier.hpp>
51 public css::view::XSelectionSupplier,
52 public css::lang::XServiceInfo,
53 public css::view::XFormLayerAccess,
54 public css::text::XTextViewCursorSupplier,
55 public css::text::XRubySelection,
56 public css::view::XViewSettingsSupplier,
57 public css::beans::XPropertySet,
58 public css::datatransfer::XTransferableSupplier,
59 public css::datatransfer::XTransferableTextSupplier,
72 const css::uno::Reference< css::awt::XControlModel > & Model,
73 css::uno::Reference< css::awt::XControl >& xToFill );
80 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type& aType )
override;
81 virtual void SAL_CALL
acquire( ) throw() override;
82 virtual
void SAL_CALL
release( ) throw() override;
100 virtual
css::
uno::Reference<
css::awt::XControl > SAL_CALL
getControl(const
css::
uno::Reference<
css::awt::XControlModel > & Model) override;
109 virtual
css::
uno::Sequence<
114 css::
uno::Sequence<
css::beans::PropertyValue > >& RubyList,
sal_Bool bAutomatic ) override;
118 virtual
void SAL_CALL
setPropertyValue( const OUString& aPropertyName, const
css::
uno::Any& aValue ) override;
120 virtual
void SAL_CALL
addPropertyChangeListener( const OUString& aPropertyName, const
css::
uno::Reference<
css::beans::XPropertyChangeListener >& xListener ) override;
122 virtual
void SAL_CALL
addVetoableChangeListener( const OUString& PropertyName, const
css::
uno::Reference<
css::beans::XVetoableChangeListener >& aListener ) override;
147 typedef cppu::WeakImplHelper<
148 css::text::XTextViewCursor,
149 css::lang::XServiceInfo,
150 css::text::XPageCursor,
151 css::view::XScreenCursor,
152 css::view::XViewCursor,
153 css::view::XLineCursor,
154 css::beans::XPropertySet,
155 css::beans::XPropertyState
193 virtual sal_Int16 SAL_CALL
getPage() override;
196 virtual
css::
uno::Reference<
css::text::XText > SAL_CALL
getText() override;
197 virtual
css::
uno::Reference<
css::text::XTextRange > SAL_CALL
getStart() override;
198 virtual
css::
uno::Reference<
css::text::XTextRange > SAL_CALL
getEnd() override;
199 virtual OUString SAL_CALL
getString() override;
200 virtual
void SAL_CALL
setString(const OUString& aString) override;
218 virtual
void SAL_CALL
setPropertyValue( const OUString& aPropertyName, const
css::
uno::Any& aValue ) override;
220 virtual
void SAL_CALL
addPropertyChangeListener( const OUString& aPropertyName, const
css::
uno::Reference<
css::beans::XPropertyChangeListener >& xListener ) override;
222 virtual
void SAL_CALL
addVetoableChangeListener( const OUString& PropertyName, const
css::
uno::Reference<
css::beans::XVetoableChangeListener >& aListener ) override;
226 virtual
css::beans::PropertyState SAL_CALL
getPropertyState( const OUString& PropertyName ) override;
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual sal_Bool SAL_CALL screenUp() override
virtual void SAL_CALL collapseToEnd() override
bool IsTextSelection(bool bAllowTables=true) const
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL gotoEnd(sal_Bool bExpand) override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL setVisible(sal_Bool bVisible) override
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable() override
css::uno::Reference< css::beans::XPropertySet > mxViewSettings
virtual const SwPaM * GetPaM() const override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getViewSettings() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual OUString SAL_CALL getString() override
virtual void SAL_CALL gotoEndOfLine(sal_Bool bExpand) override
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 > &aIdentifier) override
virtual void SAL_CALL setRubyList(const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &RubyList, sal_Bool bAutomatic) override
const SfxItemPropertySet * m_pPropSet
virtual sal_Bool SAL_CALL isFormDesignMode() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual sal_Bool SAL_CALL screenDown() 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::beans::PropertyState SAL_CALL getPropertyState(const OUString &PropertyName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL goLeft(sal_Int16 nCount, sal_Bool bExpand) override
virtual sal_Bool SAL_CALL isCollapsed() override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual css::uno::Any SAL_CALL getSelection() override
virtual sal_Bool SAL_CALL jumpToLastPage() override
virtual sal_Bool SAL_CALL jumpToPreviousPage() override
virtual ~SwXTextViewCursor() override
virtual sal_Bool SAL_CALL jumpToFirstPage() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual void SAL_CALL addSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
virtual void SAL_CALL gotoStart(sal_Bool bExpand) override
PaM is Point and Mark: a selection of the document model.
virtual css::uno::Any SAL_CALL getPropertyDefault(const OUString &aPropertyName) override
virtual void SAL_CALL collapseToStart() override
SwXTextView(SwView *pSwView)
virtual void SAL_CALL setPropertyToDefault(const OUString &PropertyName) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual sal_Bool SAL_CALL isAtStartOfLine() override
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId()
virtual void SAL_CALL removeSelectionChangeListener(const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
SwXTextViewCursor(SwView *pVw)
virtual sal_Bool SAL_CALL isVisible() override
virtual void SAL_CALL acquire() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual sal_Bool SAL_CALL jumpToStartOfPage() override
virtual OUString SAL_CALL getImplementationName() override
const SfxItemPropertySet * m_pPropSet
virtual css::awt::Point SAL_CALL getPosition() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl(const css::uno::Reference< css::awt::XControlModel > &Model) override
virtual sal_Bool SAL_CALL goRight(sal_Int16 nCount, sal_Bool bExpand) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
::comphelper::OInterfaceContainerHelper2 m_SelChangedListeners
virtual sal_Int16 SAL_CALL getPage() override
virtual sal_Bool SAL_CALL select(const css::uno::Any &rInterface) override
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferableForTextRange(css::uno::Reference< css::text::XTextRange > const &xTextRange) override
virtual void SAL_CALL gotoStartOfLine(sal_Bool bExpand) override
virtual css::uno::Reference< css::form::runtime::XFormController > SAL_CALL getFormController(const css::uno::Reference< css::form::XForm > &Form) override
virtual sal_Bool SAL_CALL jumpToPage(sal_Int16 nPage) override
virtual void SAL_CALL setString(const OUString &aString) override
virtual sal_Bool SAL_CALL jumpToEndOfPage() override
virtual void SAL_CALL release() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual const SwDoc * GetDoc() const override
virtual void SAL_CALL setFormDesignMode(sal_Bool DesignMode) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual void SAL_CALL insertTransferable(const css::uno::Reference< css::datatransfer::XTransferable > &xTrans) override
virtual css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL getRubyList(sal_Bool bAutomatic) override
virtual sal_Bool SAL_CALL goDown(sal_Int16 nCount, sal_Bool bExpand) override
SfxObjectShellLock BuildTmpSelectionDoc()
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd() override
virtual void SAL_CALL gotoRange(const css::uno::Reference< css::text::XTextRange > &xRange, sal_Bool bExpand) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
SdrObject * GetControl(const css::uno::Reference< css::awt::XControlModel > &Model, css::uno::Reference< css::awt::XControl > &xToFill)
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
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
virtual sal_Bool SAL_CALL isAtEndOfLine() override
virtual css::uno::Reference< css::text::XTextViewCursor > SAL_CALL getViewCursor() override
virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override
css::uno::Reference< css::text::XTextViewCursor > mxTextViewCursor
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates(const css::uno::Sequence< OUString > &aPropertyName) override
virtual ~SwXTextView() override
virtual sal_Bool SAL_CALL jumpToNextPage() override
#define DECLARE_XINTERFACE()
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override