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

#include <textuno.hxx>

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

Public Member Functions

 ScDrawTextCursor (css::uno::Reference< css::text::XText > xParent, const SvxUnoTextBase &rText)
 
virtual ~ScDrawTextCursor () noexcept override
 
 ScDrawTextCursor (ScDrawTextCursor const &)=default
 
 ScDrawTextCursor (ScDrawTextCursor &&)=default
 
ScDrawTextCursoroperator= (ScDrawTextCursor const &)=delete
 
ScDrawTextCursoroperator= (ScDrawTextCursor &&)=delete
 
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

css::uno::Reference< css::text::XText > xParentText
 

Detailed Description

Definition at line 261 of file textuno.hxx.

Constructor & Destructor Documentation

◆ ScDrawTextCursor() [1/3]

ScDrawTextCursor::ScDrawTextCursor ( css::uno::Reference< css::text::XText >  xParent,
const SvxUnoTextBase rText 
)

Referenced by getEnd(), and getStart().

◆ ~ScDrawTextCursor()

ScDrawTextCursor::~ScDrawTextCursor ( )
overridevirtualnoexcept

Definition at line 632 of file textuno.cxx.

◆ ScDrawTextCursor() [2/3]

ScDrawTextCursor::ScDrawTextCursor ( ScDrawTextCursor const &  )
default

◆ ScDrawTextCursor() [3/3]

ScDrawTextCursor::ScDrawTextCursor ( ScDrawTextCursor &&  )
default

Member Function Documentation

◆ getEnd()

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

use other object for range than cursor?

Reimplemented from SvxUnoTextCursor.

Definition at line 660 of file textuno.cxx.

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

◆ getStart()

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

use other object for range than cursor?

Reimplemented from SvxUnoTextCursor.

Definition at line 644 of file textuno.cxx.

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

◆ getText()

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

Reimplemented from SvxUnoTextCursor.

Definition at line 638 of file textuno.cxx.

References xParentText.

◆ operator=() [1/2]

ScDrawTextCursor & ScDrawTextCursor::operator= ( ScDrawTextCursor &&  )
delete

◆ operator=() [2/2]

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

Member Data Documentation

◆ xParentText

css::uno::Reference< css::text::XText > ScDrawTextCursor::xParentText
private

Definition at line 264 of file textuno.hxx.

Referenced by getText().


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