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, css::uno::Reference< css::table::XTableChart > _xTableChart, 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< typename... 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, 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
 

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::optional< 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 33 of file vbachartobject.hxx.

Constructor & Destructor Documentation

◆ ScVbaChartObject()

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

Member Function Documentation

◆ Activate()

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

Definition at line 109 of file vbachartobject.cxx.

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

Referenced by ScVbaChart::Activate().

◆ Delete()

void SAL_CALL ScVbaChartObject::Delete ( )
overridevirtual

◆ getChart()

uno::Reference< excel::XChart > SAL_CALL ScVbaChartObject::getChart ( )
overridevirtual

◆ getName()

OUString SAL_CALL ScVbaChartObject::getName ( )
overridevirtual

Definition at line 89 of file vbachartobject.cxx.

References xNamedShape.

◆ getPersistName()

OUString const & ScVbaChartObject::getPersistName ( )
private

Definition at line 46 of file vbachartobject.cxx.

References sPersistName, and xNamed.

Referenced by Delete(), and ScVbaChartObject().

◆ getServiceImplName()

OUString ScVbaChartObject::getServiceImplName ( )
overridevirtual

◆ getServiceNames()

uno::Sequence< OUString > ScVbaChartObject::getServiceNames ( )
overridevirtual

◆ setName()

void SAL_CALL ScVbaChartObject::setName ( const OUString &  sName)
overridevirtual

Definition at line 83 of file vbachartobject.cxx.

References sName, and xNamedShape.

Referenced by ScVbaChartObject().

◆ setShape()

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

Definition at line 54 of file vbachartobject.cxx.

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

Referenced by ScVbaChartObject().

Member Data Documentation

◆ oShapeHelper

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

Definition at line 43 of file vbachartobject.hxx.

Referenced by ScVbaChartObject().

◆ sPersistName

OUString ScVbaChartObject::sPersistName
private

Definition at line 42 of file vbachartobject.hxx.

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

◆ xDrawPage

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

Definition at line 39 of file vbachartobject.hxx.

Referenced by ScVbaChartObject(), and setShape().

◆ xDrawPageSupplier

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

Definition at line 38 of file vbachartobject.hxx.

Referenced by ScVbaChartObject().

◆ xEmbeddedObjectSupplier

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

Definition at line 37 of file vbachartobject.hxx.

Referenced by getChart(), and ScVbaChartObject().

◆ xNamed

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

Definition at line 41 of file vbachartobject.hxx.

Referenced by getPersistName(), and ScVbaChartObject().

◆ xNamedShape

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

Definition at line 44 of file vbachartobject.hxx.

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

◆ xShape

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

Definition at line 40 of file vbachartobject.hxx.

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

◆ xTableChart

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

Definition at line 36 of file vbachartobject.hxx.

Referenced by getChart(), and ScVbaChartObject().


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