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

Public Member Functions

 ScVbaHlinkContainer ()
 
 ScVbaHlinkContainer (const ScVbaHlinkContainerRef &rxSheetContainer, const ScRangeList &rScRanges)
 
void insertHyperlink (const uno::Reference< excel::XHyperlink > &rxHlink)
 Inserts the passed hyperlink into the collection. More...
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual uno::Any SAL_CALL getByIndex (sal_Int32 nIndex) override
 
virtual uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 

Private Types

typedef ::std::vector< uno::Reference< excel::XHyperlink > > HyperlinkVector
 

Private Attributes

HyperlinkVector maHlinks
 

Detailed Description

Definition at line 109 of file vbahyperlinks.cxx.

Member Typedef Documentation

◆ HyperlinkVector

typedef ::std::vector< uno::Reference< excel::XHyperlink > > detail::ScVbaHlinkContainer::HyperlinkVector
private

Definition at line 133 of file vbahyperlinks.cxx.

Constructor & Destructor Documentation

◆ ScVbaHlinkContainer() [1/2]

detail::ScVbaHlinkContainer::ScVbaHlinkContainer ( )
explicit
Exceptions
uno::RuntimeException

Definition at line 137 of file vbahyperlinks.cxx.

◆ ScVbaHlinkContainer() [2/2]

detail::ScVbaHlinkContainer::ScVbaHlinkContainer ( const ScVbaHlinkContainerRef rxSheetContainer,
const ScRangeList rScRanges 
)
explicit
Exceptions
uno::RuntimeException

Definition at line 142 of file vbahyperlinks.cxx.

References maHlinks, nCount, and nIndex.

Member Function Documentation

◆ getByIndex()

uno::Any SAL_CALL detail::ScVbaHlinkContainer::getByIndex ( sal_Int32  nIndex)
overridevirtual

Definition at line 168 of file vbahyperlinks.cxx.

References getCount(), maHlinks, and nIndex.

◆ getCount()

sal_Int32 SAL_CALL detail::ScVbaHlinkContainer::getCount ( )
overridevirtual

Definition at line 163 of file vbahyperlinks.cxx.

References maHlinks.

Referenced by getByIndex().

◆ getElementType()

uno::Type SAL_CALL detail::ScVbaHlinkContainer::getElementType ( )
overridevirtual

Definition at line 175 of file vbahyperlinks.cxx.

References cppu::UnoType< typename T >::get().

◆ hasElements()

sal_Bool SAL_CALL detail::ScVbaHlinkContainer::hasElements ( )
overridevirtual

Definition at line 180 of file vbahyperlinks.cxx.

References maHlinks.

◆ insertHyperlink()

void detail::ScVbaHlinkContainer::insertHyperlink ( const uno::Reference< excel::XHyperlink > &  rxHlink)

Inserts the passed hyperlink into the collection.

Will remove a Hyperlink object with the same anchor as the passed Hyperlink object.

Exceptions
uno::RuntimeException

Definition at line 154 of file vbahyperlinks.cxx.

References maHlinks.

Member Data Documentation

◆ maHlinks

HyperlinkVector detail::ScVbaHlinkContainer::maHlinks
private

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