LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
TableOfContentsCollectionHelper Class Reference
Inheritance diagram for TableOfContentsCollectionHelper:
[legend]
Collaboration diagram for TableOfContentsCollectionHelper:
[legend]

Public Member Functions

 TableOfContentsCollectionHelper (const uno::Reference< ov::XHelperInterface > &xParent, const uno::Reference< uno::XComponentContext > &xContext, const uno::Reference< text::XTextDocument > &xDoc)
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual uno::Reference< container::XEnumeration > SAL_CALL createEnumeration () override
 

Private Attributes

uno::Reference< XHelperInterface > mxParent
 
uno::Reference< uno::XComponentContext > mxContext
 
uno::Reference< text::XTextDocument > mxTextDocument
 
std::vector< uno::Reference< text::XDocumentIndex > > maToc
 

Detailed Description

Definition at line 53 of file vbatablesofcontents.cxx.

Constructor & Destructor Documentation

TableOfContentsCollectionHelper::TableOfContentsCollectionHelper ( const uno::Reference< ov::XHelperInterface > &  xParent,
const uno::Reference< uno::XComponentContext > &  xContext,
const uno::Reference< text::XTextDocument > &  xDoc 
)
inline
Exceptions
uno::RuntimeException

Definition at line 64 of file vbatablesofcontents.cxx.

References i.

Member Function Documentation

virtual uno::Reference< container::XEnumeration > SAL_CALL TableOfContentsCollectionHelper::createEnumeration ( )
inlineoverridevirtual

Definition at line 100 of file vbatablesofcontents.cxx.

virtual uno::Any SAL_CALL TableOfContentsCollectionHelper::getByIndex ( sal_Int32  Index)
inlineoverridevirtual

Definition at line 83 of file vbatablesofcontents.cxx.

References getCount().

virtual sal_Int32 SAL_CALL TableOfContentsCollectionHelper::getCount ( )
inlineoverridevirtual

Definition at line 79 of file vbatablesofcontents.cxx.

Referenced by getByIndex().

virtual uno::Type SAL_CALL TableOfContentsCollectionHelper::getElementType ( )
inlineoverridevirtual

Definition at line 91 of file vbatablesofcontents.cxx.

References cppu::UnoType< class >::get().

virtual sal_Bool SAL_CALL TableOfContentsCollectionHelper::hasElements ( )
inlineoverridevirtual

Definition at line 95 of file vbatablesofcontents.cxx.

Member Data Documentation

std::vector< uno::Reference< text::XDocumentIndex > > TableOfContentsCollectionHelper::maToc
private

Definition at line 60 of file vbatablesofcontents.cxx.

uno::Reference< uno::XComponentContext > TableOfContentsCollectionHelper::mxContext
private

Definition at line 58 of file vbatablesofcontents.cxx.

uno::Reference< XHelperInterface > TableOfContentsCollectionHelper::mxParent
private

Definition at line 57 of file vbatablesofcontents.cxx.

uno::Reference< text::XTextDocument > TableOfContentsCollectionHelper::mxTextDocument
private

Definition at line 59 of file vbatablesofcontents.cxx.


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