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

#include <vbachartobject.hxx>

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

Public Member Functions

 ScVbaChartObject (const css::uno::Reference< ov::XHelperInterface > &_xParent, const css::uno::Reference< css::uno::XComponentContext > &_xContext, const css::uno::Reference< css::table::XTableChart > &_xTableChart, const css::uno::Reference< css::drawing::XDrawPageSupplier > &_xDrawPageSupplier)
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &sName) override
 
virtual css::uno::Reference< ov::excel::XChart > SAL_CALL getChart () override
 
virtual void SAL_CALL Delete () override
 
void Activate ()
 
virtual OUString getServiceImplName () override
 
virtual css::uno::Sequence< OUString > getServiceNames () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< 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 Member Functions

OUString const & getPersistName ()
 
css::uno::Reference< css::drawing::XShape > setShape ()
 

Private Attributes

css::uno::Reference< css::table::XTableChart > xTableChart
 
css::uno::Reference< css::document::XEmbeddedObjectSupplier > xEmbeddedObjectSupplier
 
css::uno::Reference< css::drawing::XDrawPageSupplier > xDrawPageSupplier
 
css::uno::Reference< css::drawing::XDrawPage > xDrawPage
 
css::uno::Reference< css::drawing::XShape > xShape
 
css::uno::Reference< css::container::XNamed > xNamed
 
OUString sPersistName
 
std::unique_ptr< ov::ShapeHelper > oShapeHelper
 
css::uno::Reference< css::container::XNamed > xNamedShape
 

Additional Inherited Members

- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 34 of file vbachartobject.hxx.

Constructor & Destructor Documentation

ScVbaChartObject::ScVbaChartObject ( const css::uno::Reference< ov::XHelperInterface > &  _xParent,
const css::uno::Reference< css::uno::XComponentContext > &  _xContext,
const css::uno::Reference< css::table::XTableChart > &  _xTableChart,
const css::uno::Reference< css::drawing::XDrawPageSupplier > &  _xDrawPageSupplier 
)

Member Function Documentation

void ScVbaChartObject::Activate ( )
Exceptions
css::script::BasicErrorException

Definition at line 108 of file vbachartobject.cxx.

References ERRCODE_BASIC_METHOD_FAILED, getCurrentExcelDoc(), InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, and xShape.

Referenced by ScVbaChart::Activate().

void SAL_CALL ScVbaChartObject::Delete ( )
overridevirtual
uno::Reference< excel::XChart > SAL_CALL ScVbaChartObject::getChart ( )
overridevirtual
OUString SAL_CALL ScVbaChartObject::getName ( )
overridevirtual

Definition at line 88 of file vbachartobject.cxx.

References xNamedShape.

OUString const & ScVbaChartObject::getPersistName ( )
private

Definition at line 45 of file vbachartobject.cxx.

References sPersistName, and xNamed.

Referenced by Delete(), and ScVbaChartObject().

OUString ScVbaChartObject::getServiceImplName ( )
overridevirtual
uno::Sequence< OUString > ScVbaChartObject::getServiceNames ( )
overridevirtual
void SAL_CALL ScVbaChartObject::setName ( const OUString &  sName)
overridevirtual

Definition at line 82 of file vbachartobject.cxx.

References xNamedShape.

Referenced by ScVbaChartObject().

uno::Reference< drawing::XShape > ScVbaChartObject::setShape ( )
private
Exceptions
css::script::BasicErrorException

Definition at line 53 of file vbachartobject.cxx.

References ERRCODE_BASIC_METHOD_FAILED, i, PERSIST_NAME(), sName, sPersistName, xDrawPage, xNamedShape, and xShape.

Referenced by ScVbaChartObject().

Member Data Documentation

std::unique_ptr<ov::ShapeHelper> ScVbaChartObject::oShapeHelper
private

Definition at line 44 of file vbachartobject.hxx.

Referenced by ScVbaChartObject().

OUString ScVbaChartObject::sPersistName
private

Definition at line 43 of file vbachartobject.hxx.

Referenced by getPersistName(), ScVbaChartObject(), and setShape().

css::uno::Reference< css::drawing::XDrawPage > ScVbaChartObject::xDrawPage
private

Definition at line 40 of file vbachartobject.hxx.

Referenced by ScVbaChartObject(), and setShape().

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

Definition at line 39 of file vbachartobject.hxx.

Referenced by ScVbaChartObject().

css::uno::Reference< css::document::XEmbeddedObjectSupplier > ScVbaChartObject::xEmbeddedObjectSupplier
private

Definition at line 38 of file vbachartobject.hxx.

Referenced by getChart(), and ScVbaChartObject().

css::uno::Reference< css::container::XNamed > ScVbaChartObject::xNamed
private

Definition at line 42 of file vbachartobject.hxx.

Referenced by getPersistName(), and ScVbaChartObject().

css::uno::Reference< css::container::XNamed > ScVbaChartObject::xNamedShape
private

Definition at line 45 of file vbachartobject.hxx.

Referenced by getName(), setName(), and setShape().

css::uno::Reference< css::drawing::XShape > ScVbaChartObject::xShape
private

Definition at line 41 of file vbachartobject.hxx.

Referenced by Activate(), ScVbaChartObject(), and setShape().

css::uno::Reference< css::table::XTableChart > ScVbaChartObject::xTableChart
private

Definition at line 37 of file vbachartobject.hxx.

Referenced by getChart(), and ScVbaChartObject().


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