diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-07-29 03:15:40 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-07-30 05:45:22 +0200 |
commit | 9bb03b4961492491d69dafb2db46c2840c19fec3 (patch) | |
tree | f721e3f16e2f3a08caaf4dbbb4b197a8a9420940 /chart2/source/model | |
parent | 57dcf78e6b17777f499fd7e7c2ee8d129bf0f79b (diff) |
provide also LineTransparence for DataPointProperties
Change-Id: I9c3e547831d3d876c228c8b9b566f17a4d95ce5b
Diffstat (limited to 'chart2/source/model')
-rw-r--r-- | chart2/source/model/main/DataPointProperties.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chart2/source/model/main/DataPointProperties.cxx b/chart2/source/model/main/DataPointProperties.cxx index 064261d50562..ed35733ed1ea 100644 --- a/chart2/source/model/main/DataPointProperties.cxx +++ b/chart2/source/model/main/DataPointProperties.cxx @@ -174,24 +174,28 @@ void DataPointProperties::AddPropertiesToVector( beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEVOID // "maybe auto" | beans::PropertyAttribute::MAYBEDEFAULT )); + rOutProperties.push_back( Property( "BorderStyle", PROP_DATAPOINT_BORDER_STYLE, cppu::UnoType<drawing::LineStyle>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); + rOutProperties.push_back( Property( "BorderWidth", PROP_DATAPOINT_BORDER_WIDTH, cppu::UnoType<sal_Int32>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); + rOutProperties.push_back( Property( "BorderDashName", PROP_DATAPOINT_BORDER_DASH_NAME, cppu::UnoType<OUString>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEVOID )); + rOutProperties.push_back( Property( "BorderTransparency", PROP_DATAPOINT_BORDER_TRANSPARENCY, @@ -206,18 +210,21 @@ void DataPointProperties::AddPropertiesToVector( cppu::UnoType<drawing::LineStyle>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); + rOutProperties.push_back( Property( "LineWidth", LinePropertiesHelper::PROP_LINE_WIDTH, cppu::UnoType<sal_Int32>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEDEFAULT )); + rOutProperties.push_back( Property( "LineDash", LinePropertiesHelper::PROP_LINE_DASH, cppu::UnoType<drawing::LineDash>::get(), beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEVOID )); + rOutProperties.push_back( Property( "LineDashName", LinePropertiesHelper::PROP_LINE_DASH_NAME, @@ -225,6 +232,13 @@ void DataPointProperties::AddPropertiesToVector( beans::PropertyAttribute::BOUND | beans::PropertyAttribute::MAYBEVOID )); + rOutProperties.push_back( + Property( "LineTransparence", + PROP_DATAPOINT_BORDER_TRANSPARENCY, + cppu::UnoType<sal_Int16>::get(), + beans::PropertyAttribute::BOUND + | beans::PropertyAttribute::MAYBEVOID )); + // FillProperties // bitmap properties rOutProperties.push_back( |