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

#include <unotbl.hxx>

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

Public Member Functions

 SwXTextTableCursor (SwFrameFormat *pFormat, SwTableBox const *pBox)
 
 SwXTextTableCursor (SwFrameFormat &rTableFormat, const SwTableCursor *pTableSelection)
 
virtual void SAL_CALL release () noexcept override
 
virtual OUString SAL_CALL getRangeName () override
 
virtual sal_Bool SAL_CALL gotoCellByName (const OUString &aCellName, sal_Bool bExpand) override
 
virtual sal_Bool SAL_CALL goLeft (sal_Int16 nCount, sal_Bool bExpand) override
 
virtual sal_Bool SAL_CALL goRight (sal_Int16 nCount, sal_Bool bExpand) override
 
virtual sal_Bool SAL_CALL goUp (sal_Int16 nCount, sal_Bool bExpand) override
 
virtual sal_Bool SAL_CALL goDown (sal_Int16 nCount, sal_Bool bExpand) override
 
virtual void SAL_CALL gotoStart (sal_Bool bExpand) override
 
virtual void SAL_CALL gotoEnd (sal_Bool bExpand) override
 
virtual sal_Bool SAL_CALL mergeRange () override
 
virtual sal_Bool SAL_CALL splitRange (sal_Int16 Count, sal_Bool Horizontal) 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 const SwPaMGetPaM () const override
 
virtual SwPaMGetPaM () override
 
virtual const SwDocGetDoc () const override
 
virtual SwDocGetDoc () override
 
virtual void Notify (const SfxHint &) override
 
const SwUnoCursorGetCursor () const
 
SwUnoCursorGetCursor ()
 
SwFrameFormatGetFrameFormat () const
 
- Public Member Functions inherited from SvtListener
 SvtListener ()=default
 
 SvtListener (const SvtListener &r)=default
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
void EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
virtual void Notify (const SfxHint &rHint)
 
virtual void Query (QueryBase &rQuery) const
 

Private Attributes

SwFrameFormatm_pFrameFormat
 
const SfxItemPropertySetm_pPropSet
 
sw::UnoCursorPointer m_pUnoCursor
 

Detailed Description

Definition at line 183 of file unotbl.hxx.

Constructor & Destructor Documentation

◆ SwXTextTableCursor() [1/2]

SwXTextTableCursor::SwXTextTableCursor ( SwFrameFormat pFormat,
SwTableBox const *  pBox 
)

◆ SwXTextTableCursor() [2/2]

SwXTextTableCursor::SwXTextTableCursor ( SwFrameFormat rTableFormat,
const SwTableCursor pTableSelection 
)

Member Function Documentation

◆ addPropertyChangeListener()

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

Definition at line 1700 of file unotbl.cxx.

◆ addVetoableChangeListener()

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

Definition at line 1706 of file unotbl.cxx.

◆ GetCursor() [1/2]

SwUnoCursor & SwXTextTableCursor::GetCursor ( )

Definition at line 1415 of file unotbl.cxx.

References m_pUnoCursor.

◆ GetCursor() [2/2]

const SwUnoCursor & SwXTextTableCursor::GetCursor ( ) const

◆ GetDoc() [1/2]

const SwDoc * SwXTextTableCursor::GetDoc ( ) const
overridevirtual

Definition at line 1412 of file unotbl.cxx.

References SwFormat::GetDoc(), and GetFrameFormat().

◆ GetDoc() [2/2]

SwDoc * SwXTextTableCursor::GetDoc ( )
overridevirtual

Definition at line 1413 of file unotbl.cxx.

References SwFormat::GetDoc(), and GetFrameFormat().

◆ GetFrameFormat()

SwFrameFormat * SwXTextTableCursor::GetFrameFormat ( ) const
inline

Definition at line 234 of file unotbl.hxx.

Referenced by GetDoc(), getRangeName(), and SwVbaSelection::Tables().

◆ getImplementationName()

OUString SwXTextTableCursor::getImplementationName ( )
overridevirtual

Definition at line 1398 of file unotbl.cxx.

◆ GetPaM() [1/2]

const SwPaM * SwXTextTableCursor::GetPaM ( ) const
overridevirtual

Definition at line 1410 of file unotbl.cxx.

References GetCursor().

◆ GetPaM() [2/2]

SwPaM * SwXTextTableCursor::GetPaM ( )
overridevirtual

Definition at line 1411 of file unotbl.cxx.

References GetCursor().

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SwXTextTableCursor::getPropertySetInfo ( )
overridevirtual

Definition at line 1591 of file unotbl.cxx.

References SfxItemPropertySet::getPropertySetInfo(), and m_pPropSet.

◆ getPropertyValue()

uno::Any SwXTextTableCursor::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getRangeName()

OUString SwXTextTableCursor::getRangeName ( )
overridevirtual

◆ getSupportedServiceNames()

uno::Sequence< OUString > SwXTextTableCursor::getSupportedServiceNames ( )
overridevirtual

Definition at line 1417 of file unotbl.cxx.

◆ goDown()

sal_Bool SwXTextTableCursor::goDown ( sal_Int16  nCount,
sal_Bool  bExpand 
)
overridevirtual

◆ goLeft()

sal_Bool SwXTextTableCursor::goLeft ( sal_Int16  nCount,
sal_Bool  bExpand 
)
overridevirtual

Definition at line 1488 of file unotbl.cxx.

References Count, GetCursor(), lcl_CursorSelect(), and SwCursor::Left().

◆ goRight()

sal_Bool SwXTextTableCursor::goRight ( sal_Int16  nCount,
sal_Bool  bExpand 
)
overridevirtual

Definition at line 1497 of file unotbl.cxx.

References Count, GetCursor(), lcl_CursorSelect(), and SwCursor::Right().

◆ gotoCellByName()

sal_Bool SwXTextTableCursor::gotoCellByName ( const OUString &  aCellName,
sal_Bool  bExpand 
)
overridevirtual

Definition at line 1479 of file unotbl.cxx.

References GetCursor(), and lcl_CursorSelect().

◆ gotoEnd()

void SwXTextTableCursor::gotoEnd ( sal_Bool  bExpand)
overridevirtual

◆ gotoStart()

void SwXTextTableCursor::gotoStart ( sal_Bool  bExpand)
overridevirtual

◆ goUp()

sal_Bool SwXTextTableCursor::goUp ( sal_Int16  nCount,
sal_Bool  bExpand 
)
overridevirtual

◆ mergeRange()

sal_Bool SwXTextTableCursor::mergeRange ( )
overridevirtual

◆ Notify()

void SwXTextTableCursor::Notify ( const SfxHint rHint)
overridevirtual

Reimplemented from SvtListener.

Definition at line 1712 of file unotbl.cxx.

References SfxHint::GetId(), and m_pFrameFormat.

◆ release()

void SwXTextTableCursor::release ( )
overridevirtualnoexcept

Definition at line 1404 of file unotbl.cxx.

◆ removePropertyChangeListener()

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

Definition at line 1703 of file unotbl.cxx.

◆ removeVetoableChangeListener()

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

Definition at line 1709 of file unotbl.cxx.

◆ setPropertyValue()

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

◆ splitRange()

sal_Bool SwXTextTableCursor::splitRange ( sal_Int16  Count,
sal_Bool  Horizontal 
)
overridevirtual

◆ supportsService()

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

Definition at line 1401 of file unotbl.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pFrameFormat

SwFrameFormat* SwXTextTableCursor::m_pFrameFormat
private

Definition at line 188 of file unotbl.hxx.

Referenced by Notify(), and SwXTextTableCursor().

◆ m_pPropSet

const SfxItemPropertySet* SwXTextTableCursor::m_pPropSet
private

Definition at line 189 of file unotbl.hxx.

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

◆ m_pUnoCursor

sw::UnoCursorPointer SwXTextTableCursor::m_pUnoCursor
private

Definition at line 190 of file unotbl.hxx.

Referenced by GetCursor(), and SwXTextTableCursor().


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