LibreOffice Module sc (master)  1
Public Member Functions | Protected Attributes | List of all members
ScVbaSheetObjectsBase Class Reference

Base class for collections containing a specific type of drawing object embedded in a sheet (worksheet, chart sheet, or dialog sheet). More...

#include <vbasheetobjects.hxx>

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

Public Member Functions

 ScVbaSheetObjectsBase (const ScVbaObjectContainerRef &rxContainer)
 
virtual ~ScVbaSheetObjectsBase () override
 
void collectShapes ()
 Updates the collection by fetching all shapes from the draw page. More...
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual css::uno::Any createCollectionObject (const css::uno::Any &rSource) override
 
virtual css::uno::Any getItemByStringIndex (const OUString &rIndex) override
 
- Public Member Functions inherited from CollTestImplHelper< Ifc >
 CollTestImplHelper (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false)
 
- Public Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
 ScVbaCollectionBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess, bool bIgnoreCase=false)
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL Item (const css::uno::Any &Index1, const css::uno::Any &) override
 
OUString SAL_CALL getDefaultMethodName () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< Ifc... >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () 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
 

Protected Attributes

ScVbaObjectContainerRef mxContainer
 
- Protected Attributes inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
css::uno::Reference< css::container::XIndexAccess > m_xIndexAccess
 
css::uno::Reference< css::container::XNameAccess > m_xNameAccess
 
bool mbIgnoreCase
 
- Protected Attributes inherited from InheritedHelperInterfaceImpl< Ifc... >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Additional Inherited Members

- Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
virtual css::uno::Any getItemByIntIndex (const sal_Int32 nIndex)
 
void UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess)
 

Detailed Description

Base class for collections containing a specific type of drawing object embedded in a sheet (worksheet, chart sheet, or dialog sheet).

Definition at line 42 of file vbasheetobjects.hxx.

Constructor & Destructor Documentation

ScVbaSheetObjectsBase::ScVbaSheetObjectsBase ( const ScVbaObjectContainerRef rxContainer)
explicit
Exceptions
css::uno::RuntimeException

Definition at line 296 of file vbasheetobjects.cxx.

References get(), mxContainer, and mxContainer.

ScVbaSheetObjectsBase::~ScVbaSheetObjectsBase ( )
overridevirtual

Definition at line 303 of file vbasheetobjects.cxx.

Member Function Documentation

void ScVbaSheetObjectsBase::collectShapes ( )

Updates the collection by fetching all shapes from the draw page.

Exceptions
css::uno::RuntimeException

Definition at line 307 of file vbasheetobjects.cxx.

References mxContainer.

uno::Any ScVbaSheetObjectsBase::createCollectionObject ( const css::uno::Any &  rSource)
overridevirtual
uno::Reference< container::XEnumeration > SAL_CALL ScVbaSheetObjectsBase::createEnumeration ( )
overridevirtual
uno::Type SAL_CALL ScVbaSheetObjectsBase::getElementType ( )
overridevirtual
uno::Any ScVbaSheetObjectsBase::getItemByStringIndex ( const OUString &  rIndex)
overridevirtual

Reimplemented from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >.

Definition at line 333 of file vbasheetobjects.cxx.

References mxContainer.

Member Data Documentation

ScVbaObjectContainerRef ScVbaSheetObjectsBase::mxContainer
protected

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