LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SwXTextView Class Reference

#include <unotxvw.hxx>

Inheritance diagram for SwXTextView:
[legend]
Collaboration diagram for SwXTextView:
[legend]

Public Member Functions

 SwXTextView (SwView *pSwView)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Any SAL_CALL getSelection () override
 
virtual sal_Bool SAL_CALL select (const css::uno::Any &rInterface) override
 
virtual void SAL_CALL addSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
 
virtual void SAL_CALL removeSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) 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 isFormDesignMode () override
 
virtual void SAL_CALL setFormDesignMode (sal_Bool DesignMode) override
 
virtual css::uno::Reference< css::awt::XControl > SAL_CALL getControl (const css::uno::Reference< css::awt::XControlModel > &Model) override
 
virtual css::uno::Reference< css::text::XTextViewCursor > SAL_CALL getViewCursor () override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL getViewSettings () override
 
virtual css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > SAL_CALL getRubyList (sal_Bool bAutomatic) override
 
virtual void SAL_CALL setRubyList (const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &RubyList, sal_Bool bAutomatic) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () 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 addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferable () override
 
virtual void SAL_CALL insertTransferable (const css::uno::Reference< css::datatransfer::XTransferable > &xTrans) override
 
void NotifySelChanged ()
 
void NotifyDBChanged ()
 
SwViewGetView ()
 
void Invalidate ()
 
SfxObjectShellLock BuildTmpSelectionDoc ()
 
- Public Member Functions inherited from SfxBaseController
 SfxBaseController (SfxViewShell *pView)
 
virtual ~SfxBaseController () override
 
SAL_DLLPRIVATE void ReleaseShell_Impl ()
 
SAL_DLLPRIVATE void BorderWidthsChanged_Impl ()
 
css::uno::Reference< css::task::XStatusIndicator > SAL_CALL getStatusIndicator () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getComponentWindow () override
 
virtual OUString SAL_CALL getViewControllerName () override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCreationArguments () override
 
virtual css::uno::Reference< css::ui::XSidebarProvider > SAL_CALL getSidebar () override
 
virtual void SAL_CALL attachFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) override
 
virtual sal_Bool SAL_CALL attachModel (const css::uno::Reference< css::frame::XModel > &xModel) override
 
virtual sal_Bool SAL_CALL suspend (sal_Bool bSuspend) override
 
css::uno::Any SAL_CALL getViewData () override
 
void SAL_CALL restoreViewData (const css::uno::Any &aValue) override
 
css::uno::Reference< css::frame::XFrame > SAL_CALL getFrame () override
 
css::uno::Reference< css::frame::XModel > SAL_CALL getModel () override
 
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch (const css::util::URL &aURL, const OUString &sTargetFrameName, sal_Int32 eSearchFlags) override
 
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &seqDescriptor) override
 
virtual css::frame::BorderWidths SAL_CALL getBorder () override
 
virtual void SAL_CALL addBorderResizeListener (const css::uno::Reference< css::frame::XBorderResizeListener > &xListener) override
 
virtual void SAL_CALL removeBorderResizeListener (const css::uno::Reference< css::frame::XBorderResizeListener > &xListener) override
 
virtual css::awt::Rectangle SAL_CALL queryBorderedArea (const css::awt::Rectangle &aPreliminaryRectangle) override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL registerContextMenuInterceptor (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) override
 
virtual void SAL_CALL releaseContextMenuInterceptor (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) override
 
virtual void SAL_CALL addKeyHandler (const css::uno::Reference< css::awt::XKeyHandler > &xHandler) override
 
virtual void SAL_CALL removeKeyHandler (const css::uno::Reference< css::awt::XKeyHandler > &xHandler) override
 
virtual void SAL_CALL addMouseClickHandler (const css::uno::Reference< css::awt::XMouseClickHandler > &xHandler) override
 
virtual void SAL_CALL removeMouseClickHandler (const css::uno::Reference< css::awt::XMouseClickHandler > &xHandler) override
 
virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSupportedCommandGroups () override
 
virtual css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL getConfigurableDispatchInformation (sal_Int16 nCommandGroup) override
 
virtual OUString SAL_CALL getTitle () override
 
virtual void SAL_CALL setTitle (const OUString &sTitle) override
 
virtual void SAL_CALL addTitleChangeListener (const css::uno::Reference< css::frame::XTitleChangeListener > &xListener) override
 
virtual void SAL_CALL removeTitleChangeListener (const css::uno::Reference< css::frame::XTitleChangeListener > &xListener) override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
SfxViewShellGetViewShell_Impl () const
 
SAL_DLLPRIVATE bool HandleEvent_Impl (NotifyEvent const &rEvent)
 
SAL_DLLPRIVATE bool HasKeyListeners_Impl ()
 
SAL_DLLPRIVATE bool HasMouseClickListeners_Impl ()
 
SAL_DLLPRIVATE void SetCreationArguments_Impl (const css::uno::Sequence< css::beans::PropertyValue > &i_rCreationArgs)
 
SAL_DLLPRIVATE css::uno::Reference< css::frame::XTitle > impl_getTitleHelper ()
 

Protected Member Functions

virtual ~SwXTextView () override
 

Private Member Functions

SdrObjectGetControl (const css::uno::Reference< css::awt::XControlModel > &Model, css::uno::Reference< css::awt::XControl > &xToFill)
 

Private Attributes

::comphelper::OInterfaceContainerHelper2 m_SelChangedListeners
 
SwViewm_pView
 
const SfxItemPropertySetm_pPropSet
 
css::uno::Reference< css::beans::XPropertySetmxViewSettings
 
css::uno::Reference< css::text::XTextViewCursor > mxTextViewCursor
 

Detailed Description

Definition at line 50 of file unotxvw.hxx.

Constructor & Destructor Documentation

SwXTextView::~SwXTextView ( )
overrideprotectedvirtual

Definition at line 103 of file unotxvw.cxx.

References Invalidate().

SwXTextView::SwXTextView ( SwView pSwView)

Definition at line 92 of file unotxvw.cxx.

References m_aMutex.

Member Function Documentation

void SAL_CALL SwXTextView::acquire ( )
throw (
)
overridevirtual

Definition at line 156 of file unotxvw.cxx.

void SAL_CALL SwXTextView::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 810 of file unotxvw.cxx.

void SwXTextView::addSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual
void SAL_CALL SwXTextView::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 824 of file unotxvw.cxx.

SfxObjectShellLock SwXTextView::BuildTmpSelectionDoc ( )
SdrObject * SwXTextView::GetControl ( const css::uno::Reference< css::awt::XControlModel > &  Model,
css::uno::Reference< css::awt::XControl > &  xToFill 
)
private
uno::Reference< awt::XControl > SwXTextView::getControl ( const css::uno::Reference< css::awt::XControlModel > &  Model)
overridevirtual

Definition at line 464 of file unotxvw.cxx.

References GetControl().

uno::Reference< form::runtime::XFormController > SAL_CALL SwXTextView::getFormController ( const css::uno::Reference< css::form::XForm > &  Form)
overridevirtual
Sequence< sal_Int8 > SAL_CALL SwXTextView::getImplementationId ( )
overridevirtual

Definition at line 151 of file unotxvw.cxx.

OUString SwXTextView::getImplementationName ( )
overridevirtual

Definition at line 838 of file unotxvw.cxx.

uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXTextView::getPropertySetInfo ( )
overridevirtual

Definition at line 722 of file unotxvw.cxx.

References SfxItemPropertySet::getPropertySetInfo(), and m_pPropSet.

uno::Any SAL_CALL SwXTextView::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList ( sal_Bool  bAutomatic)
overridevirtual
uno::Any SwXTextView::getSelection ( )
overridevirtual
Sequence< OUString > SwXTextView::getSupportedServiceNames ( )
overridevirtual

Definition at line 848 of file unotxvw.cxx.

uno::Reference< datatransfer::XTransferable > SAL_CALL SwXTextView::getTransferable ( )
overridevirtual
Sequence< uno::Type > SAL_CALL SwXTextView::getTypes ( )
overridevirtual

Definition at line 136 of file unotxvw.cxx.

References cppu::OTypeCollection::getTypes().

SwView* SwXTextView::GetView ( )
inline
uno::Reference< text::XTextViewCursor > SwXTextView::getViewCursor ( )
overridevirtual

Definition at line 505 of file unotxvw.cxx.

References GetView(), and mxTextViewCursor.

uno::Reference< beans::XPropertySet > SwXTextView::getViewSettings ( )
overridevirtual

Definition at line 519 of file unotxvw.cxx.

References m_pView, and mxViewSettings.

Referenced by SwView::ReadUserDataSequence().

void SAL_CALL SwXTextView::insertTransferable ( const css::uno::Reference< css::datatransfer::XTransferable > &  xTrans)
overridevirtual
void SwXTextView::Invalidate ( )
sal_Bool SAL_CALL SwXTextView::isFormDesignMode ( )
overridevirtual

Definition at line 488 of file unotxvw.cxx.

References SwView::GetFormShell(), GetView(), and FmFormShell::IsDesignMode().

void SwXTextView::NotifyDBChanged ( )
void SwXTextView::NotifySelChanged ( )
uno::Any SAL_CALL SwXTextView::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Definition at line 166 of file unotxvw.cxx.

void SAL_CALL SwXTextView::release ( )
throw (
)
overridevirtual

Definition at line 161 of file unotxvw.cxx.

void SAL_CALL SwXTextView::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 817 of file unotxvw.cxx.

void SwXTextView::removeSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual
void SAL_CALL SwXTextView::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 831 of file unotxvw.cxx.

sal_Bool SwXTextView::select ( const css::uno::Any &  rInterface)
overridevirtual
void SAL_CALL SwXTextView::setFormDesignMode ( sal_Bool  DesignMode)
overridevirtual

Definition at line 496 of file unotxvw.cxx.

References SwView::GetFormShell(), GetView(), and FmFormShell::SetDesignMode().

void SAL_CALL SwXTextView::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
void SAL_CALL SwXTextView::setRubyList ( const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &  RubyList,
sal_Bool  bAutomatic 
)
overridevirtual
sal_Bool SwXTextView::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 843 of file unotxvw.cxx.

References cppu::supportsService().

Member Data Documentation

const SfxItemPropertySet* SwXTextView::m_pPropSet
private

Definition at line 64 of file unotxvw.hxx.

Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().

SwView* SwXTextView::m_pView
private
::comphelper::OInterfaceContainerHelper2 SwXTextView::m_SelChangedListeners
private
css::uno::Reference< css::text::XTextViewCursor > SwXTextView::mxTextViewCursor
private

Definition at line 68 of file unotxvw.hxx.

Referenced by getViewCursor(), and Invalidate().

css::uno::Reference< css::beans::XPropertySet > SwXTextView::mxViewSettings
private

Definition at line 67 of file unotxvw.hxx.

Referenced by getViewSettings(), and Invalidate().


The documentation for this class was generated from the following files: