summaryrefslogtreecommitdiff
path: root/chart2/source/inc/chartview
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-01-28 20:52:27 +0100
committerMichael Stahl <mstahl@redhat.com>2012-01-28 20:52:27 +0100
commitf457a7fdbb4400f34844af0492dc32d2f3623c95 (patch)
tree9e9f67205cd5b72f1031721273e1534a3a1e5b0f /chart2/source/inc/chartview
parent2601b25912a2ed05ed8d009bca40aa8b479f39d8 (diff)
replace obsolete "master" branch with README that points at new repoHEADmaster-deletedmaster
Diffstat (limited to 'chart2/source/inc/chartview')
-rw-r--r--chart2/source/inc/chartview/ChartSfxItemIds.hxx220
-rw-r--r--chart2/source/inc/chartview/DataPointSymbolSupplier.hxx62
-rw-r--r--chart2/source/inc/chartview/DrawModelWrapper.hxx117
-rw-r--r--chart2/source/inc/chartview/ExplicitScaleValues.hxx165
-rw-r--r--chart2/source/inc/chartview/ExplicitValueProvider.hxx119
-rw-r--r--chart2/source/inc/chartview/chartviewdllapi.hxx44
-rw-r--r--chart2/source/inc/chartview/servicenames_charttypes.hxx50
7 files changed, 0 insertions, 777 deletions
diff --git a/chart2/source/inc/chartview/ChartSfxItemIds.hxx b/chart2/source/inc/chartview/ChartSfxItemIds.hxx
deleted file mode 100644
index 8ce1e8d75..000000000
--- a/chart2/source/inc/chartview/ChartSfxItemIds.hxx
+++ /dev/null
@@ -1,220 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef CHARTSFXITEMIDS_HXX
-#define CHARTSFXITEMIDS_HXX
-
-// ============================================================
-// SCHATTR
-// ============================================================
-
-// can't this be changed to 0?
-#define SCHATTR_START 1
-
-#define SCHATTR_DATADESCR_START SCHATTR_START
-#define SCHATTR_DATADESCR_SHOW_NUMBER SCHATTR_DATADESCR_START
-#define SCHATTR_DATADESCR_SHOW_PERCENTAGE (SCHATTR_DATADESCR_START + 1)
-#define SCHATTR_DATADESCR_SHOW_CATEGORY (SCHATTR_DATADESCR_START + 2)
-#define SCHATTR_DATADESCR_SHOW_SYMBOL (SCHATTR_DATADESCR_START + 3)
-#define SCHATTR_DATADESCR_SEPARATOR (SCHATTR_DATADESCR_START + 4)
-#define SCHATTR_DATADESCR_PLACEMENT (SCHATTR_DATADESCR_START + 5)
-#define SCHATTR_DATADESCR_AVAILABLE_PLACEMENTS (SCHATTR_DATADESCR_START + 6)
-#define SCHATTR_DATADESCR_NO_PERCENTVALUE (SCHATTR_DATADESCR_START + 7) //percentage values should not be offered
-#define SCHATTR_PERCENT_NUMBERFORMAT_VALUE (SCHATTR_DATADESCR_START + 8)
-#define SCHATTR_PERCENT_NUMBERFORMAT_SOURCE (SCHATTR_DATADESCR_START + 9)
-#define SCHATTR_DATADESCR_END SCHATTR_PERCENT_NUMBERFORMAT_SOURCE
-
-//legend
-#define SCHATTR_LEGEND_START (SCHATTR_DATADESCR_END + 1)
-#define SCHATTR_LEGEND_POS SCHATTR_LEGEND_START
-#define SCHATTR_LEGEND_SHOW (SCHATTR_LEGEND_START + 1)
-#define SCHATTR_LEGEND_END SCHATTR_LEGEND_SHOW
-
-//text
-#define SCHATTR_TEXT_START (SCHATTR_LEGEND_END + 1)
-#define SCHATTR_TEXT_DEGREES SCHATTR_TEXT_START
-#define SCHATTR_TEXT_STACKED (SCHATTR_TEXT_START + 1)
-#define SCHATTR_TEXT_END SCHATTR_TEXT_STACKED
-
-// statistic
-#define SCHATTR_STAT_START (SCHATTR_TEXT_END + 1)
-#define SCHATTR_STAT_AVERAGE SCHATTR_STAT_START
-#define SCHATTR_STAT_KIND_ERROR (SCHATTR_STAT_START + 1)
-#define SCHATTR_STAT_PERCENT (SCHATTR_STAT_START + 2)
-#define SCHATTR_STAT_BIGERROR (SCHATTR_STAT_START + 3)
-#define SCHATTR_STAT_CONSTPLUS (SCHATTR_STAT_START + 4)
-#define SCHATTR_STAT_CONSTMINUS (SCHATTR_STAT_START + 5)
-#define SCHATTR_STAT_INDICATE (SCHATTR_STAT_START + 6)
-#define SCHATTR_STAT_RANGE_POS (SCHATTR_STAT_START + 7)
-#define SCHATTR_STAT_RANGE_NEG (SCHATTR_STAT_START + 8)
-#define SCHATTR_STAT_END SCHATTR_STAT_RANGE_NEG
-
-// --------------------------------------------------------
-// these attributes are for replacement of enum eChartStyle
-// --------------------------------------------------------
-
-#define SCHATTR_STYLE_START ( SCHATTR_STAT_END +1 )
-
-// for whole chart
-#define SCHATTR_STYLE_DEEP ( SCHATTR_STYLE_START )
-#define SCHATTR_STYLE_3D ( SCHATTR_STYLE_START + 1 )
-#define SCHATTR_STYLE_VERTICAL ( SCHATTR_STYLE_START + 2 )
-
-// also for series
-#define SCHATTR_STYLE_BASETYPE ( SCHATTR_STYLE_START + 3 )// Line,Area,...,Pie
-#define SCHATTR_STYLE_LINES ( SCHATTR_STYLE_START + 4 )// draw line
-#define SCHATTR_STYLE_PERCENT ( SCHATTR_STYLE_START + 5 )
-#define SCHATTR_STYLE_STACKED ( SCHATTR_STYLE_START + 6 )
-#define SCHATTR_STYLE_SPLINES ( SCHATTR_STYLE_START + 7 )
-
-// also for data point
-#define SCHATTR_STYLE_SYMBOL ( SCHATTR_STYLE_START + 8 )
-#define SCHATTR_STYLE_SHAPE ( SCHATTR_STYLE_START + 9 )
-#define SCHATTR_STYLE_END ( SCHATTR_STYLE_SHAPE )
-
-// --------------------------------------------------------------------------
-
-#define SCHATTR_AXIS (SCHATTR_STYLE_END + 1)// see chtmodel.hxx defines CHART_AXIS_PRIMARY_X, etc.
-//Re-mapped:
-#define SCHATTR_AXIS_START (SCHATTR_AXIS + 1)
-//axis scale
-#define SCHATTR_AXISTYPE SCHATTR_AXIS_START
-#define SCHATTR_AXIS_REVERSE (SCHATTR_AXIS_START + 1)
-#define SCHATTR_AXIS_AUTO_MIN (SCHATTR_AXIS_START + 2)
-#define SCHATTR_AXIS_MIN (SCHATTR_AXIS_START + 3)
-#define SCHATTR_AXIS_AUTO_MAX (SCHATTR_AXIS_START + 4)
-#define SCHATTR_AXIS_MAX (SCHATTR_AXIS_START + 5)
-#define SCHATTR_AXIS_AUTO_STEP_MAIN (SCHATTR_AXIS_START + 6)
-#define SCHATTR_AXIS_STEP_MAIN (SCHATTR_AXIS_START + 7)
-#define SCHATTR_AXIS_MAIN_TIME_UNIT (SCHATTR_AXIS_START + 8)
-#define SCHATTR_AXIS_AUTO_STEP_HELP (SCHATTR_AXIS_START + 9)
-#define SCHATTR_AXIS_STEP_HELP (SCHATTR_AXIS_START + 10)
-#define SCHATTR_AXIS_HELP_TIME_UNIT (SCHATTR_AXIS_START + 11)
-#define SCHATTR_AXIS_AUTO_TIME_RESOLUTION (SCHATTR_AXIS_START + 12)
-#define SCHATTR_AXIS_TIME_RESOLUTION (SCHATTR_AXIS_START + 13)
-#define SCHATTR_AXIS_LOGARITHM (SCHATTR_AXIS_START + 14)
-#define SCHATTR_AXIS_AUTO_DATEAXIS (SCHATTR_AXIS_START + 15)
-#define SCHATTR_AXIS_ALLOW_DATEAXIS (SCHATTR_AXIS_START + 16)
-#define SCHATTR_AXIS_AUTO_ORIGIN (SCHATTR_AXIS_START + 17)
-#define SCHATTR_AXIS_ORIGIN (SCHATTR_AXIS_START + 18)
-//axis position
-#define SCHATTR_AXIS_POSITION_START (SCHATTR_AXIS_ORIGIN +1)
-#define SCHATTR_AXIS_TICKS SCHATTR_AXIS_POSITION_START
-#define SCHATTR_AXIS_HELPTICKS (SCHATTR_AXIS_POSITION_START + 1)
-#define SCHATTR_AXIS_POSITION (SCHATTR_AXIS_POSITION_START + 2)
-#define SCHATTR_AXIS_POSITION_VALUE (SCHATTR_AXIS_POSITION_START + 3)
-#define SCHATTR_AXIS_CROSSING_MAIN_AXIS_NUMBERFORMAT (SCHATTR_AXIS_POSITION_START + 4)
-#define SCHATTR_AXIS_LABEL_POSITION (SCHATTR_AXIS_POSITION_START + 5)
-#define SCHATTR_AXIS_MARK_POSITION (SCHATTR_AXIS_POSITION_START + 6)
-//axis label
-#define SCHATTR_AXIS_LABEL_START (SCHATTR_AXIS_MARK_POSITION +1)
-#define SCHATTR_AXIS_SHOWDESCR SCHATTR_AXIS_LABEL_START
-#define SCHATTR_AXIS_LABEL_ORDER (SCHATTR_AXIS_LABEL_START + 1)
-#define SCHATTR_AXIS_LABEL_OVERLAP (SCHATTR_AXIS_LABEL_START + 2)
-#define SCHATTR_AXIS_LABEL_BREAK (SCHATTR_AXIS_LABEL_START + 3)
-#define SCHATTR_AXIS_LABEL_END SCHATTR_AXIS_LABEL_BREAK
-
-#define SCHATTR_AXIS_END SCHATTR_AXIS_LABEL_END
-
-#define SCHATTR_SYMBOL_BRUSH (SCHATTR_AXIS_END + 1)
-#define SCHATTR_STOCK_VOLUME (SCHATTR_AXIS_END + 2)
-#define SCHATTR_STOCK_UPDOWN (SCHATTR_AXIS_END + 3)
-#define SCHATTR_SYMBOL_SIZE (SCHATTR_AXIS_END + 4)
-
-// non persistent items (binary format)
-#define SCHATTR_CHARTTYPE_START (SCHATTR_SYMBOL_SIZE + 1)
-
-// new from New Chart
-#define SCHATTR_BAR_OVERLAP (SCHATTR_CHARTTYPE_START )
-#define SCHATTR_BAR_GAPWIDTH (SCHATTR_CHARTTYPE_START + 1)
-#define SCHATTR_BAR_CONNECT (SCHATTR_CHARTTYPE_START + 2)
-#define SCHATTR_NUM_OF_LINES_FOR_BAR (SCHATTR_CHARTTYPE_START + 3)
-#define SCHATTR_SPLINE_ORDER (SCHATTR_CHARTTYPE_START + 4)
-#define SCHATTR_SPLINE_RESOLUTION (SCHATTR_CHARTTYPE_START + 5)
-#define SCHATTR_DIAGRAM_STYLE (SCHATTR_CHARTTYPE_START + 6)
-#define SCHATTR_GROUP_BARS_PER_AXIS (SCHATTR_CHARTTYPE_START + 7)
-#define SCHATTR_STARTING_ANGLE (SCHATTR_CHARTTYPE_START + 8)
-#define SCHATTR_CLOCKWISE (SCHATTR_CHARTTYPE_START + 9)
-#define SCHATTR_MISSING_VALUE_TREATMENT (SCHATTR_CHARTTYPE_START + 10)
-#define SCHATTR_AVAILABLE_MISSING_VALUE_TREATMENTS (SCHATTR_CHARTTYPE_START + 11)
-#define SCHATTR_INCLUDE_HIDDEN_CELLS (SCHATTR_CHARTTYPE_START + 12)
-
-#define SCHATTR_CHARTTYPE_END SCHATTR_INCLUDE_HIDDEN_CELLS
-
-// items for transporting information to dialogs
-#define SCHATTR_MISC_START (SCHATTR_CHARTTYPE_END + 1)
-#define SCHATTR_AXIS_FOR_ALL_SERIES (SCHATTR_MISC_START)
-#define SCHATTR_MISC_END SCHATTR_AXIS_FOR_ALL_SERIES
-
-// regression curve equation
-#define SCHATTR_REGRESSION_START (SCHATTR_MISC_END + 1)
-#define SCHATTR_REGRESSION_TYPE SCHATTR_REGRESSION_START
-#define SCHATTR_REGRESSION_SHOW_EQUATION (SCHATTR_REGRESSION_START + 1)
-#define SCHATTR_REGRESSION_SHOW_COEFF (SCHATTR_REGRESSION_START + 2)
-#define SCHATTR_REGRESSION_END SCHATTR_REGRESSION_SHOW_COEFF
-
-#define SCHATTR_END SCHATTR_REGRESSION_END
-
-// ============================================================
-// values for Items
-// ============================================================
-
-// values for SCHATTR_AXIS_TICKS and SCHATTR_AXIS_HELPTICKS items
-#define CHAXIS_MARK_BOTH 3
-#define CHAXIS_MARK_OUTER 2
-#define CHAXIS_MARK_INNER 1
-#define CHAXIS_MARK_NONE 0
-
-// values for SCHATTR_AXISTYPE items
-#define CHART_AXIS_REALNUMBER 0
-#define CHART_AXIS_PERCENT 1
-#define CHART_AXIS_CATEGORY 2
-#define CHART_AXIS_SERIES 3
-#define CHART_AXIS_DATE 4
-
-// values for SCHATTR_STYLE_SHAPE items
-#define CHART_SHAPE3D_IGNORE -2 //internal! (GetChartShapeStyle()!)
-#define CHART_SHAPE3D_ANY -1 //undefined type (GetChartShapeStyle()!)
-#define CHART_SHAPE3D_SQUARE 0
-#define CHART_SHAPE3D_CYLINDER 1
-#define CHART_SHAPE3D_CONE 2
-#define CHART_SHAPE3D_PYRAMID 3 //reserved
-#define CHART_SHAPE3D_HANOI 4
-
-// values for SCHATTR_AXIS items
-#define CHART_AXIS_PRIMARY_X 1
-#define CHART_AXIS_PRIMARY_Y 2
-#define CHART_AXIS_PRIMARY_Z 3
-#define CHART_AXIS_SECONDARY_Y 4
-#define CHART_AXIS_SECONDARY_X 5
-
-// ============================================================
-// ============================================================
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/inc/chartview/DataPointSymbolSupplier.hxx b/chart2/source/inc/chartview/DataPointSymbolSupplier.hxx
deleted file mode 100644
index 619be9de3..000000000
--- a/chart2/source/inc/chartview/DataPointSymbolSupplier.hxx
+++ /dev/null
@@ -1,62 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef _CHART2_DATAPOINTSYMBOLSUPPLIER_HXX
-#define _CHART2_DATAPOINTSYMBOLSUPPLIER_HXX
-
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/drawing/Direction3D.hpp>
-#include <com/sun/star/drawing/XShapes.hpp>
-#include "chartviewdllapi.hxx"
-
-//.............................................................................
-namespace chart
-{
-//.............................................................................
-
-//-----------------------------------------------------------------------------
-/**
-*/
-
-class OOO_DLLPUBLIC_CHARTVIEW DataPointSymbolSupplier
-{
-public:
- static ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes >
- create2DSymbolList( ::com::sun::star::uno::Reference<
- ::com::sun::star::lang::XMultiServiceFactory > xShapeFactory
- , const ::com::sun::star::uno::Reference<
- ::com::sun::star::drawing::XShapes >& xTarget
- , const ::com::sun::star::drawing::Direction3D& rSize );
-};
-
-//.............................................................................
-} //namespace chart
-//.............................................................................
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/inc/chartview/DrawModelWrapper.hxx b/chart2/source/inc/chartview/DrawModelWrapper.hxx
deleted file mode 100644
index 29ba779a9..000000000
--- a/chart2/source/inc/chartview/DrawModelWrapper.hxx
+++ /dev/null
@@ -1,117 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef _CHART2_DRAWMODELWRAPPER_HXX
-#define _CHART2_DRAWMODELWRAPPER_HXX
-
-//----
-#include <svx/svdmodel.hxx>
-// header for class SdrObject
-#include <svx/svdobj.hxx>
-
-//----
-#include <com/sun/star/frame/XModel.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/drawing/XDrawPage.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include "chartviewdllapi.hxx"
-
-//.............................................................................
-namespace chart
-{
-//.............................................................................
-
-class OOO_DLLPUBLIC_CHARTVIEW DrawModelWrapper : private SdrModel
-{
-private:
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiComponentFactory > m_xMCF;
- SfxItemPool* m_pChartItemPool;
-
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > m_xMainDrawPage;
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > m_xHiddenDrawPage;
-
- std::auto_ptr< OutputDevice > m_apRefDevice;
-
- //no default constructor
- DrawModelWrapper();
-
-public:
- SAL_DLLPRIVATE DrawModelWrapper(::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XComponentContext > const & xContext );
- SAL_DLLPRIVATE virtual ~DrawModelWrapper();
-
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > getShapeFactory();
-
- // the main page will contain the normal view objects
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > getMainDrawPage();
- SAL_DLLPRIVATE void clearMainDrawPage();
-
- // the extra page is not visible, but contains some extras like the symbols for data points
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > getHiddenDrawPage();
-
- static ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes >
- getChartRootShape( const ::com::sun::star::uno::Reference<
- ::com::sun::star::drawing::XDrawPage>& xPage );
-
-
- SAL_DLLPRIVATE void lockControllers();
- SAL_DLLPRIVATE void unlockControllers();
-
- /// tries to get an OutputDevice from the XParent of the model to use as reference device
- SAL_DLLPRIVATE void attachParentReferenceDevice(
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xChartModel );
-
- OutputDevice* getReferenceDevice() const;
-
- SfxItemPool& GetItemPool();
- SAL_DLLPRIVATE const SfxItemPool& GetItemPool() const;
-
- SAL_DLLPRIVATE virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
- createUnoModel();
- SAL_DLLPRIVATE ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >
- getUnoModel();
- SdrModel& getSdrModel();
-
- XColorTable* GetColorTable() const;
- XDashList* GetDashList() const;
- XLineEndList* GetLineEndList() const;
- XGradientList* GetGradientList() const;
- XHatchList* GetHatchList() const;
- XBitmapList* GetBitmapList() const;
-
- SdrObject* getNamedSdrObject( const rtl::OUString& rName );
- static SdrObject* getNamedSdrObject( const String& rName, SdrObjList* pObjList );
-
- static bool removeShape( const ::com::sun::star::uno::Reference<
- ::com::sun::star::drawing::XShape >& xShape );
-};
-//.............................................................................
-} //namespace chart
-//.............................................................................
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/inc/chartview/ExplicitScaleValues.hxx b/chart2/source/inc/chartview/ExplicitScaleValues.hxx
deleted file mode 100644
index 15f6af1be..000000000
--- a/chart2/source/inc/chartview/ExplicitScaleValues.hxx
+++ /dev/null
@@ -1,165 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef _CHART2_EXPLICITSCALEVALUES_HXX
-#define _CHART2_EXPLICITSCALEVALUES_HXX
-
-#include "chartviewdllapi.hxx"
-#include <com/sun/star/chart/TimeInterval.hpp>
-#include <com/sun/star/chart/TimeUnit.hpp>
-#include <com/sun/star/chart2/AxisOrientation.hpp>
-#include <com/sun/star/chart2/AxisType.hpp>
-#include <com/sun/star/chart2/XScaling.hpp>
-#include <tools/date.hxx>
-#include <vector>
-//.............................................................................
-namespace chart
-{
-//.............................................................................
-
-//-----------------------------------------------------------------------------
-/** This structure contains the explicit values for a scale like Minimum and Maximum.
- See also ::com::sun::star::chart2::ScaleData.
-*/
-
-struct OOO_DLLPUBLIC_CHARTVIEW ExplicitScaleData
-{
- ExplicitScaleData();
-
- double Minimum;
- double Maximum;
- double Origin;
-
- ::com::sun::star::chart2::AxisOrientation Orientation;
-
- ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XScaling > Scaling;
-
- sal_Int32 AxisType;//see ::com::sun::star::chart2::AxisType
- bool ShiftedCategoryPosition;
- sal_Int32 TimeResolution; //constant of type <type>::com::sun::star::chart::TimeUnit</type>
- Date NullDate;
-};
-
-struct OOO_DLLPUBLIC_CHARTVIEW ExplicitSubIncrement
-{
- ExplicitSubIncrement();
-
- /** Numbers of intervals between two superior ticks. For an axis
- this usually means, that <code>IntervalCount - 1</code>
- sub-tick-marks are displayed between two superior ticks.
-
- */
- sal_Int32 IntervalCount;
-
- /** If <TRUE/>, the distance between two sub-tick-marks on the
- screen is always the same. If <FALSE/>, the distances may
- differ depending on the <type>XScaling</type>.
- */
- bool PostEquidistant;
-};
-
-/** describes how tickmarks are positioned on the scale of an axis.
-*/
-struct OOO_DLLPUBLIC_CHARTVIEW ExplicitIncrementData
-{
- ExplicitIncrementData();
-
- /** the following two members are only for date-time axis
- */
- ::com::sun::star::chart::TimeInterval MajorTimeInterval;
- ::com::sun::star::chart::TimeInterval MinorTimeInterval;
-
- /** the other members are for *not* date-time axis
- */
-
- /** <member>Distance</member> describes the distance between two
- neighboring main tickmarks on a <type>Scale</type> of an axis.
- All neighboring main tickmarks have the same constant distance.
-
- <p>If the Scale has a <type>XScaling</type> the <member>Distance</member>
- may be measured in two different ways - that is - before or after the
- scaling is applied.</p>
-
- <p>On a logarithmic scale for example the distance between two main
- tickmarks is typically measured after the scaling is applied:
- Distance = log(tick2)-log(tick1)
- ( log(1000)-log(100)==log(100)-log(10)==log(10)-log(1)==1==Distance ).
- The resulting tickmarks will always look equidistant on the screen.
- The other possibility is to have a Distance = tick2-tick1 measured constant
- before a scaling is applied, which may lead to non equidistant tickmarks
- on the screen.</p>
-
- <p><member>PostEquidistant</member> rules wether the <member>Distance</member>
- is meant to be a value before or after scaling.</p>
- */
- double Distance;
-
- /**
- <member>PostEquidistant</member> rules wether the member <member>Distance</member>
- describes a distance before or after the scaling is applied.
-
- <p>If <member>PostEquidistant</member> equals <TRUE/> <member>Distance</member>
- is given in values after <type>XScaling</type> is applied, thus resulting
- main tickmarks will always look equidistant on the screen.
- If <member>PostEquidistant</member> equals <FALSE/> <member>Distance</member>
- is given in values before <type>XScaling</type> is applied.</p>
- */
- bool PostEquidistant;
-
- /** The <member>BaseValue</member> gives a starting point on the scale
- to which all further main tickmarks are relatively positioned.
-
- <p>The <member>BaseValue</member> is always a value on the scale before
- a possible scaling is applied. If the given value is not valid in the
- associated scaling the minimum of the scaling is assumed,
- if there is no minimum any other obvious value will be assumed.</p>
-
- <p>E.g.: assume a scale from 0 to 6 with identical scaling.
- Further assume this Increment to have Distance==2 and PostEquidistant==false.
- Setting BaseValue=0 would lead to main tickmarks 0; 2; 4; 6;
- Setting BaseValue=1,3 would lead to main tickmarks 1,3; 3,3; 5,3;
- Setting BaseValue=-0,7 would also lead to main tickmarks 1,3; 3,3; 5,3;
- And setting BaseValue to 2, -2, 4, -4 etc. in this example
- leads to the same result as BaseValue=0.</p>
- */
- double BaseValue;
-
- /** <member>SubIncrements</member> describes the positioning of further
- sub tickmarks on the scale of an axis.
-
- <p>The first SubIncrement in this sequence determines how the
- distance between two neighboring main tickmarks is divided for positioning
- of further sub tickmarks. Every following SubIncrement determines the
- positions of subsequent tickmarks in relation to their parent tickmarks
- iven by the preceding SubIncrement.</p>
- */
- ::std::vector< ExplicitSubIncrement > SubIncrements;
-};
-
-//.............................................................................
-} //namespace chart
-//.............................................................................
-#endif
diff --git a/chart2/source/inc/chartview/ExplicitValueProvider.hxx b/chart2/source/inc/chartview/ExplicitValueProvider.hxx
deleted file mode 100644
index 54f5d8d61..000000000
--- a/chart2/source/inc/chartview/ExplicitValueProvider.hxx
+++ /dev/null
@@ -1,119 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef _CHART2_EXPLICITVALUEPROVIDER_HXX
-#define _CHART2_EXPLICITVALUEPROVIDER_HXX
-
-#include "ExplicitScaleValues.hxx"
-
-#include <boost/shared_ptr.hpp>
-#include <com/sun/star/chart2/XAxis.hpp>
-#include <com/sun/star/chart2/XCoordinateSystem.hpp>
-#include <com/sun/star/chart2/XDataSeries.hpp>
-#include <com/sun/star/chart2/XDiagram.hpp>
-#include <com/sun/star/awt/Rectangle.hpp>
-#include <com/sun/star/frame/XModel.hpp>
-#include <com/sun/star/drawing/XShape.hpp>
-#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
-#include "chartviewdllapi.hxx"
-
-//.............................................................................
-namespace chart
-{
-//.............................................................................
-
-//-----------------------------------------------------------------------------
-/**
-*/
-
-class DrawModelWrapper;
-class OOO_DLLPUBLIC_CHARTVIEW ExplicitValueProvider
-{
-public:
- /** Gives calculated scale and increment values for a given xAxis in the current view.
- In contrast to the model data these explicit values are always complete as misssing auto properties are calculated.
- If the given Axis could not be found or for another reason no correct output can be given false is returned.
- */
- virtual sal_Bool getExplicitValuesForAxis(
- ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XAxis > xAxis
- , ExplicitScaleData& rExplicitScale
- , ExplicitIncrementData& rExplicitIncrement )=0;
-
- /** for rotated objects the shape size and position differs from the visible rectangle
- if bSnapRect is set to true you get the resulting visible position (left-top) and size
- */
- virtual ::com::sun::star::awt::Rectangle
- getRectangleOfObject( const rtl::OUString& rObjectCID, bool bSnapRect=false )=0;
-
- virtual ::com::sun::star::awt::Rectangle getDiagramRectangleExcludingAxes()=0;
-
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >
- getShapeForCID( const rtl::OUString& rObjectCID )=0;
-
- virtual ::boost::shared_ptr< DrawModelWrapper > getDrawModelWrapper() = 0;
-
- static const com::sun::star::uno::Sequence<sal_Int8>& getUnoTunnelId();
- static ExplicitValueProvider* getExplicitValueProvider( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xChartView );
-
- static ::com::sun::star::awt::Rectangle
- addAxisTitleSizes(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XModel >& xChartModel
- , const ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XInterface >& xChartView
- , const ::com::sun::star::awt::Rectangle& rExcludingPositionAndSize );
-
- static ::com::sun::star::awt::Rectangle
- substractAxisTitleSizes(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XModel >& xChartModel
- , const ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XInterface >& xChartView
- , const ::com::sun::star::awt::Rectangle& rPositionAndSizeIncludingTitles );
-
- static sal_Int32 getExplicitNumberFormatKeyForAxis(
- const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XAxis >& xAxis
- , const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XCoordinateSystem > & xCorrespondingCoordinateSystem
- , const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >& xNumberFormatsSupplier );
-
- static sal_Int32 getExplicitNumberFormatKeyForDataLabel(
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xSeriesOrPointProp
- , const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries >& xSeries
- , sal_Int32 nPointIndex /*-1 for whole series*/
- , const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDiagram >& xDiagram );
-
- static sal_Int32 getExplicitPercentageNumberFormatKeyForDataLabel(
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xSeriesOrPointProp
- , const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >& xNumberFormatsSupplier );
-};
-
-//.............................................................................
-} //namespace chart
-//.............................................................................
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/inc/chartview/chartviewdllapi.hxx b/chart2/source/inc/chartview/chartviewdllapi.hxx
deleted file mode 100644
index f119ba5fc..000000000
--- a/chart2/source/inc/chartview/chartviewdllapi.hxx
+++ /dev/null
@@ -1,44 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ***********************************************************************/
-
-#ifndef INCLUDED_CHART2_SOURCE_INC_CHARTVIEW_CHARTVIEWDLLAPI_HXX
-#define INCLUDED_CHART2_SOURCE_INC_CHARTVIEW_CHARTVIEWDLLAPI_HXX
-
-#include "sal/config.h"
-
-#include "sal/types.h"
-
-#if defined OOO_DLLIMPLEMENTATION_CHARTVIEW
-#define OOO_DLLPUBLIC_CHARTVIEW SAL_DLLPUBLIC_EXPORT
-#else
-#define OOO_DLLPUBLIC_CHARTVIEW SAL_DLLPUBLIC_IMPORT
-#endif
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/inc/chartview/servicenames_charttypes.hxx b/chart2/source/inc/chartview/servicenames_charttypes.hxx
deleted file mode 100644
index 237545a02..000000000
--- a/chart2/source/inc/chartview/servicenames_charttypes.hxx
+++ /dev/null
@@ -1,50 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-#ifndef _CHART2_SERVICENAMES_CHARTTYPES_HXX
-#define _CHART2_SERVICENAMES_CHARTTYPES_HXX
-
-//.............................................................................
-namespace chart
-{
-//.............................................................................
-
-#define CHART2_VIEW_BARCHART_SERVICE_IMPLEMENTATION_NAME ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.chart2.view.BarChart_Impl" ))
-#define CHART2_VIEW_BARCHART_SERVICE_NAME ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.chart2.view.BarChart" ))
-
-#define CHART2_VIEW_PIECHART_SERVICE_IMPLEMENTATION_NAME ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.chart2.view.PieChart_Impl" ))
-#define CHART2_VIEW_PIECHART_SERVICE_NAME ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.chart2.view.PieChart" ))
-
-#define CHART2_VIEW_AREACHART_SERVICE_IMPLEMENTATION_NAME ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.chart2.view.AreaChart_Impl" ))
-#define CHART2_VIEW_AREACHART_SERVICE_NAME ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.chart2.view.AreaChart" ))
-
-//.............................................................................
-} //namespace chart
-//.............................................................................
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */