summaryrefslogtreecommitdiff
path: root/chart2/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-09-19 13:14:25 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-09-19 13:46:09 -0400
commitbe775a1ab40ccedfbc9659120b82867d6c128e6a (patch)
tree41642a2a21d1c77b9b0f2e4664f1b4ac4bc007f4 /chart2/inc
parente55fd119c0eb9ecbbda1a95902f888a795bf8345 (diff)
Move the code that creates shapes for axis titles to own method.
This change also creates a struct that keeps track of states during shape creation, to make it easier to extract methods as necessary. Change-Id: I0d84dbee9dba5b9c59d22e4a1be318c5e8c6c6c3
Diffstat (limited to 'chart2/inc')
-rw-r--r--chart2/inc/ChartView.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx
index cf217b743508..51b6a483d62a 100644
--- a/chart2/inc/ChartView.hxx
+++ b/chart2/inc/ChartView.hxx
@@ -56,6 +56,7 @@ class SeriesPlotterContainer;
class VDataSeries;
class GL3DPlotterBase;
class GL2DRenderer;
+struct CreateShapeParam2D;
enum TimeBasedMode
{
@@ -204,6 +205,7 @@ private: //methods
void createShapes();
void createShapes2D( const css::awt::Size& rPageSize );
+ bool createAxisTitleShapes2D( const css::awt::Size& rPageSize, CreateShapeParam2D& rParam );
void createShapes3D();
bool isReal3DChart();
void getMetaFile( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >& xOutStream