LibreOffice Module sw (master)  1
Public Member Functions | Public Attributes | List of all members
SwXParagraphEnumerationImpl Struct Referencefinal
Inheritance diagram for SwXParagraphEnumerationImpl:
[legend]
Collaboration diagram for SwXParagraphEnumerationImpl:
[legend]

Public Member Functions

 SwXParagraphEnumerationImpl (uno::Reference< text::XText > const &xParent, const std::shared_ptr< SwUnoCursor > &pCursor, const CursorType eType, SwStartNode const *const pStartNode, SwTable const *const pTable)
 
virtual ~SwXParagraphEnumerationImpl () override
 
virtual void SAL_CALL release () override throw ()
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual sal_Bool SAL_CALL hasMoreElements () override
 
virtual css::uno::Any SAL_CALL nextElement () override
 
SwUnoCursorGetCursor ()
 
uno::Reference< text::XTextContent > NextElement_Impl ()
 
bool IgnoreLastElement (SwUnoCursor &rCursor, bool bMovedFromTable)
 Determines if the last element in the enumeration should be ignored or not. More...
 

Public Attributes

uno::Reference< text::XText > const m_xParentText
 
const CursorType m_eCursorType
 
SwStartNode const *const m_pOwnStartNode
 Start node of the cell or table the enumeration belongs to. More...
 
SwTable const *const m_pOwnTable
 
const sal_uLong m_nEndIndex
 
sal_Int32 m_nFirstParaStart
 
sal_Int32 m_nLastParaEnd
 
bool m_bFirstParagraph
 
uno::Reference< text::XTextContent > m_xNextPara
 
sw::UnoCursorPointer m_pCursor
 

Additional Inherited Members

- Static Public Member Functions inherited from SwXParagraphEnumeration
static SwXParagraphEnumerationCreate (css::uno::Reference< css::text::XText > const &xParent, const std::shared_ptr< SwUnoCursor > &pCursor, const CursorType eType, SwStartNode const *const pStartNode=nullptr, SwTable const *const pTable=nullptr)
 

Detailed Description

Definition at line 421 of file unoobj2.cxx.

Constructor & Destructor Documentation

SwXParagraphEnumerationImpl::SwXParagraphEnumerationImpl ( uno::Reference< text::XText > const &  xParent,
const std::shared_ptr< SwUnoCursor > &  pCursor,
const CursorType  eType,
SwStartNode const *const  pStartNode,
SwTable const *const  pTable 
)
inline
virtual SwXParagraphEnumerationImpl::~SwXParagraphEnumerationImpl ( )
inlineoverridevirtual

Definition at line 473 of file unoobj2.cxx.

References sw::UnoCursorPointer::reset().

Member Function Documentation

SwUnoCursor& SwXParagraphEnumerationImpl::GetCursor ( )
inline

Definition at line 493 of file unoobj2.cxx.

References m_pCursor.

Referenced by NextElement_Impl(), and SwXParagraphEnumerationImpl().

virtual OUString SAL_CALL SwXParagraphEnumerationImpl::getImplementationName ( )
inlineoverridevirtual

Definition at line 482 of file unoobj2.cxx.

virtual css::uno::Sequence< OUString > SAL_CALL SwXParagraphEnumerationImpl::getSupportedServiceNames ( )
inlineoverridevirtual

Definition at line 486 of file unoobj2.cxx.

sal_Bool SAL_CALL SwXParagraphEnumerationImpl::hasMoreElements ( )
overridevirtual

Definition at line 518 of file unoobj2.cxx.

References m_bFirstParagraph, and m_xNextPara.

bool SwXParagraphEnumerationImpl::IgnoreLastElement ( SwUnoCursor rCursor,
bool  bMovedFromTable 
)

Determines if the last element in the enumeration should be ignored or not.

Definition at line 558 of file unoobj2.cxx.

References SwNodeIndex::GetIndex(), m_eCursorType, m_nEndIndex, m_nLastParaEnd, SwPosition::nNode, Selection, and SwPaM::Start().

Referenced by NextElement_Impl().

uno::Any SAL_CALL SwXParagraphEnumerationImpl::nextElement ( )
overridevirtual

Definition at line 682 of file unoobj2.cxx.

References m_bFirstParagraph, m_xNextPara, and NextElement_Impl().

uno::Reference< text::XTextContent > SwXParagraphEnumerationImpl::NextElement_Impl ( )
virtual void SAL_CALL SwXParagraphEnumerationImpl::release ( )
throw (
)
inlineoverridevirtual

Definition at line 475 of file unoobj2.cxx.

virtual sal_Bool SAL_CALL SwXParagraphEnumerationImpl::supportsService ( const OUString &  rServiceName)
inlineoverridevirtual

Definition at line 484 of file unoobj2.cxx.

References cppu::supportsService().

Member Data Documentation

bool SwXParagraphEnumerationImpl::m_bFirstParagraph

Definition at line 433 of file unoobj2.cxx.

Referenced by hasMoreElements(), nextElement(), and NextElement_Impl().

const CursorType SwXParagraphEnumerationImpl::m_eCursorType

Definition at line 424 of file unoobj2.cxx.

Referenced by IgnoreLastElement(), and NextElement_Impl().

const sal_uLong SwXParagraphEnumerationImpl::m_nEndIndex

Definition at line 430 of file unoobj2.cxx.

Referenced by IgnoreLastElement(), and NextElement_Impl().

sal_Int32 SwXParagraphEnumerationImpl::m_nFirstParaStart

Definition at line 431 of file unoobj2.cxx.

Referenced by NextElement_Impl().

sal_Int32 SwXParagraphEnumerationImpl::m_nLastParaEnd

Definition at line 432 of file unoobj2.cxx.

Referenced by IgnoreLastElement(), and NextElement_Impl().

sw::UnoCursorPointer SwXParagraphEnumerationImpl::m_pCursor

Definition at line 435 of file unoobj2.cxx.

Referenced by GetCursor().

SwStartNode const* const SwXParagraphEnumerationImpl::m_pOwnStartNode

Start node of the cell or table the enumeration belongs to.

Used to restrict the movement of the UNO cursor to the cell and its embedded tables.

Definition at line 428 of file unoobj2.cxx.

Referenced by NextElement_Impl().

SwTable const* const SwXParagraphEnumerationImpl::m_pOwnTable

Definition at line 429 of file unoobj2.cxx.

Referenced by NextElement_Impl().

uno::Reference< text::XTextContent > SwXParagraphEnumerationImpl::m_xNextPara

Definition at line 434 of file unoobj2.cxx.

Referenced by hasMoreElements(), and nextElement().

uno::Reference< text::XText > const SwXParagraphEnumerationImpl::m_xParentText

Definition at line 423 of file unoobj2.cxx.

Referenced by NextElement_Impl().


The documentation for this struct was generated from the following file: