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

#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 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::text::XTextRange > SAL_CALL createTextRangeByPixelPosition (const css::awt::Point &rPixelPosition) 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
 
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getTransferableForTextRange (css::uno::Reference< css::text::XTextRange > const &xTextRange) override
 
void NotifySelChanged ()
 
void NotifyDBChanged ()
 
SwViewGetView ()
 
void Invalidate ()
 
SfxObjectShellLock BuildTmpSelectionDoc ()
 

Private Member Functions

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

Private Attributes

::comphelper::OInterfaceContainerHelper3< css::view::XSelectionChangeListener > 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 63 of file unotxvw.hxx.

Constructor & Destructor Documentation

◆ ~SwXTextView()

SwXTextView::~SwXTextView ( )
overrideprivatevirtual

Definition at line 96 of file unotxvw.cxx.

References Invalidate().

◆ SwXTextView()

SwXTextView::SwXTextView ( SwView pSwView)

Definition at line 87 of file unotxvw.cxx.

References m_aMutex.

Member Function Documentation

◆ addPropertyChangeListener()

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

Definition at line 754 of file unotxvw.cxx.

◆ addSelectionChangeListener()

void SwXTextView::addSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual

◆ addVetoableChangeListener()

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

Definition at line 768 of file unotxvw.cxx.

◆ BuildTmpSelectionDoc()

SfxObjectShellLock SwXTextView::BuildTmpSelectionDoc ( )

◆ createTextRangeByPixelPosition()

uno::Reference< text::XTextRange > SwXTextView::createTextRangeByPixelPosition ( const css::awt::Point &  rPixelPosition)
overridevirtual

◆ getControl()

uno::Reference< awt::XControl > SwXTextView::getControl ( const css::uno::Reference< css::awt::XControlModel > &  Model)
overridevirtual

Definition at line 376 of file unotxvw.cxx.

References GetControl(), and xModel.

◆ GetControl()

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

◆ getFormController()

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

◆ getImplementationName()

OUString SwXTextView::getImplementationName ( )
overridevirtual

Definition at line 782 of file unotxvw.cxx.

◆ getPropertySetInfo()

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

Definition at line 666 of file unotxvw.cxx.

References SfxItemPropertySet::getPropertySetInfo(), and m_pPropSet.

◆ getPropertyValue()

uno::Any SAL_CALL SwXTextView::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getRubyList()

Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList ( sal_Bool  bAutomatic)
overridevirtual

◆ getSelection()

uno::Any SwXTextView::getSelection ( )
overridevirtual

◆ getSupportedServiceNames()

Sequence< OUString > SwXTextView::getSupportedServiceNames ( )
overridevirtual

Definition at line 792 of file unotxvw.cxx.

◆ getTransferable()

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

◆ getTransferableForTextRange()

uno::Reference< datatransfer::XTransferable > SAL_CALL SwXTextView::getTransferableForTextRange ( css::uno::Reference< css::text::XTextRange > const &  xTextRange)
overridevirtual

◆ GetView()

SwView * SwXTextView::GetView ( )
inline

◆ getViewCursor()

uno::Reference< text::XTextViewCursor > SwXTextView::getViewCursor ( )
overridevirtual

Definition at line 417 of file unotxvw.cxx.

References GetView(), and mxTextViewCursor.

◆ getViewSettings()

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

Definition at line 472 of file unotxvw.cxx.

References m_pView, and mxViewSettings.

Referenced by SwView::ReadUserDataSequence().

◆ insertTransferable()

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

◆ Invalidate()

void SwXTextView::Invalidate ( )

◆ isFormDesignMode()

sal_Bool SAL_CALL SwXTextView::isFormDesignMode ( )
overridevirtual

Definition at line 400 of file unotxvw.cxx.

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

◆ NotifyDBChanged()

void SwXTextView::NotifyDBChanged ( )

◆ NotifySelChanged()

void SwXTextView::NotifySelChanged ( )

◆ removePropertyChangeListener()

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

Definition at line 761 of file unotxvw.cxx.

◆ removeSelectionChangeListener()

void SwXTextView::removeSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual

◆ removeVetoableChangeListener()

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

Definition at line 775 of file unotxvw.cxx.

◆ select()

sal_Bool SwXTextView::select ( const css::uno::Any &  rInterface)
overridevirtual

◆ setFormDesignMode()

void SAL_CALL SwXTextView::setFormDesignMode ( sal_Bool  DesignMode)
overridevirtual

Definition at line 408 of file unotxvw.cxx.

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

◆ setPropertyValue()

void SAL_CALL SwXTextView::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ setRubyList()

void SAL_CALL SwXTextView::setRubyList ( const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > > &  RubyList,
sal_Bool  bAutomatic 
)
overridevirtual

◆ supportsService()

sal_Bool SwXTextView::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 787 of file unotxvw.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pPropSet

const SfxItemPropertySet* SwXTextView::m_pPropSet
private

Definition at line 68 of file unotxvw.hxx.

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

◆ m_pView

SwView* SwXTextView::m_pView
private

◆ m_SelChangedListeners

::comphelper::OInterfaceContainerHelper3<css::view::XSelectionChangeListener> SwXTextView::m_SelChangedListeners
private

◆ mxTextViewCursor

css::uno::Reference< css::text::XTextViewCursor > SwXTextView::mxTextViewCursor
private

Definition at line 72 of file unotxvw.hxx.

Referenced by getViewCursor(), and Invalidate().

◆ mxViewSettings

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

Definition at line 71 of file unotxvw.hxx.

Referenced by getViewSettings(), and Invalidate().


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