summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/VDataSeries.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-07-22 17:09:12 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-07-22 17:10:33 -0400
commit94b82e43c045d7df393c7843890f70452c0c7bdd (patch)
tree9ec9ed2c33de82b4d9f7cfa6ad2b89190d0a01b1 /chart2/source/view/main/VDataSeries.cxx
parent0f47de0cff673d298af63926e15e3dff40ee80db (diff)
com::sun::star -> css.
And make some methods non-inline, to unclutter the header. Change-Id: I748a4cf8f8d5acef8f7583f8faf6834a3bec536c
Diffstat (limited to 'chart2/source/view/main/VDataSeries.cxx')
-rw-r--r--chart2/source/view/main/VDataSeries.cxx41
1 files changed, 41 insertions, 0 deletions
diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx
index 56b84e0969c4..99776b27f5b7 100644
--- a/chart2/source/view/main/VDataSeries.cxx
+++ b/chart2/source/view/main/VDataSeries.cxx
@@ -328,6 +328,11 @@ void VDataSeries::releaseShapes()
m_nPolygonIndex = 0;
}
+uno::Reference<css::chart2::XDataSeries> VDataSeries::getModel() const
+{
+ return m_xDataSeries;
+}
+
void VDataSeries::setCategoryXAxis()
{
m_aValues_X.clear();
@@ -405,16 +410,42 @@ void VDataSeries::setConnectBars( bool bConnectBars )
{
m_bConnectBars = bConnectBars;
}
+
+bool VDataSeries::getConnectBars() const
+{
+ return m_bConnectBars;
+}
+
void VDataSeries::setGroupBarsPerAxis( bool bGroupBarsPerAxis )
{
m_bGroupBarsPerAxis = bGroupBarsPerAxis;
}
+bool VDataSeries::getGroupBarsPerAxis() const
+{
+ return m_bGroupBarsPerAxis;
+}
+
void VDataSeries::setStartingAngle( sal_Int32 nStartingAngle )
{
m_nStartingAngle = nStartingAngle;
}
+sal_Int32 VDataSeries::getStartingAngle() const
+{
+ return m_nStartingAngle;
+}
+
+chart2::StackingDirection VDataSeries::getStackingDirection() const
+{
+ return m_eStackingDirection;
+}
+
+sal_Int32 VDataSeries::getAttachedAxisIndex() const
+{
+ return m_nAxisIndex;
+}
+
void VDataSeries::setAttachedAxisIndex( sal_Int32 nAttachedAxisIndex )
{
if( nAttachedAxisIndex < 0 )
@@ -889,6 +920,11 @@ uno::Reference< beans::XPropertySet > VDataSeries::getPropertiesOfPoint( sal_Int
return this->getPropertiesOfSeries();
}
+uno::Reference<beans::XPropertySet> VDataSeries::getPropertiesOfSeries() const
+{
+ return uno::Reference<css::beans::XPropertySet>(m_xDataSeries, css::uno::UNO_QUERY);
+}
+
DataPointLabel* getDataPointLabelFromPropertySet( const uno::Reference< beans::XPropertySet >& xProp )
{
SAL_WNODEPRECATED_DECLARATIONS_PUSH
@@ -1006,6 +1042,11 @@ void VDataSeries::setMissingValueTreatment( sal_Int32 nMissingValueTreatment )
m_nMissingValueTreatment = nMissingValueTreatment;
}
+sal_Int32 VDataSeries::getMissingValueTreatment() const
+{
+ return m_nMissingValueTreatment;
+}
+
VDataSeries::VDataSeries()
: m_nPolygonIndex(0)
, m_fLogicMinX(0)