vbachartobject.hxx (38d50f7b) vbachartobject.hxx (7d1ce60b)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 5 unchanged lines hidden (view full) ---

14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 5 unchanged lines hidden (view full) ---

14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef SC_VBA_CHARTOBJECT_HXX
24#define SC_VBA_CHARTOBJECT_HXX
25#include <cppuhelper/implbase1.hxx>
26#include <com/sun/star/uno/XComponentContext.hpp>
27#include <com/sun/star/table/XTableChart.hpp>
28#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
22#ifndef SC_VBA_CHARTOBJECT_HXX
23#define SC_VBA_CHARTOBJECT_HXX
24#include <cppuhelper/implbase1.hxx>
25#include <com/sun/star/uno/XComponentContext.hpp>
26#include <com/sun/star/table/XTableChart.hpp>
27#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
29#include <com/sun/star/container/XNamed.hpp>
28#include <com/sun/star/container/XNamedEx.hpp>
30#include <com/sun/star/document/XEmbeddedObjectSupplier.hpp>
31#include <ooo/vba/excel/XChartObject.hpp>
32#include <vbahelper/vbahelperinterface.hxx>
33#include <memory>
34
35typedef InheritedHelperInterfaceImpl1<ov::excel::XChartObject > ChartObjectImpl_BASE;
36
37class ScVbaChartObject : public ChartObjectImpl_BASE
38{
29#include <com/sun/star/document/XEmbeddedObjectSupplier.hpp>
30#include <ooo/vba/excel/XChartObject.hpp>
31#include <vbahelper/vbahelperinterface.hxx>
32#include <memory>
33
34typedef InheritedHelperInterfaceImpl1<ov::excel::XChartObject > ChartObjectImpl_BASE;
35
36class ScVbaChartObject : public ChartObjectImpl_BASE
37{
39
40 css::uno::Reference< css::table::XTableChart > xTableChart;
41 css::uno::Reference< css::document::XEmbeddedObjectSupplier > xEmbeddedObjectSupplier;
42 css::uno::Reference< css::beans::XPropertySet > xPropertySet;
43 css::uno::Reference< css::drawing::XDrawPageSupplier > xDrawPageSupplier;
44 css::uno::Reference< css::drawing::XDrawPage > xDrawPage;
45 css::uno::Reference< css::drawing::XShape > xShape;
38 css::uno::Reference< css::table::XTableChart > xTableChart;
39 css::uno::Reference< css::document::XEmbeddedObjectSupplier > xEmbeddedObjectSupplier;
40 css::uno::Reference< css::beans::XPropertySet > xPropertySet;
41 css::uno::Reference< css::drawing::XDrawPageSupplier > xDrawPageSupplier;
42 css::uno::Reference< css::drawing::XDrawPage > xDrawPage;
43 css::uno::Reference< css::drawing::XShape > xShape;
46 css::uno::Reference< css::container::XNamed > xNamed;
44 css::uno::Reference< css::container::XNamedEx > xNamed;
47 rtl::OUString sPersistName;
48 std::auto_ptr<ov::ShapeHelper> oShapeHelper;
49 css::uno::Reference< css::container::XNamed > xNamedShape;
50 rtl::OUString getPersistName();
51 css::uno::Reference< css::drawing::XShape > setShape() throw ( css::script::BasicErrorException );
52public:
53 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 );
54 virtual ::rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException);

--- 22 unchanged lines hidden ---
45 rtl::OUString sPersistName;
46 std::auto_ptr<ov::ShapeHelper> oShapeHelper;
47 css::uno::Reference< css::container::XNamed > xNamedShape;
48 rtl::OUString getPersistName();
49 css::uno::Reference< css::drawing::XShape > setShape() throw ( css::script::BasicErrorException );
50public:
51 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 );
52 virtual ::rtl::OUString SAL_CALL getName() throw (css::uno::RuntimeException);

--- 22 unchanged lines hidden ---