LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwXTextPortionEnumeration Class Referencefinal

#include <unoport.hxx>

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

Public Member Functions

 SwXTextPortionEnumeration (SwPaM &rParaCursor, css::uno::Reference< css::text::XText > const &xParent, const sal_Int32 nStart, const sal_Int32 nEnd)
 
 SwXTextPortionEnumeration (SwPaM &rParaCursor, TextRangeList_t &&rPortions)
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual sal_Bool SAL_CALL hasMoreElements () override
 
virtual css::uno::Any SAL_CALL nextElement () 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
 

Static Public Member Functions

static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId ()
 

Private Member Functions

virtual ~SwXTextPortionEnumeration () override
 

Private Attributes

TextRangeList_t m_Portions
 
sw::UnoCursorPointer m_pUnoCursor
 

Detailed Description

Definition at line 247 of file unoport.hxx.

Constructor & Destructor Documentation

◆ ~SwXTextPortionEnumeration()

SwXTextPortionEnumeration::~SwXTextPortionEnumeration ( )
overrideprivatevirtual

Definition at line 337 of file unoportenum.cxx.

References m_pUnoCursor, and sw::UnoCursorPointer::reset().

◆ SwXTextPortionEnumeration() [1/2]

SwXTextPortionEnumeration::SwXTextPortionEnumeration ( SwPaM rParaCursor,
css::uno::Reference< css::text::XText > const &  xParent,
const sal_Int32  nStart,
const sal_Int32  nEnd 
)

◆ SwXTextPortionEnumeration() [2/2]

SwXTextPortionEnumeration::SwXTextPortionEnumeration ( SwPaM rParaCursor,
TextRangeList_t &&  rPortions 
)

Member Function Documentation

◆ getImplementationName()

OUString SwXTextPortionEnumeration::getImplementationName ( )
overridevirtual

Definition at line 295 of file unoportenum.cxx.

◆ getSomething()

sal_Int64 SAL_CALL SwXTextPortionEnumeration::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

Definition at line 289 of file unoportenum.cxx.

References comphelper::getSomethingImpl().

◆ getSupportedServiceNames()

Sequence< OUString > SwXTextPortionEnumeration::getSupportedServiceNames ( )
overridevirtual

Definition at line 306 of file unoportenum.cxx.

◆ getUnoTunnelId()

const uno::Sequence< sal_Int8 > & SwXTextPortionEnumeration::getUnoTunnelId ( )
static

Definition at line 283 of file unoportenum.cxx.

References comphelper::UnoIdInit::getSeq().

◆ hasMoreElements()

sal_Bool SwXTextPortionEnumeration::hasMoreElements ( )
overridevirtual

Definition at line 343 of file unoportenum.cxx.

References m_Portions.

◆ nextElement()

uno::Any SwXTextPortionEnumeration::nextElement ( )
overridevirtual

Definition at line 350 of file unoportenum.cxx.

References any, Any, and m_Portions.

◆ supportsService()

sal_Bool SwXTextPortionEnumeration::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 301 of file unoportenum.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_Portions

TextRangeList_t SwXTextPortionEnumeration::m_Portions
private

Definition at line 254 of file unoport.hxx.

Referenced by hasMoreElements(), and nextElement().

◆ m_pUnoCursor

sw::UnoCursorPointer SwXTextPortionEnumeration::m_pUnoCursor
private

Definition at line 255 of file unoport.hxx.

Referenced by SwXTextPortionEnumeration(), and ~SwXTextPortionEnumeration().


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