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

#include <textuno.hxx>

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

Public Member Functions

 ScHeaderFooterTextCursor (rtl::Reference< ScHeaderFooterTextObj > const &rText)
 
virtual ~ScHeaderFooterTextCursor () noexcept override
 
 ScHeaderFooterTextCursor (ScHeaderFooterTextCursor const &)=default
 
 ScHeaderFooterTextCursor (ScHeaderFooterTextCursor &&)=default
 
ScHeaderFooterTextCursoroperator= (ScHeaderFooterTextCursor const &)=delete
 
ScHeaderFooterTextCursoroperator= (ScHeaderFooterTextCursor &&)=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

rtl::Reference< ScHeaderFooterTextObjrTextObj
 

Detailed Description

Definition at line 235 of file textuno.hxx.

Constructor & Destructor Documentation

◆ ScHeaderFooterTextCursor() [1/3]

ScHeaderFooterTextCursor::ScHeaderFooterTextCursor ( rtl::Reference< ScHeaderFooterTextObj > const &  rText)

Definition at line 573 of file textuno.cxx.

Referenced by getEnd(), and getStart().

◆ ~ScHeaderFooterTextCursor()

ScHeaderFooterTextCursor::~ScHeaderFooterTextCursor ( )
overridevirtualnoexcept

Definition at line 578 of file textuno.cxx.

◆ ScHeaderFooterTextCursor() [2/3]

ScHeaderFooterTextCursor::ScHeaderFooterTextCursor ( ScHeaderFooterTextCursor const &  )
default

◆ ScHeaderFooterTextCursor() [3/3]

ScHeaderFooterTextCursor::ScHeaderFooterTextCursor ( ScHeaderFooterTextCursor &&  )
default

Member Function Documentation

◆ getEnd()

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

use other object for range than cursor?

Reimplemented from SvxUnoTextCursor.

Definition at line 604 of file textuno.cxx.

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

◆ getStart()

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

use other object for range than cursor?

Reimplemented from SvxUnoTextCursor.

Definition at line 588 of file textuno.cxx.

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

◆ getText()

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

Reimplemented from SvxUnoTextCursor.

Definition at line 582 of file textuno.cxx.

References rTextObj.

◆ operator=() [1/2]

ScHeaderFooterTextCursor & ScHeaderFooterTextCursor::operator= ( ScHeaderFooterTextCursor &&  )
delete

◆ operator=() [2/2]

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

Member Data Documentation

◆ rTextObj

rtl::Reference<ScHeaderFooterTextObj> ScHeaderFooterTextCursor::rTextObj
private

Definition at line 238 of file textuno.hxx.

Referenced by getText().


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