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

#include <unoflatpara.hxx>

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

Public Member Functions

 SwXFlatParagraphIterator (SwDoc &rDoc, sal_Int32 nType, bool bAutomatic)
 
virtual ~SwXFlatParagraphIterator () override
 
virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getFirstPara () override
 
virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getNextPara () override
 
virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getLastPara () override
 
virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getParaBefore (const css::uno::Reference< css::text::XFlatParagraph > &xPara) override
 
virtual css::uno::Reference< css::text::XFlatParagraph > SAL_CALL getParaAfter (const css::uno::Reference< css::text::XFlatParagraph > &xPara) override
 
virtual void Notify (const SfxHint &) override
 
- Public Member Functions inherited from SvtListener
 SvtListener ()=default
 
 SvtListener (const SvtListener &r)=default
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
void EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
virtual void Notify (const SfxHint &rHint)
 
virtual void Query (QueryBase &rQuery) const
 

Private Member Functions

 SwXFlatParagraphIterator (const SwXFlatParagraphIterator &)=delete
 
SwXFlatParagraphIteratoroperator= (const SwXFlatParagraphIterator &)=delete
 

Private Attributes

std::set< css::uno::Reference< css::text::XFlatParagraph > > m_aFlatParaList
 
SwDocmpDoc
 
const sal_Int32 mnType
 
const bool mbAutomatic
 
SwNodeOffset mnCurrentNode
 
SwNodeOffset mnEndNode
 

Detailed Description

Definition at line 103 of file unoflatpara.hxx.

Constructor & Destructor Documentation

◆ SwXFlatParagraphIterator() [1/2]

SwXFlatParagraphIterator::SwXFlatParagraphIterator ( SwDoc rDoc,
sal_Int32  nType,
bool  bAutomatic 
)

◆ ~SwXFlatParagraphIterator()

SwXFlatParagraphIterator::~SwXFlatParagraphIterator ( )
overridevirtual

Definition at line 344 of file unoflatpara.cxx.

References SvtListener::EndListeningAll().

◆ SwXFlatParagraphIterator() [2/2]

SwXFlatParagraphIterator::SwXFlatParagraphIterator ( const SwXFlatParagraphIterator )
privatedelete

Member Function Documentation

◆ getFirstPara()

uno::Reference< text::XFlatParagraph > SwXFlatParagraphIterator::getFirstPara ( )
overridevirtual

Definition at line 359 of file unoflatpara.cxx.

References getNextPara().

◆ getLastPara()

uno::Reference< text::XFlatParagraph > SwXFlatParagraphIterator::getLastPara ( )
overridevirtual

Definition at line 495 of file unoflatpara.cxx.

References getNextPara().

◆ getNextPara()

uno::Reference< text::XFlatParagraph > SwXFlatParagraphIterator::getNextPara ( )
overridevirtual

◆ getParaAfter()

uno::Reference< text::XFlatParagraph > SwXFlatParagraphIterator::getParaAfter ( const css::uno::Reference< css::text::XFlatParagraph > &  xPara)
overridevirtual

◆ getParaBefore()

uno::Reference< text::XFlatParagraph > SwXFlatParagraphIterator::getParaBefore ( const css::uno::Reference< css::text::XFlatParagraph > &  xPara)
overridevirtual

◆ Notify()

void SwXFlatParagraphIterator::Notify ( const SfxHint rHint)
overridevirtual

Reimplemented from SvtListener.

Definition at line 350 of file unoflatpara.cxx.

References SfxHint::GetId(), and mpDoc.

◆ operator=()

SwXFlatParagraphIterator & SwXFlatParagraphIterator::operator= ( const SwXFlatParagraphIterator )
privatedelete

Member Data Documentation

◆ m_aFlatParaList

std::set< css::uno::Reference< css::text::XFlatParagraph > > SwXFlatParagraphIterator::m_aFlatParaList
private

Definition at line 128 of file unoflatpara.hxx.

Referenced by getNextPara(), getParaAfter(), and getParaBefore().

◆ mbAutomatic

const bool SwXFlatParagraphIterator::mbAutomatic
private

Definition at line 132 of file unoflatpara.hxx.

Referenced by getNextPara().

◆ mnCurrentNode

SwNodeOffset SwXFlatParagraphIterator::mnCurrentNode
private

Definition at line 134 of file unoflatpara.hxx.

Referenced by getNextPara().

◆ mnEndNode

SwNodeOffset SwXFlatParagraphIterator::mnEndNode
private

Definition at line 135 of file unoflatpara.hxx.

Referenced by getNextPara().

◆ mnType

const sal_Int32 SwXFlatParagraphIterator::mnType
private

Definition at line 131 of file unoflatpara.hxx.

Referenced by getNextPara().

◆ mpDoc

SwDoc* SwXFlatParagraphIterator::mpDoc
private

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