summaryrefslogtreecommitdiffstats
path: root/bf_sch/source/ui/inc
diff options
context:
space:
mode:
Diffstat (limited to 'bf_sch/source/ui/inc')
-rw-r--r--bf_sch/source/ui/inc/ChXChartData.hxx158
-rw-r--r--bf_sch/source/ui/inc/ChXChartDataChangeEventListener.hxx63
-rw-r--r--bf_sch/source/ui/inc/ChXChartDrawPage.hxx96
-rw-r--r--bf_sch/source/ui/inc/ChXChartObject.hxx217
-rw-r--r--bf_sch/source/ui/inc/ChXDataPoint.hxx135
-rw-r--r--bf_sch/source/ui/inc/ChXDataRow.hxx129
-rw-r--r--bf_sch/source/ui/inc/ChXDiagram.hxx346
-rw-r--r--bf_sch/source/ui/inc/ChartArea.hxx56
-rw-r--r--bf_sch/source/ui/inc/ChartGrid.hxx56
-rw-r--r--bf_sch/source/ui/inc/ChartLegend.hxx56
-rw-r--r--bf_sch/source/ui/inc/ChartLine.hxx56
-rw-r--r--bf_sch/source/ui/inc/ChartTitle.hxx61
-rw-r--r--bf_sch/source/ui/inc/globopt.hxx49
-rw-r--r--bf_sch/source/ui/inc/res_bmp.hrc45
-rw-r--r--bf_sch/source/ui/inc/res_hc_bmp.hrc117
-rw-r--r--bf_sch/source/ui/inc/schhids.h84
16 files changed, 1724 insertions, 0 deletions
diff --git a/bf_sch/source/ui/inc/ChXChartData.hxx b/bf_sch/source/ui/inc/ChXChartData.hxx
new file mode 100644
index 000000000..abeebbdbf
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChXChartData.hxx
@@ -0,0 +1,158 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef _CHART_DATA_HXX
+#define _CHART_DATA_HXX
+
+#include <cppuhelper/implbase4.hxx>
+// header for OInterfaceContainerHelper
+#include <cppuhelper/interfacecontainer.hxx>
+
+#include <com/sun/star/chart/XChartDataArray.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/lang/XUnoTunnel.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
+namespace binfilter {
+
+class ChartModel;
+
+// ----------------------------------------
+// ChXChartData
+// ----------------------------------------
+
+class ChXChartData : public cppu::WeakImplHelper4<
+ ::com::sun::star::chart::XChartData,
+ ::com::sun::star::lang::XServiceInfo,
+ ::com::sun::star::lang::XEventListener,
+ ::com::sun::star::lang::XUnoTunnel >
+{
+private:
+ ::osl::Mutex maMutex;
+ cppu::OInterfaceContainerHelper maListeners;
+
+protected:
+ ChartModel* mpModel;
+
+public:
+ // the model is used for listening for the 'death' of the ChartModel
+ ChXChartData( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > xModel,
+ ChartModel* pModel );
+ virtual ~ChXChartData();
+
+ ::osl::Mutex& GetMutex() { return maMutex; }
+
+ virtual void DataModified( ::com::sun::star::chart::ChartDataChangeEvent& );
+
+ static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+ static ChXChartData* getImplementation( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ) throw();
+
+ // XChartData
+ virtual void SAL_CALL addChartDataChangeEventListener(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::chart::XChartDataChangeEventListener >& aListener )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removeChartDataChangeEventListener(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::chart::XChartDataChangeEventListener >& aListener )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual double SAL_CALL getNotANumber() throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL isNotANumber( double nNumber ) throw( ::com::sun::star::uno::RuntimeException );
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XUnoTunnel
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XEventListener listens to disposing of XModel
+ virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source )
+ throw( ::com::sun::star::uno::RuntimeException );
+};
+
+
+// ----------------------------------------
+// ChXChartDataArray
+// ----------------------------------------
+
+class ChXChartDataArray :
+ public ChXChartData,
+ public ::com::sun::star::chart::XChartDataArray
+{
+private:
+ static ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > maTypeSequence;
+
+public:
+ // the model is used for listening for the 'death' of the ChartModel
+ ChXChartDataArray( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > xModel,
+ ChartModel* pModel );
+ virtual ~ChXChartDataArray();
+
+ // XInterface
+ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL acquire() throw();
+ virtual void SAL_CALL release() throw();
+
+ // XTypeProvider
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XChartDataArray
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< double > > SAL_CALL getData()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setData( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< double > >& aData )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getRowDescriptions()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setRowDescriptions( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aRowDescriptions )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getColumnDescriptions()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setColumnDescriptions( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aColumnDescriptions )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XChartData ( ::XChartDataArray )
+ virtual void SAL_CALL addChartDataChangeEventListener(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::chart::XChartDataChangeEventListener >& aListener )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removeChartDataChangeEventListener(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::chart::XChartDataChangeEventListener >& aListener )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual double SAL_CALL getNotANumber() throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL isNotANumber( double nNumber ) throw( ::com::sun::star::uno::RuntimeException );
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
+ throw( ::com::sun::star::uno::RuntimeException );
+};
+
+} //namespace binfilter
+#endif // _CHART_DATA_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/ChXChartDataChangeEventListener.hxx b/bf_sch/source/ui/inc/ChXChartDataChangeEventListener.hxx
new file mode 100644
index 000000000..a5914ad06
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChXChartDataChangeEventListener.hxx
@@ -0,0 +1,63 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef _CHXCHARTDATACHANGEEVENTLISTENER_HXX
+#define _CHXCHARTDATACHANGEEVENTLISTENER_HXX
+
+#include <cppuhelper/implbase1.hxx> // helper for implementations
+
+#include <com/sun/star/chart/XChartDataChangeEventListener.hpp>
+namespace binfilter {
+
+class ChXChartDocument;
+
+class ChXChartDataChangeEventListener :
+ public cppu::WeakImplHelper1< ::com::sun::star::chart::XChartDataChangeEventListener >
+{
+private:
+ ChXChartDocument *mpXDoc;
+
+public:
+ ChXChartDataChangeEventListener();
+ virtual ~ChXChartDataChangeEventListener(){};
+
+ void Reset() throw();
+ void SetOwner( ChXChartDocument* pXDoc ) throw();
+
+ // XChartDataChangeEventListener
+ virtual void SAL_CALL chartDataChanged( const ::com::sun::star::chart::ChartDataChangeEvent& aEvent )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XEventListener
+ virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
+ throw( ::com::sun::star::uno::RuntimeException );
+};
+
+} //namespace binfilter
+#endif // _CHXCHARTDATACHANGEEVENTLISTENER_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/ChXChartDrawPage.hxx b/bf_sch/source/ui/inc/ChXChartDrawPage.hxx
new file mode 100644
index 000000000..269a4d257
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChXChartDrawPage.hxx
@@ -0,0 +1,96 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef _CHXCHARTDRAWPAGE_HXX_
+#define _CHXCHARTDRAWPAGE_HXX_
+
+#include <bf_svx/unopage.hxx>
+#include <com/sun/star/beans/XPropertySet.hpp>
+
+// header for SvxItemPropertySet
+#include <bf_svx/unoprov.hxx>
+namespace binfilter {
+
+class ChartModel;
+
+class ChXChartDrawPage :
+ public ::com::sun::star::beans::XPropertySet,
+ public SvxDrawPage
+{
+private:
+ ChartModel* mpModel;
+ SvxItemPropertySet maPropSet;
+
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > maTypeSequence;
+
+public:
+ ChXChartDrawPage( ChartModel* pModel );
+ virtual ~ChXChartDrawPage() throw();
+
+ // XInterface
+ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL acquire() throw();
+ virtual void SAL_CALL release() throw();
+
+ // XTypeProvider
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XPropertySet
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Any& aValue )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::beans::PropertyVetoException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+};
+
+} //namespace binfilter
+#endif // _CHXCHARTDRAWPAGE_HXX_
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/ChXChartObject.hxx b/bf_sch/source/ui/inc/ChXChartObject.hxx
new file mode 100644
index 000000000..9027952f6
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChXChartObject.hxx
@@ -0,0 +1,217 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef _CHXCHART_OBJECT_HXX
+#define _CHXCHART_OBJECT_HXX
+
+#include <cppuhelper/implbase8.hxx>
+
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/beans/XMultiPropertySet.hpp>
+#include <com/sun/star/beans/XPropertyState.hpp>
+#include <com/sun/star/beans/XMultiPropertyStates.hpp>
+#include <com/sun/star/drawing/XShape.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XUnoTunnel.hpp>
+#include <cppuhelper/interfacecontainer.hxx>
+
+// header for SvxServiceInfoHelper, SvxItemPropertySet
+#include <bf_svx/unoprov.hxx>
+namespace binfilter {
+
+class ChartModel;
+class SdrObject;
+
+class ChXChartObject : public cppu::WeakImplHelper8<
+ ::com::sun::star::beans::XPropertySet,
+ ::com::sun::star::beans::XMultiPropertySet,
+ ::com::sun::star::beans::XPropertyState,
+ ::com::sun::star::beans::XMultiPropertyStates,
+ ::com::sun::star::drawing::XShape,
+ ::com::sun::star::lang::XComponent,
+ ::com::sun::star::lang::XServiceInfo,
+ ::com::sun::star::lang::XUnoTunnel >
+{
+protected:
+ SvxItemPropertySet maPropSet;
+ ChartModel* mpModel;
+ long mnWhichId;
+ long mnIndex; // typically a data row index
+
+public:
+ ChXChartObject( long _MapId, ChartModel* _Model, long _WhichId, long _Index = -1 );
+ virtual ~ChXChartObject();
+
+ virtual long GetId() const;
+ SdrObject* GetCurrentSdrObject() const;
+ static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+
+ // XPropertySet
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Any& aValue )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::beans::PropertyVetoException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+
+ // XMultiPropertySet
+ virtual void SAL_CALL setPropertyValues (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames,
+ const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues )
+ throw ( ::com::sun::star::beans::PropertyVetoException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getPropertyValues (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames )
+ throw ( ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL addPropertiesChangeListener (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener )
+ throw ( ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL removePropertiesChangeListener (
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener )
+ throw ( ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL firePropertiesChangeEvent (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener )
+ throw ( ::com::sun::star::uno::RuntimeException);
+
+
+ // XPropertyState
+ virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates(
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setPropertyToDefault( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const ::rtl::OUString& aPropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+
+ // XMultiPropertyStates
+ virtual void SAL_CALL setAllPropertiesToDefault (void)
+ throw ( ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setPropertiesToDefault (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames )
+ throw ( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getPropertyDefaults (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames )
+ throw ( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException);
+
+ // XShape
+ virtual ::com::sun::star::awt::Point SAL_CALL getPosition() throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setPosition( const ::com::sun::star::awt::Point& aPosition )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setSize( const ::com::sun::star::awt::Size& aSize )
+ throw( ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::uno::RuntimeException );
+
+ // XComponent
+ virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XServiceInfo
+ virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XUnoTunnel
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+
+protected:
+ /** @descr In an array of SfxItemPropertyMap entries advance from the position pointed to
+ by pProperty to that property that has the name given by pPropertyName. If the
+ property list does not contain such an entry an UnknownPropertyException is thrown.
+ @param pProperty Pointer into an array of properties. It is modified such that after
+ the methods returns it points to a property with the same name as pPropertyName.
+ @param pPropertyName Name of the property that is searched for.
+ */
+ void AdvanceToName (const SfxItemPropertyMap *& pProperty,
+ const ::rtl::OUString * pPropertyName);
+
+ /** @descr Creates an item set and fill it with the models default values.
+ If derived classes need other than the default which ranges, the have to overload
+ this method.
+ @return Returns a pointer to an item set. The caller is responsible for deleting it.
+ */
+ virtual SfxItemSet * CreateItemSet (void);
+
+ /** @descr Retrieve the value of the property specified by rProperty from the item set given
+ by rAttributes and put it into rValue.
+ @param rProperty Specifies the property in question.
+ @param rValue The property's value is stored into this argument.
+ @param rAttributes The item set that contains all relevant items from which the property
+ value is extracted.
+ */
+ virtual void GetPropertyValue (const SfxItemPropertyMap & rProperty,
+ ::com::sun::star::uno::Any & rValue,
+ SfxItemSet & rAttributes);
+
+private:
+ /// List of listeners for the XComponent interface.
+ ::cppu::OInterfaceContainerHelper maListenerList;
+
+ /// Mutex used by the interface container.
+ ::osl::Mutex maMutex;
+};
+
+} //namespace binfilter
+#endif // _CHXCHART_OBJECT_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/ChXDataPoint.hxx b/bf_sch/source/ui/inc/ChXDataPoint.hxx
new file mode 100644
index 000000000..698f3dec3
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChXDataPoint.hxx
@@ -0,0 +1,135 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef _SCH_DATA_POINT_HXX
+#define _SCH_DATA_POINT_HXX
+
+#include <cppuhelper/implbase5.hxx>
+
+#include <com/sun/star/drawing/XShapeDescriptor.hpp>
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/beans/XPropertyState.hpp>
+#include <com/sun/star/lang/XUnoTunnel.hpp>
+
+// header for SvxItemPropertySet
+#include <bf_svx/unoprov.hxx>
+namespace binfilter {
+
+class ChartModel;
+
+class ChXDataPoint : public cppu::WeakImplHelper5<
+ ::com::sun::star::beans::XPropertySet,
+ ::com::sun::star::beans::XPropertyState,
+ ::com::sun::star::drawing::XShapeDescriptor,
+ ::com::sun::star::lang::XServiceInfo,
+ ::com::sun::star::lang::XUnoTunnel >
+{
+private:
+ SvxItemPropertySet maPropSet;
+ ChartModel* mpModel;
+
+ sal_Int32 mnCol, mnRow;
+
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > getStatisticsProperties( const sal_Int32 nId ) const;
+ void AddDataPointAttr( SfxItemSet& rOutAttributes );
+
+public:
+ ChXDataPoint( sal_Int32 _Col, sal_Int32 _Row, ChartModel* _Model = NULL );
+ virtual ~ChXDataPoint();
+
+ sal_Int32 GetCol() const { return mnCol; }
+ sal_Int32 GetRow() const { return mnRow; }
+
+ static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+
+ // XTypeProvider
+ virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XPropertySet
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Any& aValue )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::beans::PropertyVetoException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+
+ // XPropertyState
+ virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates(
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setPropertyToDefault( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const ::rtl::OUString& aPropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+
+ // XShapeDescriptor
+ virtual ::rtl::OUString SAL_CALL getShapeType() throw( ::com::sun::star::uno::RuntimeException );
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XUnoTunnel
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier )
+ throw( ::com::sun::star::uno::RuntimeException );
+};
+
+} //namespace binfilter
+#endif // _SCH_DATA_POINT_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/ChXDataRow.hxx b/bf_sch/source/ui/inc/ChXDataRow.hxx
new file mode 100644
index 000000000..d9fa8586a
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChXDataRow.hxx
@@ -0,0 +1,129 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef _SCH_DATA_ROW_HXX
+#define _SCH_DATA_ROW_HXX
+
+#include <cppuhelper/implbase5.hxx>
+
+#include <com/sun/star/drawing/XShapeDescriptor.hpp>
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/beans/XPropertyState.hpp>
+#include <com/sun/star/lang/XUnoTunnel.hpp>
+
+// header for SvxItemPropertySet
+#include <bf_svx/unoprov.hxx>
+namespace binfilter {
+
+class ChartModel;
+
+class ChXDataRow : public cppu::WeakImplHelper5<
+ ::com::sun::star::beans::XPropertySet,
+ ::com::sun::star::beans::XPropertyState,
+ ::com::sun::star::drawing::XShapeDescriptor,
+ ::com::sun::star::lang::XServiceInfo,
+ ::com::sun::star::lang::XUnoTunnel >
+{
+private:
+ SvxItemPropertySet maPropSet;
+ ChartModel* mpModel;
+
+ sal_Int32 mnRow;
+
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > getStatisticsProperties( sal_Int32 nId ) const;
+
+public:
+ ChXDataRow( sal_Int32 _Row, ChartModel* _Model = NULL );
+ virtual ~ChXDataRow();
+
+ sal_Int32 GetRow() const { return mnRow; }
+
+ static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+
+ // XPropertySet
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Any& aValue )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::beans::PropertyVetoException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+
+ // XPropertyState
+ virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates(
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setPropertyToDefault( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const ::rtl::OUString& aPropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+
+ // XShapeDescriptor
+ virtual ::rtl::OUString SAL_CALL getShapeType() throw( ::com::sun::star::uno::RuntimeException );
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XUnoTunnel
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier )
+ throw( ::com::sun::star::uno::RuntimeException );
+};
+
+} //namespace binfilter
+#endif // _SCH_DATA_ROW_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/ChXDiagram.hxx b/bf_sch/source/ui/inc/ChXDiagram.hxx
new file mode 100644
index 000000000..eca8c7494
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChXDiagram.hxx
@@ -0,0 +1,346 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef _CHART_DIAGRAM_HXX
+#define _CHART_DIAGRAM_HXX
+
+#include <cppuhelper/implbase.hxx>
+
+#include <com/sun/star/chart/XDiagram.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/chart/XTwoAxisXSupplier.hpp>
+#include <com/sun/star/chart/XTwoAxisYSupplier.hpp>
+#include <com/sun/star/chart/XAxisZSupplier.hpp>
+#include <com/sun/star/chart/XStatisticDisplay.hpp>
+#include <com/sun/star/chart/X3DDisplay.hpp>
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/beans/XMultiPropertySet.hpp>
+#include <com/sun/star/beans/XPropertyState.hpp>
+#include <com/sun/star/beans/XMultiPropertyStates.hpp>
+#include <com/sun/star/lang/XUnoTunnel.hpp>
+#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XEventListener.hpp>
+#include <cppuhelper/interfacecontainer.hxx>
+
+// header for class SvxItemPropertySet
+#include <bf_svx/unoipset.hxx>
+namespace binfilter {
+
+class ChartModel;
+class SchChartDocShell;
+} //namespace binfilter
+
+// Construct a WeakImplHelper14 with the emphasis on 14.
+// Fourteen interfaces are two to many to use the newer template definition
+// of WeakImplHelper.
+#define __IFC14 Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10,\
+ Ifc11, Ifc12, Ifc13, Ifc14
+#define __CLASS_IFC14 class Ifc1, class Ifc2, class Ifc3, class Ifc4, \
+ class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9, class Ifc10,\
+ class Ifc11, class Ifc12, class Ifc13, class Ifc14
+#define __PUBLIC_IFC14 public Ifc1, public Ifc2, public Ifc3, public Ifc4,\
+ public Ifc5, public Ifc6, public Ifc7, public Ifc8, public Ifc9,\
+ public Ifc10, public Ifc11, public Ifc12, public Ifc13, public Ifc14
+
+__DEF_IMPLHELPER_PRE(14)
+ __IFC_WRITEOFFSET(1) __IFC_WRITEOFFSET(2) __IFC_WRITEOFFSET(3)\
+ __IFC_WRITEOFFSET(4) __IFC_WRITEOFFSET(5) __IFC_WRITEOFFSET(6)\
+ __IFC_WRITEOFFSET(7) __IFC_WRITEOFFSET(8) __IFC_WRITEOFFSET(9)\
+ __IFC_WRITEOFFSET(10) __IFC_WRITEOFFSET(11) __IFC_WRITEOFFSET(12)\
+ __IFC_WRITEOFFSET(13) __IFC_WRITEOFFSET(14)
+__DEF_IMPLHELPER_POST(14)
+
+namespace binfilter {
+ class ChXDiagram : public ::cppu::WeakImplHelper14
+ <
+ ::com::sun::star::chart::XDiagram,
+ ::com::sun::star::chart::XAxisZSupplier,
+ ::com::sun::star::chart::XTwoAxisXSupplier, // : XAxisXSupplier
+ ::com::sun::star::chart::XTwoAxisYSupplier, // : XAxisYSupplier
+ ::com::sun::star::chart::XStatisticDisplay,
+ ::com::sun::star::chart::X3DDisplay,
+ ::com::sun::star::beans::XPropertySet,
+ ::com::sun::star::beans::XMultiPropertySet,
+ ::com::sun::star::beans::XPropertyState,
+ ::com::sun::star::beans::XMultiPropertyStates,
+ ::com::sun::star::lang::XServiceInfo,
+ ::com::sun::star::lang::XUnoTunnel,
+ ::com::sun::star::lang::XComponent,
+ ::com::sun::star::lang::XEventListener
+ >
+{
+private:
+ ::rtl::OUString maServiceName;
+ sal_Int32 mnBaseType;
+ ChartModel* mpModel;
+ SvxItemPropertySet maPropSet;
+
+ // some shape references (ChXChartObjects)
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > mxXAxisTitle;
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > mxYAxisTitle;
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > mxZAxisTitle;
+
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxXAxis;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxYAxis;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxZAxis;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxSecXAxis;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxSecYAxis;
+
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxMajorGridX;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxMajorGridY;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxMajorGridZ;
+
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxMinorGridX;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxMinorGridY;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxMinorGridZ;
+
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxMinMaxLine;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxUpBar;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxDownBar;
+
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxWall;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mxFloor;
+
+
+ ::com::sun::star::uno::Any GetAnyByItem( SfxItemSet& aSet, const SfxItemPropertyMap* pMap );
+
+public:
+ ChXDiagram( SchChartDocShell* pShell, sal_Bool bPreInit = sal_True );
+ virtual ~ChXDiagram();
+
+ void SetServiceName( const ::rtl::OUString& u ) throw() { maServiceName = u; }
+ const ::rtl::OUString& getServiceName() throw() { return maServiceName; }
+ sal_Bool SetDocShell( SchChartDocShell* pDocShell, sal_Bool bKeepModel = sal_False ) throw();
+
+ static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+ static ChXDiagram* getImplementation( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ) throw();
+
+ // XDiagram
+ virtual ::rtl::OUString SAL_CALL getDiagramType() throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getDataRowProperties( sal_Int32 Row )
+ throw( ::com::sun::star::uno::RuntimeException,
+ ::com::sun::star::lang::IndexOutOfBoundsException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getDataPointProperties( sal_Int32 Column, sal_Int32 Row )
+ throw( ::com::sun::star::uno::RuntimeException,
+ ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ // XShape ( ::XDiagram )
+ virtual ::com::sun::star::awt::Size SAL_CALL getSize()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setSize( const ::com::sun::star::awt::Size& )
+ throw( ::com::sun::star::beans::PropertyVetoException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::awt::Point SAL_CALL getPosition()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setPosition( const ::com::sun::star::awt::Point& )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XShapeDescriptor ( ::XShape ::XDiagram )
+ virtual ::rtl::OUString SAL_CALL getShapeType() throw( ::com::sun::star::uno::RuntimeException );
+
+
+ // XAxisXSupplier, XAxisYSupplier, XAxisZSupplier,
+ // XTwoAxisXSupplier, XTwoAxisYSupplier
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > SAL_CALL getXAxisTitle()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > SAL_CALL getYAxisTitle()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > SAL_CALL getZAxisTitle()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getXAxis()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getYAxis()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getZAxis()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getSecondaryXAxis()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getSecondaryYAxis()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getXMainGrid()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getYMainGrid()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getZMainGrid()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getXHelpGrid()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getYHelpGrid()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getZHelpGrid()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+
+ // XStatisticDisplay
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getMinMaxLine()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getUpBar()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getDownBar()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+
+ // X3DDisplay
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getWall()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getFloor()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XPropertySet
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Any& aValue )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::beans::PropertyVetoException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+
+ // XMultiPropertySet
+ virtual void SAL_CALL setPropertyValues (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames,
+ const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aValues )
+ throw (::com::sun::star::beans::PropertyVetoException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getPropertyValues (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames )
+ throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL addPropertiesChangeListener (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener )
+ throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL removePropertiesChangeListener (
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener )
+ throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL firePropertiesChangeEvent (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& xListener )
+ throw (::com::sun::star::uno::RuntimeException);
+
+ // XPropertyState
+ virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates(
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setPropertyToDefault( const ::rtl::OUString& PropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const ::rtl::OUString& aPropertyName )
+ throw( ::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+
+ // XMultiPropertyStates
+ // getPropertyStates already part of interface XPropertyState
+ virtual void SAL_CALL setAllPropertiesToDefault (void)
+ throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL setPropertiesToDefault (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames )
+ throw (::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL getPropertyDefaults (
+ const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aPropertyNames )
+ throw (::com::sun::star::beans::UnknownPropertyException,
+ ::com::sun::star::lang::WrappedTargetException,
+ ::com::sun::star::uno::RuntimeException);
+
+ // XServiceInfo
+ // supportsService is handled by SvxServiceInfoHelper
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+
+ // XUnoTunnel
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XComponent
+ virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener )
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XEventListener
+ virtual void SAL_CALL disposing (const ::com::sun::star::lang::EventObject & Source)
+ throw (::com::sun::star::uno::RuntimeException);
+
+protected:
+ /** @descr In an array of SfxItemPropertyMap entries advance from the position pointed to
+ by pProperty to that property that has the name given by pPropertyName. If the
+ property list does not contain such an entry an UnknownPropertyException is thrown.
+ @param pProperty Pointer into an array of properties. It is modified such that after
+ the methods returns it points to a property with the same name as pPropertyName.
+ @param pPropertyName Name of the property that is searched for.
+ */
+ void AdvanceToName (const SfxItemPropertyMap *& pProperty,
+ const ::rtl::OUString * pPropertyName)
+ throw (::com::sun::star::beans::UnknownPropertyException);
+
+private:
+ /// Mutex used by the interface container.
+ ::osl::Mutex maMutex;
+
+ /// List of listeners for the XComponent interface.
+ ::cppu::OInterfaceContainerHelper maListenerList;
+};
+
+} //namespace binfilter
+#endif // _CHART_DIAGRAM_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/ChartArea.hxx b/bf_sch/source/ui/inc/ChartArea.hxx
new file mode 100644
index 000000000..39d33c47f
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChartArea.hxx
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef _CHARTAREA_HXX_
+#define _CHARTAREA_HXX_
+
+#include "ChXChartObject.hxx"
+namespace binfilter {
+
+class ChartArea : public ChXChartObject
+{
+public:
+ ChartArea( ChartModel* pModel, sal_Int32 nObjectId );
+ virtual ~ChartArea();
+
+ // helpers for XUnoTunnel
+ static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XTypeProvider
+ virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XShapeDescriptor
+ virtual ::rtl::OUString SAL_CALL getShapeType() throw( ::com::sun::star::uno::RuntimeException );
+
+ // XUnoTunnel
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+};
+
+} //namespace binfilter
+#endif // _CHARTAREA_HXX_
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/ChartGrid.hxx b/bf_sch/source/ui/inc/ChartGrid.hxx
new file mode 100644
index 000000000..a381a06a9
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChartGrid.hxx
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef _CHARTGRID_HXX_
+#define _CHARTGRID_HXX_
+
+#include "ChXChartObject.hxx"
+namespace binfilter {
+
+class ChartGrid : public ChXChartObject
+{
+public:
+ ChartGrid( ChartModel* pModel, sal_Int32 nObjectId );
+ virtual ~ChartGrid();
+
+ // helpers for XUnoTunnel
+ static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XTypeProvider
+ virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XShapeDescriptor
+ virtual ::rtl::OUString SAL_CALL getShapeType() throw( ::com::sun::star::uno::RuntimeException );
+
+ // XUnoTunnel
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+};
+
+} //namespace binfilter
+#endif // _CHARTGRID_HXX_
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/ChartLegend.hxx b/bf_sch/source/ui/inc/ChartLegend.hxx
new file mode 100644
index 000000000..f3eabb7ca
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChartLegend.hxx
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef _CHARTLEGEND_HXX_
+#define _CHARTLEGEND_HXX_
+
+#include "ChXChartObject.hxx"
+namespace binfilter {
+
+class ChartLegend : public ChXChartObject
+{
+public:
+ ChartLegend( ChartModel* pModel );
+ virtual ~ChartLegend();
+
+ // helpers for XUnoTunnel
+ static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XTypeProvider
+ virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XShapeDescriptor
+ virtual ::rtl::OUString SAL_CALL getShapeType() throw( ::com::sun::star::uno::RuntimeException );
+
+ // XUnoTunnel
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+};
+
+} //namespace binfilter
+#endif // _CHARTLEGEND_HXX_
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/ChartLine.hxx b/bf_sch/source/ui/inc/ChartLine.hxx
new file mode 100644
index 000000000..681a2ddcd
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChartLine.hxx
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef _CHARTLINE_HXX_
+#define _CHARTLINE_HXX_
+
+#include "ChXChartObject.hxx"
+namespace binfilter {
+
+class ChartLine : public ChXChartObject
+{
+public:
+ ChartLine( ChartModel* pModel, sal_Int32 nObjectId, sal_Int32 nIndex = -1 );
+ virtual ~ChartLine();
+
+ // helpers for XUnoTunnel
+ static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XTypeProvider
+ virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XShapeDescriptor
+ virtual ::rtl::OUString SAL_CALL getShapeType() throw( ::com::sun::star::uno::RuntimeException );
+
+ // XUnoTunnel
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+};
+
+} //namespace binfilter
+#endif // _CHARTLINE_HXX_
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/ChartTitle.hxx b/bf_sch/source/ui/inc/ChartTitle.hxx
new file mode 100644
index 000000000..60d72a80c
--- /dev/null
+++ b/bf_sch/source/ui/inc/ChartTitle.hxx
@@ -0,0 +1,61 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef _CHARTTITLE_HXX_
+#define _CHARTTITLE_HXX_
+
+#include "ChXChartObject.hxx"
+namespace binfilter {
+
+class ChartTitle : public ChXChartObject
+{
+public:
+ ChartTitle( ChartModel* pModel, sal_Int32 nObjectId );
+ virtual ~ChartTitle();
+
+ // helpers for XUnoTunnel
+ static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId() throw();
+
+ /// special handling of title specific properties. Sub of getPropertyValues()
+ void GetPropertyValue( const SfxItemPropertyMap & rProperty,
+ ::com::sun::star::uno::Any & rValue,
+ SfxItemSet & rAttributes );
+
+ // XServiceInfo
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XTypeProvider
+ virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
+ throw( ::com::sun::star::uno::RuntimeException );
+
+ // XShapeDescriptor
+ virtual ::rtl::OUString SAL_CALL getShapeType() throw( ::com::sun::star::uno::RuntimeException );
+
+ // XUnoTunnel
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier )
+ throw( ::com::sun::star::uno::RuntimeException );
+
+};
+
+} //namespace binfilter
+#endif // _CHARTTITLE_HXX_
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/globopt.hxx b/bf_sch/source/ui/inc/globopt.hxx
new file mode 100644
index 000000000..679887f76
--- /dev/null
+++ b/bf_sch/source/ui/inc/globopt.hxx
@@ -0,0 +1,49 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef _SCH_GLOBOPT_HXX
+#define _SCH_GLOBOPT_HXX
+
+#include <tools/fldunit.hxx>
+namespace binfilter {
+
+namespace sch
+{
+
+namespace util
+{
+
+/** @descr Retrieve the FieldUnit to be used for the UI. This unit is retrieved
+ from the registry settings of the Calc application.
+
+ If this setting can not be found there is a fallback to cm which is the most
+ common setting worldwide (or not?)
+
+ @return the FieldUnit enum. See <vcl/fldunit.hxx> for definition
+ */
+FieldUnit GetMeasureUnit();
+
+} // namespace util
+} // namespace sch
+
+
+// _SCH_GLOBOPT_HXX
+} //namespace binfilter
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/bf_sch/source/ui/inc/res_bmp.hrc b/bf_sch/source/ui/inc/res_bmp.hrc
new file mode 100644
index 000000000..0a9994c32
--- /dev/null
+++ b/bf_sch/source/ui/inc/res_bmp.hrc
@@ -0,0 +1,45 @@
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#include <bf_sfx2/sfx.hrc>
+
+
+//#define RID_APP_START 30000
+#define RID_DRAW_TOOLBOX (RID_SCH_START + 1)
+#define RID_STATUSBAR (RID_APP_START + 10002)
+//#define RID_ALIGNMENT (RID_APP_START + 3)
+//#define RID_ZOOM (RID_APP_START + 4)
+//#define RID_CONTROLS (RID_APP_START + 5)
+//#define RID_TEXT_TOOLBOX (RID_APP_START + 6)
+
+
+
+
+
+#define RID_ACCEL (RID_APP_START + 80)
+#define RID_MENU (RID_APP_START + 81)
+#define RID_PORTAL_MENU (RID_APP_START + 82)
+
+
+
+
+
+
+// Popup-Menus
+
+
+//***
diff --git a/bf_sch/source/ui/inc/res_hc_bmp.hrc b/bf_sch/source/ui/inc/res_hc_bmp.hrc
new file mode 100644
index 000000000..aad139b99
--- /dev/null
+++ b/bf_sch/source/ui/inc/res_hc_bmp.hrc
@@ -0,0 +1,117 @@
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#include <bf_svtools/solar.hrc>
+
+// RID_SCH_START is 30512 (see svtools/solar.hrc)
+
+// chart types
+
+#define BMP_AREAS_2D_HC ( RID_SCH_START + 0 )
+#define BMP_AREAS_2D_1_HC ( RID_SCH_START + 1 )
+#define BMP_AREAS_2D_3_HC ( RID_SCH_START + 2 )
+#define BMP_AREAS_3D_HC ( RID_SCH_START + 3 )
+#define BMP_AREAS_3D_1_HC ( RID_SCH_START + 4 )
+#define BMP_AREAS_3D_2_HC ( RID_SCH_START + 5 )
+#define BMP_BARS_2D_HC ( RID_SCH_START + 6 )
+#define BMP_BARS_2D_1_HC ( RID_SCH_START + 7 )
+#define BMP_BARS_2D_2_HC ( RID_SCH_START + 8 )
+#define BMP_BARS_2D_3_HC ( RID_SCH_START + 9 )
+#define BMP_BARS_3D_HC ( RID_SCH_START + 10 )
+#define BMP_BARS_3D_1_HC ( RID_SCH_START + 11 )
+#define BMP_BARS_3D_2_HC ( RID_SCH_START + 12 )
+#define BMP_BARS_3D_3_HC ( RID_SCH_START + 13 )
+#define BMP_CIRCLES_2D_HC ( RID_SCH_START + 14 )
+#define BMP_CIRCLES_2D_1_HC ( RID_SCH_START + 15 )
+#define BMP_CIRCLES_2D_2_HC ( RID_SCH_START + 16 )
+#define BMP_CIRCLES_3D_HC ( RID_SCH_START + 17 )
+#define BMP_COLUMNS_2D_HC ( RID_SCH_START + 18 )
+#define BMP_COLUMNS_2D_1_HC ( RID_SCH_START + 19 )
+#define BMP_COLUMNS_2D_2_HC ( RID_SCH_START + 20 )
+#define BMP_COLUMNS_2D_3_HC ( RID_SCH_START + 21 )
+#define BMP_COLUMNS_2D_4_HC ( RID_SCH_START + 22 )
+#define BMP_COLUMNS_3D_HC ( RID_SCH_START + 23 )
+#define BMP_COLUMNS_3D_1_HC ( RID_SCH_START + 24 )
+#define BMP_COLUMNS_3D_2_HC ( RID_SCH_START + 25 )
+#define BMP_COLUMNS_3D_3_HC ( RID_SCH_START + 26 )
+#define BMP_DONUT1_2D_HC ( RID_SCH_START + 27 )
+#define BMP_KEGELQ_3D_1_HC ( RID_SCH_START + 28 )
+#define BMP_KEGELQ_3D_2_HC ( RID_SCH_START + 29 )
+#define BMP_KEGELQ_3D_3_HC ( RID_SCH_START + 30 )
+#define BMP_KEGELQ_3D_4_HC ( RID_SCH_START + 31 )
+#define BMP_KEGEL_3D_1_HC ( RID_SCH_START + 32 )
+#define BMP_KEGEL_3D_2_HC ( RID_SCH_START + 33 )
+#define BMP_KEGEL_3D_3_HC ( RID_SCH_START + 34 )
+#define BMP_KEGEL_3D_4_HC ( RID_SCH_START + 35 )
+#define BMP_LINESYMB_2D_HC ( RID_SCH_START + 36 )
+#define BMP_LINESYMB_2D_1_HC ( RID_SCH_START + 37 )
+#define BMP_LINESYMB_2D_2_HC ( RID_SCH_START + 38 )
+#define BMP_LINESYMB_2D_3_HC ( RID_SCH_START + 39 )
+#define BMP_LINES_2D_HC ( RID_SCH_START + 40 )
+#define BMP_LINES_2D_1_HC ( RID_SCH_START + 41 )
+#define BMP_LINES_2D_2_HC ( RID_SCH_START + 42 )
+#define BMP_LINES_2D_3_HC ( RID_SCH_START + 43 )
+#define BMP_LINES_3D_HC ( RID_SCH_START + 44 )
+#define BMP_NETSYMB_2D_HC ( RID_SCH_START + 45 )
+#define BMP_NETSYMB_2D_PERCENT_HC ( RID_SCH_START + 46 )
+#define BMP_NETSYMB_2D_STACK_HC ( RID_SCH_START + 47 )
+#define BMP_NET_2D_HC ( RID_SCH_START + 48 )
+#define BMP_NET_2D_PERCENT_HC ( RID_SCH_START + 49 )
+#define BMP_NET_2D_STACK_HC ( RID_SCH_START + 50 )
+#define BMP_PYRAMIDQ_3D_1_HC ( RID_SCH_START + 51 )
+#define BMP_PYRAMIDQ_3D_2_HC ( RID_SCH_START + 52 )
+#define BMP_PYRAMIDQ_3D_3_HC ( RID_SCH_START + 53 )
+#define BMP_PYRAMIDQ_3D_4_HC ( RID_SCH_START + 54 )
+#define BMP_PYRAMID_3D_1_HC ( RID_SCH_START + 55 )
+#define BMP_PYRAMID_3D_2_HC ( RID_SCH_START + 56 )
+#define BMP_PYRAMID_3D_3_HC ( RID_SCH_START + 57 )
+#define BMP_PYRAMID_3D_4_HC ( RID_SCH_START + 58 )
+#define BMP_ROEHRE_3D_1_HC ( RID_SCH_START + 59 )
+#define BMP_ROEHRE_3D_2_HC ( RID_SCH_START + 60 )
+#define BMP_ROEHRE_3D_3_HC ( RID_SCH_START + 61 )
+#define BMP_ROEHRE_3D_4_HC ( RID_SCH_START + 62 )
+#define BMP_SAEULE_3D_1_HC ( RID_SCH_START + 63 )
+#define BMP_SAEULE_3D_2_HC ( RID_SCH_START + 64 )
+#define BMP_SAEULE_3D_3_HC ( RID_SCH_START + 65 )
+#define BMP_SAEULE_3D_4_HC ( RID_SCH_START + 66 )
+#define BMP_SPLINE_B_HC ( RID_SCH_START + 67 )
+#define BMP_SPLINE_B_SYMBOL_HC ( RID_SCH_START + 68 )
+#define BMP_SPLINE_CUBIC_HC ( RID_SCH_START + 69 )
+#define BMP_SPLINE_CUBIC_SYMBOL_HC ( RID_SCH_START + 70 )
+#define BMP_STOCK_1_HC ( RID_SCH_START + 71 )
+#define BMP_STOCK_2_HC ( RID_SCH_START + 72 )
+#define BMP_STOCK_3_HC ( RID_SCH_START + 73 )
+#define BMP_STOCK_4_HC ( RID_SCH_START + 74 )
+#define BMP_SURF_3D_HC ( RID_SCH_START + 75 )
+#define BMP_XYSYMB_2D_HC ( RID_SCH_START + 76 )
+#define BMP_XYZSYMB_3D_HC ( RID_SCH_START + 77 )
+#define BMP_XYZ_3D_HC ( RID_SCH_START + 78 )
+#define BMP_XY_2D_HC ( RID_SCH_START + 79 )
+#define BMP_COLUMNS_2D_5_HC ( RID_SCH_START + 80 )
+
+// statistics
+
+#define BMP_INDICATE_NONE_HC ( RID_SCH_START + 81 )
+#define BMP_INDICATE_BOTH_HC ( RID_SCH_START + 82 )
+#define BMP_INDICATE_UP_HC ( RID_SCH_START + 83 )
+#define BMP_INDICATE_DOWN_HC ( RID_SCH_START + 84 )
+
+#define BMP_REGRESSION_NONE_HC ( RID_SCH_START + 85 )
+#define BMP_REGRESSION_LINEAR_HC ( RID_SCH_START + 86 )
+#define BMP_REGRESSION_LOG_HC ( RID_SCH_START + 87 )
+#define BMP_REGRESSION_EXP_HC ( RID_SCH_START + 88 )
+#define BMP_REGRESSION_POWER_HC ( RID_SCH_START + 89 )
diff --git a/bf_sch/source/ui/inc/schhids.h b/bf_sch/source/ui/inc/schhids.h
new file mode 100644
index 000000000..607cb8206
--- /dev/null
+++ b/bf_sch/source/ui/inc/schhids.h
@@ -0,0 +1,84 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+
+
+#include <bf_svtools/solar.hrc>
+
+#define HID_SCH_DATA_ROW (HID_SCH_START + 0)
+#define HID_SCH_DATA_LINE (HID_SCH_START + 1)
+#define HID_SCH_DATA_POINT (HID_SCH_START + 2)
+#define HID_SCH_DIAGRAM_X_AXIS (HID_SCH_START + 3)
+
+#define HID_SCH_ALIGNMENT (HID_SCH_START + 4)
+#define HID_SCH_LEGEND_POS (HID_SCH_START + 5)
+#define HID_SCH_DATA_DESCR (HID_SCH_START + 6)
+#define HID_SCH_SCALE_Y (HID_SCH_START + 7)
+#define HID_SCH_STAT (HID_SCH_START + 8)
+#define HID_SCH_WIN_DOCUMENT (HID_SCH_START + 9)
+#define HID_SCH_CTL_DATA (HID_SCH_START + 10)
+#define HID_SCH_CT_INDICATE (HID_SCH_START + 11)
+#define HID_SCH_CT_REGRESS (HID_SCH_START + 12)
+#define HID_SCH_CT_1_CHARTTYPE (HID_SCH_START + 13)
+#define HID_SCH_CT_2_CHARTVARIANT (HID_SCH_START + 14)
+#define HID_SCH_CTL_TYPE (HID_SCH_START + 15)
+#define HID_SCH_CTL_VARIANT (HID_SCH_START + 16)
+#define HID_SCH_CTL_LIGHT (HID_SCH_START + 17)
+#define HID_SCH_CT_INDICATE2 (HID_SCH_START + 18)
+#define HID_SCH_CT_REGRESS2 (HID_SCH_START + 19)
+#define HID_SCH_TBI_EDIT_CANCEL (HID_SCH_START + 20)
+#define HID_SCH_TBI_EDIT_ACCEPT (HID_SCH_START + 21)
+#define HID_SCH_TBI_DATA_TRANSFER (HID_SCH_START + 22)
+#define HID_SCH_TBI_DATA_INSERT_ROW (HID_SCH_START + 23)
+#define HID_SCH_TBI_DATA_INSERT_COL (HID_SCH_START + 24)
+#define HID_SCH_TBI_DATA_DELETE_ROW (HID_SCH_START + 25)
+#define HID_SCH_TBI_DATA_DELETE_COL (HID_SCH_START + 26)
+#define HID_SCH_TBI_DATA_SWAP_COL (HID_SCH_START + 27)
+#define HID_SCH_TBI_DATA_SWAP_ROW (HID_SCH_START + 28)
+#define HID_SCH_TBI_DATA_SORT_ROW (HID_SCH_START + 29)
+#define HID_SCH_TBI_DATA_SORT_COL (HID_SCH_START + 30)
+#define HID_SCH_TBI_DATA_SORT_TABLE_ROW (HID_SCH_START + 31)
+#define HID_SCH_TBI_DATA_SORT_TABLE_COL (HID_SCH_START + 32)
+
+#define HID_SCH_TBX_EDIT (HID_SCH_START + 33)
+#define HID_SCH_TBX_DATA (HID_SCH_START + 34)
+
+
+#define HID_SCH_ALIGNMENT_CTR_DIAL (HID_SCH_START + 35)
+#define HID_SCH_ALIGNMENT_STACKED (HID_SCH_START + 36)
+#define HID_SCH_ALIGNMENT_DEGREES (HID_SCH_START + 37)
+
+#define HID_SCH_LAYOUT (HID_SCH_START + 38)
+
+#define HID_SCH_TBX_EDIT_FIELD (HID_SCH_START + 39)
+#define HID_SCH_DIAGRAM_Y_AXIS (HID_SCH_START + 40)//war mal 3
+
+#define HID_SCH_DEF_COLOR (HID_SCH_START + 41)
+#define HID_SCH_TP_AXIS_LABEL (HID_SCH_START + 42)
+
+#define HID_SCH_NUM_OF_LINES (HID_SCH_START + 43)
+
+#define HID_SCH_CHART_AUTO_FORMAT (HID_SCH_START + 44)
+
+// HID_SCH_START should be 63280 (checked 25.Nov 2002)
+
+// 453 == SCH_IF_CHARTVIEWSHELL, da SFX_INTERFACE_LIB kein
+// Define sondern neuerdings ein Enum ist
+#define HID_SCH_VIEWSHELL_DOCUMENT (453)
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */