LibreOffice Module sc (master) 1
|
#include <vbachart.hxx>
Public Member Functions | |
ScVbaChart (const css::uno::Reference< ov::XHelperInterface > &_xParent, const css::uno::Reference< css::uno::XComponentContext > &_xContext, const css::uno::Reference< css::lang::XComponent > &_xChartComponent, css::uno::Reference< css::table::XTableChart > _xTableChart) | |
const css::uno::Reference< css::beans::XPropertySet > & | xDiagramPropertySet () const |
bool | is3D () |
css::uno::Reference< css::beans::XPropertySet > | getAxisPropertySet (sal_Int32 _nAxisType, sal_Int32 _nAxisGroup) |
virtual OUString SAL_CALL | getName () override |
virtual css::uno::Any SAL_CALL | SeriesCollection (const css::uno::Any &) override |
virtual ::sal_Int32 SAL_CALL | getChartType () override |
virtual void SAL_CALL | setChartType (::sal_Int32 _charttype) override |
virtual void SAL_CALL | Activate () override |
virtual void SAL_CALL | setSourceData (const css::uno::Reference< ::ooo::vba::excel::XRange > &range, const css::uno::Any &PlotBy) override |
virtual ::sal_Int32 SAL_CALL | Location () override |
virtual ::sal_Int32 SAL_CALL | getLocation () override |
virtual void SAL_CALL | setLocation (::sal_Int32 where, const css::uno::Any &Name) override |
virtual sal_Bool SAL_CALL | getHasTitle () override |
virtual void SAL_CALL | setHasTitle (sal_Bool bTitle) override |
virtual sal_Bool SAL_CALL | getHasLegend () override |
virtual void SAL_CALL | setHasLegend (sal_Bool bLegend) override |
virtual void SAL_CALL | setPlotBy (::sal_Int32 xlRowCol) override |
virtual ::sal_Int32 SAL_CALL | getPlotBy () override |
virtual css::uno::Reference< ov::excel::XChartTitle > SAL_CALL | getChartTitle () override |
virtual css::uno::Any SAL_CALL | Axes (const css::uno::Any &Type, const css::uno::Any &AxisGroup) override |
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 | |
void | setDefaultChartType () |
void | setDiagram (const OUString &_sDiagramType) |
bool | isStacked () |
bool | is100PercentStacked () |
sal_Int32 | getStackedType (sal_Int32 _nStacked, sal_Int32 _n100PercentStacked, sal_Int32 _nUnStacked) |
sal_Int32 | getSolidType (sal_Int32 _nDeep, sal_Int32 _nVertiStacked, sal_Int32 _nVerti100PercentStacked, sal_Int32 _nVertiUnStacked, sal_Int32 _nHoriStacked, sal_Int32 _nHori100PercentStacked, sal_Int32 _nHoriUnStacked) |
sal_Int32 | getStockUpDownValue (sal_Int32 _nUpDown, sal_Int32 _nNotUpDown) |
bool | hasMarkers () |
sal_Int32 | getMarkerType (sal_Int32 _nWithMarkers, sal_Int32 _nWithoutMarkers) |
void | assignDiagramAttributes () |
Static Private Member Functions | |
static css::uno::Sequence< OUString > | getDefaultSeriesDescriptions (sal_Int32 nCount) |
Private Attributes | |
css::uno::Reference< css::chart::XChartDocument > | mxChartDocument |
css::uno::Reference< css::table::XTableChart > | mxTableChart |
css::uno::Reference< css::beans::XPropertySet > | mxDiagramPropertySet |
css::uno::Reference< css::beans::XPropertySet > | mxChartPropertySet |
css::uno::Reference< css::chart::XAxisXSupplier > | xAxisXSupplier |
css::uno::Reference< css::chart::XAxisYSupplier > | xAxisYSupplier |
css::uno::Reference< css::chart::XAxisZSupplier > | xAxisZSupplier |
css::uno::Reference< css::chart::XTwoAxisXSupplier > | xTwoAxisXSupplier |
css::uno::Reference< css::chart::XTwoAxisYSupplier > | xTwoAxisYSupplier |
Friends | |
class | ScVbaAxis |
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 35 of file vbachart.hxx.
ScVbaChart::ScVbaChart | ( | const css::uno::Reference< ov::XHelperInterface > & | _xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | _xContext, | ||
const css::uno::Reference< css::lang::XComponent > & | _xChartComponent, | ||
css::uno::Reference< css::table::XTableChart > | _xTableChart | ||
) |
Definition at line 70 of file vbachart.cxx.
References _xContext, mxChartDocument, mxChartPropertySet, and mxDiagramPropertySet.
|
overridevirtual |
Definition at line 548 of file vbachart.cxx.
References ScVbaChartObject::Activate(), ERRCODE_BASIC_METHOD_FAILED, and InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::getParent().
|
private |
Definition at line 1000 of file vbachart.cxx.
References mxDiagramPropertySet, xAxisXSupplier, xAxisYSupplier, xAxisZSupplier, xTwoAxisXSupplier, and xTwoAxisYSupplier.
Referenced by getAxisPropertySet().
|
overridevirtual |
Definition at line 870 of file vbachart.cxx.
References InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext.
uno::Reference< beans::XPropertySet > ScVbaChart::getAxisPropertySet | ( | sal_Int32 | _nAxisType, |
sal_Int32 | _nAxisGroup | ||
) |
css::script::BasicErrorException | |
css::uno::RuntimeException |
Definition at line 1010 of file vbachart.cxx.
References assignDiagramAttributes(), xAxisXSupplier, xAxisYSupplier, xAxisZSupplier, xTwoAxisXSupplier, and xTwoAxisYSupplier.
Referenced by ScVbaAxes::createAxis().
|
overridevirtual |
Definition at line 862 of file vbachart.cxx.
References mxChartDocument, and InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >::mxContext.
|
override |
Definition at line 104 of file vbachart.cxx.
References ERRCODE_BASIC_METHOD_FAILED, getMarkerType(), getSolidType(), getStackedType(), getStockUpDownValue(), hasMarkers(), is3D(), LINES(), mxChartDocument, mxDiagramPropertySet, SOLIDTYPE(), SPLINETYPE(), and VOLUME().
|
staticprivate |
|
overridevirtual |
Definition at line 834 of file vbachart.cxx.
References ERRCODE_BASIC_METHOD_FAILED, HASLEGEND(), and mxChartPropertySet.
|
overridevirtual |
Definition at line 805 of file vbachart.cxx.
References ERRCODE_BASIC_METHOD_FAILED, HASMAINTITLE(), and mxChartPropertySet.
|
override |
Definition at line 711 of file vbachart.cxx.
Referenced by Location().
|
private |
css::script::BasicErrorException |
Definition at line 992 of file vbachart.cxx.
References hasMarkers().
Referenced by getChartType().
|
overridevirtual |
Definition at line 83 of file vbachart.cxx.
References CHART_NAME(), mxChartDocument, and sName.
|
override |
Definition at line 665 of file vbachart.cxx.
References DATAROWSOURCE(), ERRCODE_BASIC_METHOD_FAILED, and mxDiagramPropertySet.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 1042 of file vbachart.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 1048 of file vbachart.cxx.
References aServiceNames.
|
private |
css::script::BasicErrorException |
Definition at line 921 of file vbachart.cxx.
References DEEP(), ERRCODE_BASIC_METHOD_FAILED, getStackedType(), mxDiagramPropertySet, and VERTICAL().
Referenced by getChartType().
|
private |
css::uno::RuntimeException |
Definition at line 888 of file vbachart.cxx.
References is100PercentStacked(), and isStacked().
Referenced by getChartType(), and getSolidType().
|
private |
css::script::BasicErrorException |
Definition at line 953 of file vbachart.cxx.
References ERRCODE_BASIC_METHOD_FAILED, mxDiagramPropertySet, and UPDOWN().
Referenced by getChartType().
|
private |
css::script::BasicErrorException |
Definition at line 975 of file vbachart.cxx.
References ERRCODE_BASIC_METHOD_FAILED, mxDiagramPropertySet, condformat::dialog::NONE, and SYMBOLTYPE().
Referenced by getChartType(), and getMarkerType().
|
private |
css::uno::RuntimeException |
Definition at line 912 of file vbachart.cxx.
References mxDiagramPropertySet, and PERCENT().
Referenced by getStackedType().
bool ScVbaChart::is3D | ( | ) |
css::uno::RuntimeException |
Definition at line 879 of file vbachart.cxx.
References DIM3D(), and mxDiagramPropertySet.
Referenced by getChartType().
|
private |
css::uno::RuntimeException |
Definition at line 903 of file vbachart.cxx.
References mxDiagramPropertySet, and STACKED().
Referenced by getStackedType().
|
override |
Definition at line 705 of file vbachart.cxx.
References getLocation().
|
overridevirtual |
Definition at line 98 of file vbachart.cxx.
|
overridevirtual |
Definition at line 223 of file vbachart.cxx.
References DEEP(), DIM3D(), ERRCODE_BASIC_CONVERSION, ERRCODE_BASIC_METHOD_FAILED, LINES(), mxDiagramPropertySet, condformat::dialog::NONE, PERCENT(), setDiagram(), SOLIDTYPE(), SPLINETYPE(), STACKED(), SYMBOLTYPE(), UPDOWN(), VERTICAL(), and VOLUME().
Referenced by setDefaultChartType().
|
private |
css::script::BasicErrorException |
Definition at line 634 of file vbachart.cxx.
References setChartType().
Referenced by setPlotBy().
|
private |
css::script::BasicErrorException |
Definition at line 687 of file vbachart.cxx.
References ERRCODE_BASIC_METHOD_FAILED, mxChartDocument, and mxDiagramPropertySet.
Referenced by setChartType().
|
overridevirtual |
Definition at line 849 of file vbachart.cxx.
References ERRCODE_BASIC_METHOD_FAILED, HASLEGEND(), and mxChartPropertySet.
|
overridevirtual |
Definition at line 820 of file vbachart.cxx.
References ERRCODE_BASIC_METHOD_FAILED, HASMAINTITLE(), and mxChartPropertySet.
|
overridevirtual |
Definition at line 717 of file vbachart.cxx.
|
overridevirtual |
Definition at line 640 of file vbachart.cxx.
References DATAROWSOURCE(), ERRCODE_BASIC_METHOD_FAILED, mxDiagramPropertySet, and setDefaultChartType().
Referenced by setSourceData().
|
overridevirtual |
Definition at line 564 of file vbachart.cxx.
References ERRCODE_BASIC_METHOD_FAILED, getDefaultSeriesDescriptions(), ScVbaRange::getScDocument(), ScDocument::HasColHeader(), ScDocument::HasRowHeader(), mxChartDocument, mxTableChart, and setPlotBy().
|
inline |
Definition at line 73 of file vbachart.hxx.
References mxDiagramPropertySet.
|
friend |
Definition at line 37 of file vbachart.hxx.
|
private |
Definition at line 39 of file vbachart.hxx.
Referenced by getChartTitle(), getChartType(), getName(), ScVbaChart(), setDiagram(), and setSourceData().
|
private |
Definition at line 42 of file vbachart.hxx.
Referenced by getHasLegend(), getHasTitle(), ScVbaChart(), setHasLegend(), and setHasTitle().
|
private |
Definition at line 41 of file vbachart.hxx.
Referenced by assignDiagramAttributes(), getChartType(), ScVbaAxis::getHasTitle(), getPlotBy(), getSolidType(), getStockUpDownValue(), hasMarkers(), is100PercentStacked(), is3D(), isStacked(), ScVbaChart(), setChartType(), setDiagram(), ScVbaAxis::setHasTitle(), setPlotBy(), and xDiagramPropertySet().
|
private |
Definition at line 40 of file vbachart.hxx.
Referenced by setSourceData().
|
private |
Definition at line 43 of file vbachart.hxx.
Referenced by assignDiagramAttributes(), getAxisPropertySet(), and ScVbaAxis::getAxisTitle().
|
private |
Definition at line 44 of file vbachart.hxx.
Referenced by assignDiagramAttributes(), getAxisPropertySet(), and ScVbaAxis::getAxisTitle().
|
private |
Definition at line 45 of file vbachart.hxx.
Referenced by assignDiagramAttributes(), getAxisPropertySet(), and ScVbaAxis::getAxisTitle().
|
private |
Definition at line 46 of file vbachart.hxx.
Referenced by assignDiagramAttributes(), and getAxisPropertySet().
|
private |
Definition at line 47 of file vbachart.hxx.
Referenced by assignDiagramAttributes(), and getAxisPropertySet().