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

#include <vbachartobjects.hxx>

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

Public Member Functions

 ScVbaChartObjects (const css::uno::Reference< ov::XHelperInterface > &_xParent, const css::uno::Reference< css::uno::XComponentContext > &_xContext, const css::uno::Reference< css::table::XTableCharts > &_xTableCharts, const css::uno::Reference< css::drawing::XDrawPageSupplier > &_xDrawPageSupplier)
 
css::uno::Sequence< OUString > getChartObjectNames () const
 
void removeByName (const OUString &_sChartName)
 
virtual css::uno::Any SAL_CALL Add (double Left, double Top, double Width, double Height) override
 
virtual void SAL_CALL Delete () override
 
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 &aSource) override
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () 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 ::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
 

Private Attributes

css::uno::Reference< css::table::XTableCharts > xTableCharts
 
css::uno::Reference< css::drawing::XDrawPageSupplier > xDrawPageSupplier
 

Additional Inherited Members

- Protected Member Functions inherited from ScVbaCollectionBase< ::cppu::WeakImplHelper< Ifc... > >
virtual css::uno::Any getItemByStringIndex (const OUString &sIndex)
 
virtual css::uno::Any getItemByIntIndex (const sal_Int32 nIndex)
 
void UpdateCollectionIndex (const css::uno::Reference< css::container::XIndexAccess > &xIndexAccess)
 
- 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
 

Detailed Description

Definition at line 33 of file vbachartobjects.hxx.

Constructor & Destructor Documentation

ScVbaChartObjects::ScVbaChartObjects ( const css::uno::Reference< ov::XHelperInterface > &  _xParent,
const css::uno::Reference< css::uno::XComponentContext > &  _xContext,
const css::uno::Reference< css::table::XTableCharts > &  _xTableCharts,
const css::uno::Reference< css::drawing::XDrawPageSupplier > &  _xDrawPageSupplier 
)

Definition at line 83 of file vbachartobjects.cxx.

References container, and Reference.

Member Function Documentation

uno::Any SAL_CALL ScVbaChartObjects::Add ( double  Left,
double  Top,
double  Width,
double  Height 
)
overridevirtual
uno::Any ScVbaChartObjects::createCollectionObject ( const css::uno::Any &  aSource)
overridevirtual
uno::Reference< container::XEnumeration > ScVbaChartObjects::createEnumeration ( )
overridevirtual
void SAL_CALL ScVbaChartObjects::Delete ( )
overridevirtual

Definition at line 155 of file vbachartobjects.cxx.

References removeByName(), and xTableCharts.

uno::Sequence< OUString > ScVbaChartObjects::getChartObjectNames ( ) const
Exceptions
css::script::BasicErrorException

Definition at line 95 of file vbachartobjects.cxx.

References comphelper::containerToSequence(), ERRCODE_BASIC_METHOD_FAILED, ScCellRangesBase::GetDocShell(), and SfxObjectShell::GetModel().

Referenced by Add().

uno::Type ScVbaChartObjects::getElementType ( )
overridevirtual
OUString ScVbaChartObjects::getServiceImplName ( )
overridevirtual

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 189 of file vbachartobjects.cxx.

css::uno::Sequence< OUString > ScVbaChartObjects::getServiceNames ( )
overridevirtual

Implements InheritedHelperInterfaceImpl< Ifc... >.

Definition at line 195 of file vbachartobjects.cxx.

void ScVbaChartObjects::removeByName ( const OUString &  _sChartName)

Definition at line 89 of file vbachartobjects.cxx.

References xTableCharts.

Referenced by Delete().

Member Data Documentation

css::uno::Reference< css::drawing::XDrawPageSupplier > ScVbaChartObjects::xDrawPageSupplier
private

Definition at line 37 of file vbachartobjects.hxx.

Referenced by createEnumeration().

css::uno::Reference< css::table::XTableCharts > ScVbaChartObjects::xTableCharts
private

Definition at line 36 of file vbachartobjects.hxx.

Referenced by Add(), createEnumeration(), Delete(), and removeByName().


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