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

uno3: SvxUnoTextCursor is not derived from XUnoTunnel, but should be (?) More...

#include <textuno.hxx>

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

Public Member Functions

 ScCellTextCursor (ScCellObj &rText)
 
virtual ~ScCellTextCursor () noexcept override
 
 ScCellTextCursor (ScCellTextCursor const &)=default
 
 ScCellTextCursor (ScCellTextCursor &&)=default
 
ScCellTextCursoroperator= (ScCellTextCursor const &)=delete
 
ScCellTextCursoroperator= (ScCellTextCursor &&)=delete
 
ScCellObjGetCellObj () const
 
virtual css::uno::Reference< css::text::XText > SAL_CALL getText () override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart () override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd () override
 
- Public Member Functions inherited from SvxUnoTextCursor
 SvxUnoTextCursor (const SvxUnoTextBase &rText) noexcept
 
 SvxUnoTextCursor (const SvxUnoTextCursor &rCursor) noexcept
 
virtual ~SvxUnoTextCursor () noexcept override
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Reference< css::text::XText > SAL_CALL getText () override
 
virtual OUString SAL_CALL getString () override
 
virtual void SAL_CALL setString (const OUString &aString) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getStart () override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getEnd () override
 
virtual void SAL_CALL collapseToStart () override
 
virtual void SAL_CALL collapseToEnd () override
 
virtual sal_Bool SAL_CALL isCollapsed () 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 void SAL_CALL gotoStart (sal_Bool bExpand) override
 
virtual void SAL_CALL gotoEnd (sal_Bool bExpand) override
 
virtual void SAL_CALL gotoRange (const css::uno::Reference< css::text::XTextRange > &xRange, sal_Bool bExpand) 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::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 

Private Attributes

rtl::Reference< ScCellObjmxTextObj
 

Detailed Description

uno3: SvxUnoTextCursor is not derived from XUnoTunnel, but should be (?)

Definition at line 208 of file textuno.hxx.

Constructor & Destructor Documentation

◆ ScCellTextCursor() [1/3]

ScCellTextCursor::ScCellTextCursor ( ScCellObj rText)

Definition at line 520 of file textuno.cxx.

Referenced by getEnd(), and getStart().

◆ ~ScCellTextCursor()

ScCellTextCursor::~ScCellTextCursor ( )
overridevirtualnoexcept

Definition at line 526 of file textuno.cxx.

◆ ScCellTextCursor() [2/3]

ScCellTextCursor::ScCellTextCursor ( ScCellTextCursor const &  )
default

◆ ScCellTextCursor() [3/3]

ScCellTextCursor::ScCellTextCursor ( ScCellTextCursor &&  )
default

Member Function Documentation

◆ GetCellObj()

ScCellObj & ScCellTextCursor::GetCellObj ( ) const
inline

Definition at line 221 of file textuno.hxx.

References mxTextObj.

Referenced by ScCellTextStyleContext::FillPropertySet().

◆ getEnd()

uno::Reference< text::XTextRange > SAL_CALL ScCellTextCursor::getEnd ( )
overridevirtual

use other object for range than cursor?

Reimplemented from SvxUnoTextCursor.

Definition at line 553 of file textuno.cxx.

References GetSelection(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, and ScCellTextCursor().

◆ getStart()

uno::Reference< text::XTextRange > SAL_CALL ScCellTextCursor::getStart ( )
overridevirtual

use other object for range than cursor?

Reimplemented from SvxUnoTextCursor.

Definition at line 537 of file textuno.cxx.

References GetSelection(), ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, and ScCellTextCursor().

◆ getText()

uno::Reference< text::XText > SAL_CALL ScCellTextCursor::getText ( )
overridevirtual

Reimplemented from SvxUnoTextCursor.

Definition at line 532 of file textuno.cxx.

References mxTextObj.

◆ operator=() [1/2]

ScCellTextCursor & ScCellTextCursor::operator= ( ScCellTextCursor &&  )
delete

◆ operator=() [2/2]

ScCellTextCursor & ScCellTextCursor::operator= ( ScCellTextCursor const &  )
delete

Member Data Documentation

◆ mxTextObj

rtl::Reference<ScCellObj> ScCellTextCursor::mxTextObj
private

Definition at line 210 of file textuno.hxx.

Referenced by GetCellObj(), and getText().


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