Kaydet (Commit) 94b82e43 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

com::sun::star -> css.

And make some methods non-inline, to unclutter the header.

Change-Id: I748a4cf8f8d5acef8f7583f8faf6834a3bec536c
üst 0f47de0c
...@@ -328,6 +328,11 @@ void VDataSeries::releaseShapes() ...@@ -328,6 +328,11 @@ void VDataSeries::releaseShapes()
m_nPolygonIndex = 0; m_nPolygonIndex = 0;
} }
uno::Reference<css::chart2::XDataSeries> VDataSeries::getModel() const
{
return m_xDataSeries;
}
void VDataSeries::setCategoryXAxis() void VDataSeries::setCategoryXAxis()
{ {
m_aValues_X.clear(); m_aValues_X.clear();
...@@ -405,16 +410,42 @@ void VDataSeries::setConnectBars( bool bConnectBars ) ...@@ -405,16 +410,42 @@ void VDataSeries::setConnectBars( bool bConnectBars )
{ {
m_bConnectBars = bConnectBars; m_bConnectBars = bConnectBars;
} }
bool VDataSeries::getConnectBars() const
{
return m_bConnectBars;
}
void VDataSeries::setGroupBarsPerAxis( bool bGroupBarsPerAxis ) void VDataSeries::setGroupBarsPerAxis( bool bGroupBarsPerAxis )
{ {
m_bGroupBarsPerAxis = bGroupBarsPerAxis; m_bGroupBarsPerAxis = bGroupBarsPerAxis;
} }
bool VDataSeries::getGroupBarsPerAxis() const
{
return m_bGroupBarsPerAxis;
}
void VDataSeries::setStartingAngle( sal_Int32 nStartingAngle ) void VDataSeries::setStartingAngle( sal_Int32 nStartingAngle )
{ {
m_nStartingAngle = 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 ) void VDataSeries::setAttachedAxisIndex( sal_Int32 nAttachedAxisIndex )
{ {
if( nAttachedAxisIndex < 0 ) if( nAttachedAxisIndex < 0 )
...@@ -889,6 +920,11 @@ uno::Reference< beans::XPropertySet > VDataSeries::getPropertiesOfPoint( sal_Int ...@@ -889,6 +920,11 @@ uno::Reference< beans::XPropertySet > VDataSeries::getPropertiesOfPoint( sal_Int
return this->getPropertiesOfSeries(); 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 ) DataPointLabel* getDataPointLabelFromPropertySet( const uno::Reference< beans::XPropertySet >& xProp )
{ {
SAL_WNODEPRECATED_DECLARATIONS_PUSH SAL_WNODEPRECATED_DECLARATIONS_PUSH
...@@ -1006,6 +1042,11 @@ void VDataSeries::setMissingValueTreatment( sal_Int32 nMissingValueTreatment ) ...@@ -1006,6 +1042,11 @@ void VDataSeries::setMissingValueTreatment( sal_Int32 nMissingValueTreatment )
m_nMissingValueTreatment = nMissingValueTreatment; m_nMissingValueTreatment = nMissingValueTreatment;
} }
sal_Int32 VDataSeries::getMissingValueTreatment() const
{
return m_nMissingValueTreatment;
}
VDataSeries::VDataSeries() VDataSeries::VDataSeries()
: m_nPolygonIndex(0) : m_nPolygonIndex(0)
, m_fLogicMinX(0) , m_fLogicMinX(0)
......
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