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:
Collaboration diagram for SwXTextPortionEnumeration:

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 ( )

◆ 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 
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 ( )

Definition at line 281 of file unoportenum.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > SwXTextPortionEnumeration::getSupportedServiceNames ( )

Definition at line 292 of file unoportenum.cxx.

◆ hasMoreElements()

sal_Bool SwXTextPortionEnumeration::hasMoreElements ( )

Definition at line 334 of file unoportenum.cxx.

References m_Portions.

◆ nextElement()

uno::Any SwXTextPortionEnumeration::nextElement ( )

Definition at line 341 of file unoportenum.cxx.

References any, Any, and m_Portions.

◆ supportsService()

sal_Bool SwXTextPortionEnumeration::supportsService ( const OUString &  ServiceName)

Definition at line 287 of file unoportenum.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_Portions

TextRangeList_t SwXTextPortionEnumeration::m_Portions

Definition at line 252 of file unoport.hxx.

Referenced by hasMoreElements(), and nextElement().

◆ m_pUnoCursor

sw::UnoCursorPointer SwXTextPortionEnumeration::m_pUnoCursor

Definition at line 253 of file unoport.hxx.

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

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