LibreOffice Module editeng (master) 1
Public Member Functions | Private Attributes | List of all members
SvxUnoTextCursor Class Reference

#include <unotext.hxx>

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

Public Member Functions

 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
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Private Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 632 of file unotext.hxx.

Constructor & Destructor Documentation

◆ SvxUnoTextCursor() [1/2]

SvxUnoTextCursor::SvxUnoTextCursor ( const SvxUnoTextBase rText)
noexcept

Definition at line 438 of file unotext2.cxx.

◆ SvxUnoTextCursor() [2/2]

SvxUnoTextCursor::SvxUnoTextCursor ( const SvxUnoTextCursor rCursor)
noexcept

Definition at line 444 of file unotext2.cxx.

◆ ~SvxUnoTextCursor()

SvxUnoTextCursor::~SvxUnoTextCursor ( )
overridevirtualnoexcept

Definition at line 453 of file unotext2.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL SvxUnoTextCursor::acquire ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakAggObject.

Definition at line 482 of file unotext2.cxx.

◆ collapseToEnd()

void SAL_CALL SvxUnoTextCursor::collapseToEnd ( )
overridevirtual

Definition at line 521 of file unotext2.cxx.

◆ collapseToStart()

void SAL_CALL SvxUnoTextCursor::collapseToStart ( )
overridevirtual

Definition at line 515 of file unotext2.cxx.

◆ getEnd()

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

Definition at line 590 of file unotext2.cxx.

◆ getImplementationId()

uno::Sequence< sal_Int8 > SAL_CALL SvxUnoTextCursor::getImplementationId ( )
overridevirtual

Definition at line 509 of file unotext2.cxx.

◆ getImplementationName()

OUString SAL_CALL SvxUnoTextCursor::getImplementationName ( )
overridevirtual

Definition at line 605 of file unotext2.cxx.

◆ getStart()

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

Definition at line 585 of file unotext2.cxx.

◆ getString()

OUString SAL_CALL SvxUnoTextCursor::getString ( )
overridevirtual

Definition at line 595 of file unotext2.cxx.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL SvxUnoTextCursor::getSupportedServiceNames ( )
overridevirtual

Definition at line 615 of file unotext2.cxx.

References comphelper::concatSequences(), and u.

◆ getText()

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

Definition at line 580 of file unotext2.cxx.

References mxParentText.

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL SvxUnoTextCursor::getTypes ( )
overridevirtual

Definition at line 493 of file unotext2.cxx.

References cppu::UnoType< typename T >::get().

◆ goLeft()

sal_Bool SAL_CALL SvxUnoTextCursor::goLeft ( sal_Int16  nCount,
sal_Bool  bExpand 
)
overridevirtual

Definition at line 533 of file unotext2.cxx.

References nCount.

◆ goRight()

sal_Bool SAL_CALL SvxUnoTextCursor::goRight ( sal_Int16  nCount,
sal_Bool  bExpand 
)
overridevirtual

Definition at line 539 of file unotext2.cxx.

References nCount.

◆ gotoEnd()

void SAL_CALL SvxUnoTextCursor::gotoEnd ( sal_Bool  bExpand)
overridevirtual

Definition at line 551 of file unotext2.cxx.

◆ gotoRange()

void SAL_CALL SvxUnoTextCursor::gotoRange ( const css::uno::Reference< css::text::XTextRange > &  xRange,
sal_Bool  bExpand 
)
overridevirtual

Definition at line 557 of file unotext2.cxx.

References GetSelection(), ESelection::nStartPara, and ESelection::nStartPos.

◆ gotoStart()

void SAL_CALL SvxUnoTextCursor::gotoStart ( sal_Bool  bExpand)
overridevirtual

Definition at line 545 of file unotext2.cxx.

◆ isCollapsed()

sal_Bool SAL_CALL SvxUnoTextCursor::isCollapsed ( )
overridevirtual

Definition at line 527 of file unotext2.cxx.

◆ queryAggregation()

uno::Any SAL_CALL SvxUnoTextCursor::queryAggregation ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from cppu::OWeakAggObject.

Definition at line 460 of file unotext2.cxx.

References QUERYINT.

◆ queryInterface()

uno::Any SAL_CALL SvxUnoTextCursor::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from cppu::OWeakAggObject.

Definition at line 477 of file unotext2.cxx.

◆ release()

void SAL_CALL SvxUnoTextCursor::release ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakAggObject.

Definition at line 487 of file unotext2.cxx.

◆ setString()

void SAL_CALL SvxUnoTextCursor::setString ( const OUString &  aString)
overridevirtual

Definition at line 600 of file unotext2.cxx.

◆ supportsService()

sal_Bool SAL_CALL SvxUnoTextCursor::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 610 of file unotext2.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ mxParentText

css::uno::Reference< css::text::XText > SvxUnoTextCursor::mxParentText
private

Definition at line 638 of file unotext.hxx.

Referenced by getText().


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