LibreOffice Module sc (master) 1
|
#include <vbachartobject.hxx>
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 |
Definition at line 33 of file vbachartobject.hxx.
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 | ||
) |
Definition at line 35 of file vbachartobject.cxx.
References _xContext, getPersistName(), oShapeHelper, setName(), setShape(), sPersistName, xDrawPage, xDrawPageSupplier, xEmbeddedObjectSupplier, xNamed, xShape, and xTableChart.
void ScVbaChartObject::Activate | ( | ) |
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().
|
overridevirtual |
Definition at line 95 of file vbachartobject.cxx.
References ERRCODE_BASIC_METHOD_FAILED, InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::getParent(), getPersistName(), and ScVbaChartObjects::removeByName().
|
overridevirtual |
Definition at line 127 of file vbachartobject.cxx.
References InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext, xEmbeddedObjectSupplier, and xTableChart.
|
overridevirtual |
Definition at line 89 of file vbachartobject.cxx.
References xNamedShape.
|
private |
Definition at line 46 of file vbachartobject.cxx.
References sPersistName, and xNamed.
Referenced by Delete(), and ScVbaChartObject().
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 133 of file vbachartobject.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 139 of file vbachartobject.cxx.
References aServiceNames.
|
overridevirtual |
Definition at line 83 of file vbachartobject.cxx.
References sName, and xNamedShape.
Referenced by ScVbaChartObject().
|
private |
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().
|
private |
Definition at line 43 of file vbachartobject.hxx.
Referenced by ScVbaChartObject().
|
private |
Definition at line 42 of file vbachartobject.hxx.
Referenced by getPersistName(), ScVbaChartObject(), and setShape().
|
private |
Definition at line 39 of file vbachartobject.hxx.
Referenced by ScVbaChartObject(), and setShape().
|
private |
Definition at line 38 of file vbachartobject.hxx.
Referenced by ScVbaChartObject().
|
private |
Definition at line 37 of file vbachartobject.hxx.
Referenced by getChart(), and ScVbaChartObject().
|
private |
Definition at line 41 of file vbachartobject.hxx.
Referenced by getPersistName(), and ScVbaChartObject().
|
private |
Definition at line 44 of file vbachartobject.hxx.
Referenced by getName(), setName(), and setShape().
|
private |
Definition at line 40 of file vbachartobject.hxx.
Referenced by Activate(), ScVbaChartObject(), and setShape().
|
private |
Definition at line 36 of file vbachartobject.hxx.
Referenced by getChart(), and ScVbaChartObject().