LibreOffice Module sw (master) 1
Public Member Functions | Public Attributes | 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 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
 
- Public Member Functions inherited from OTextCursorHelper
 OTextCursorHelper ()
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual const SwPaMGetPaM () const =0
 
virtual SwPaMGetPaM ()=0
 
virtual const SwDocGetDoc () const =0
 
virtual SwDocGetDoc ()=0
 
- Public Member Functions inherited from cppu::ImplHelper1< css::lang::XUnoTunnel >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Public Attributes

sw::UnoCursorPointer m_pUnoCursor
 

Private Attributes

SwFrameFormatm_pFrameFormat
 
const SfxItemPropertySetm_pPropSet
 

Additional Inherited Members

- Static Public Member Functions inherited from OTextCursorHelper
static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 
- Protected Member Functions inherited from OTextCursorHelper
 ~OTextCursorHelper ()
 
- Protected Member Functions inherited from cppu::ImplHelper1< css::lang::XUnoTunnel >
 ~ImplHelper1 () SAL_NOEXCEPT
 

Detailed Description

Definition at line 190 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 1736 of file unotbl.cxx.

◆ addVetoableChangeListener()

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

Definition at line 1742 of file unotbl.cxx.

◆ GetCursor() [1/2]

SwUnoCursor & SwXTextTableCursor::GetCursor ( )

Definition at line 1451 of file unotbl.cxx.

References m_pUnoCursor.

◆ GetCursor() [2/2]

const SwUnoCursor & SwXTextTableCursor::GetCursor ( ) const

◆ GetDoc() [1/2]

const SwDoc * SwXTextTableCursor::GetDoc ( ) const
overridevirtual

Implements OTextCursorHelper.

Definition at line 1448 of file unotbl.cxx.

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

◆ GetDoc() [2/2]

SwDoc * SwXTextTableCursor::GetDoc ( )
overridevirtual

Implements OTextCursorHelper.

Definition at line 1449 of file unotbl.cxx.

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

◆ GetFrameFormat()

SwFrameFormat * SwXTextTableCursor::GetFrameFormat ( ) const
inline

Definition at line 241 of file unotbl.hxx.

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

◆ getImplementationName()

OUString SwXTextTableCursor::getImplementationName ( )
overridevirtual

Definition at line 1420 of file unotbl.cxx.

◆ GetPaM() [1/2]

const SwPaM * SwXTextTableCursor::GetPaM ( ) const
overridevirtual

Implements OTextCursorHelper.

Definition at line 1446 of file unotbl.cxx.

References GetCursor().

◆ GetPaM() [2/2]

SwPaM * SwXTextTableCursor::GetPaM ( )
overridevirtual

Implements OTextCursorHelper.

Definition at line 1447 of file unotbl.cxx.

References GetCursor().

◆ getPropertySetInfo()

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

Definition at line 1627 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 1453 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 1524 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 1533 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 1515 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 1748 of file unotbl.cxx.

References SfxHint::GetId(), and m_pFrameFormat.

◆ removePropertyChangeListener()

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

Definition at line 1739 of file unotbl.cxx.

◆ removeVetoableChangeListener()

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

Definition at line 1745 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 1423 of file unotbl.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pFrameFormat

SwFrameFormat* SwXTextTableCursor::m_pFrameFormat
private

Definition at line 195 of file unotbl.hxx.

Referenced by Notify(), and SwXTextTableCursor().

◆ m_pPropSet

const SfxItemPropertySet* SwXTextTableCursor::m_pPropSet
private

Definition at line 196 of file unotbl.hxx.

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

◆ m_pUnoCursor

sw::UnoCursorPointer SwXTextTableCursor::m_pUnoCursor

Definition at line 240 of file unotbl.hxx.

Referenced by GetCursor(), and SwXTextTableCursor().


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