LibreOffice Module sw (master) 1
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, bool bOnlyTextFields=false)
 
 SwXTextPortionEnumeration (SwPaM &rParaCursor, TextRangeList_t &&rPortions)
 
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
 

Private Member Functions

virtual ~SwXTextPortionEnumeration () override
 

Private Attributes

TextRangeList_t m_Portions
 
sw::UnoCursorPointer m_pUnoCursor
 

Detailed Description

Definition at line 246 of file unoport.hxx.

Constructor & Destructor Documentation

◆ ~SwXTextPortionEnumeration()

SwXTextPortionEnumeration::~SwXTextPortionEnumeration ( )
overrideprivatevirtual

◆ SwXTextPortionEnumeration() [1/2]

SwXTextPortionEnumeration::SwXTextPortionEnumeration ( SwPaM rParaCursor,
css::uno::Reference< css::text::XText > const &  xParent,
const sal_Int32  nStart,
const sal_Int32  nEnd,
bool  bOnlyTextFields = false 
)
Parameters
bOnlyTextFieldstries to return less data, but may return more than just text fields

◆ SwXTextPortionEnumeration() [2/2]

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

Member Function Documentation

◆ getImplementationName()

OUString SwXTextPortionEnumeration::getImplementationName ( )
overridevirtual

Definition at line 281 of file unoportenum.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > SwXTextPortionEnumeration::getSupportedServiceNames ( )
overridevirtual

Definition at line 292 of file unoportenum.cxx.

◆ hasMoreElements()

sal_Bool SwXTextPortionEnumeration::hasMoreElements ( )
overridevirtual

Definition at line 334 of file unoportenum.cxx.

References m_Portions.

◆ nextElement()

uno::Any SwXTextPortionEnumeration::nextElement ( )
overridevirtual

Definition at line 341 of file unoportenum.cxx.

References any, Any, and m_Portions.

◆ supportsService()

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

Definition at line 287 of file unoportenum.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_Portions

TextRangeList_t SwXTextPortionEnumeration::m_Portions
private

Definition at line 252 of file unoport.hxx.

Referenced by hasMoreElements(), and nextElement().

◆ m_pUnoCursor

sw::UnoCursorPointer SwXTextPortionEnumeration::m_pUnoCursor
private

Definition at line 253 of file unoport.hxx.

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


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