Kaydet (Commit) 8b660bac authored tarafından Kohei Yoshida's avatar Kohei Yoshida

A little cleanup.

Change-Id: I69729603bcaadffa06a56296a6ef37af2aef6c54
üst 20f03d36
...@@ -39,10 +39,7 @@ namespace com { namespace sun { namespace star { ...@@ -39,10 +39,7 @@ namespace com { namespace sun { namespace star {
} }
}}} }}}
//............................................................................. namespace chart {
namespace chart
{
//.............................................................................
class NumberFormatterWrapper; class NumberFormatterWrapper;
...@@ -73,17 +70,12 @@ private: ...@@ -73,17 +70,12 @@ private:
tNumberFormatMap m_aNumberFormatMap; tNumberFormatMap m_aNumberFormatMap;
}; };
//-----------------------------------------------------------------------------
/** /**
*/ * A list of series that have the same CoordinateSystem. They are used to be
* plotted maybe in a stacked manner by a plotter.
//enum StackType { STACK_NORMAL, STACK_NONE, STACK_BESIDES, STACK_ONTOP, STACK_BEHIND }; */
class VDataSeriesGroup class VDataSeriesGroup
{ {
//a list of series that have the same CoordinateSystem
//they are used to be plotted maybe in a stacked manner by a plotter
public: public:
VDataSeriesGroup(); VDataSeriesGroup();
VDataSeriesGroup( VDataSeries* pSeries ); VDataSeriesGroup( VDataSeries* pSeries );
...@@ -127,9 +119,6 @@ private: ...@@ -127,9 +119,6 @@ private:
class VSeriesPlotter : public PlotterBase, public MinimumAndMaximumSupplier, public LegendEntryProvider class VSeriesPlotter : public PlotterBase, public MinimumAndMaximumSupplier, public LegendEntryProvider
{ {
//-------------------------------------------------------------------------
// public methods
//-------------------------------------------------------------------------
public: public:
virtual ~VSeriesPlotter(); virtual ~VSeriesPlotter();
...@@ -245,9 +234,6 @@ public: ...@@ -245,9 +234,6 @@ public:
::std::vector< VDataSeries* > getAllSeries(); ::std::vector< VDataSeries* > getAllSeries();
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
static VSeriesPlotter* createSeriesPlotter( const ::com::sun::star::uno::Reference< static VSeriesPlotter* createSeriesPlotter( const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartType >& xChartTypeModel ::com::sun::star::chart2::XChartType >& xChartTypeModel
, sal_Int32 nDimensionCount , sal_Int32 nDimensionCount
...@@ -282,14 +268,11 @@ public: ...@@ -282,14 +268,11 @@ public:
bool WantToPlotInFrontOfAxisLine(); bool WantToPlotInFrontOfAxisLine();
virtual bool shouldSnapRectToUsedArea(); virtual bool shouldSnapRectToUsedArea();
//------------------------------------------------------------------------- private:
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
private: //methods
//no default constructor //no default constructor
VSeriesPlotter(); VSeriesPlotter();
protected: //methods protected:
VSeriesPlotter( const ::com::sun::star::uno::Reference< VSeriesPlotter( const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartType >& xChartTypeModel ::com::sun::star::chart2::XChartType >& xChartTypeModel
...@@ -408,7 +391,7 @@ protected: //methods ...@@ -408,7 +391,7 @@ protected: //methods
VDataSeries* getFirstSeries() const; VDataSeries* getFirstSeries() const;
protected: //member protected:
PlottingPositionHelper* m_pMainPosHelper; PlottingPositionHelper* m_pMainPosHelper;
::com::sun::star::uno::Reference< ::com::sun::star::uno::Reference<
...@@ -434,7 +417,7 @@ protected: //member ...@@ -434,7 +417,7 @@ protected: //member
::com::sun::star::uno::Sequence< sal_Int32 > m_aCoordinateSystemResolution; ::com::sun::star::uno::Sequence< sal_Int32 > m_aCoordinateSystemResolution;
bool m_bPointsWereSkipped; bool m_bPointsWereSkipped;
private: //member private:
typedef std::map< sal_Int32 , ExplicitScaleData > tSecondaryValueScales; typedef std::map< sal_Int32 , ExplicitScaleData > tSecondaryValueScales;
tSecondaryValueScales m_aSecondaryValueScales; tSecondaryValueScales m_aSecondaryValueScales;
...@@ -443,9 +426,7 @@ private: //member ...@@ -443,9 +426,7 @@ private: //member
::com::sun::star::awt::Size m_aPageReferenceSize; ::com::sun::star::awt::Size m_aPageReferenceSize;
}; };
//.............................................................................
} //namespace chart } //namespace chart
//.............................................................................
#endif #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment