Kaydet (Commit) 9bb03b49 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

provide also LineTransparence for DataPointProperties

Change-Id: I9c3e547831d3d876c228c8b9b566f17a4d95ce5b
üst 57dcf78e
...@@ -174,24 +174,28 @@ void DataPointProperties::AddPropertiesToVector( ...@@ -174,24 +174,28 @@ void DataPointProperties::AddPropertiesToVector(
beans::PropertyAttribute::BOUND beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID // "maybe auto" | beans::PropertyAttribute::MAYBEVOID // "maybe auto"
| beans::PropertyAttribute::MAYBEDEFAULT )); | beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back( rOutProperties.push_back(
Property( "BorderStyle", Property( "BorderStyle",
PROP_DATAPOINT_BORDER_STYLE, PROP_DATAPOINT_BORDER_STYLE,
cppu::UnoType<drawing::LineStyle>::get(), cppu::UnoType<drawing::LineStyle>::get(),
beans::PropertyAttribute::BOUND beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT )); | beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back( rOutProperties.push_back(
Property( "BorderWidth", Property( "BorderWidth",
PROP_DATAPOINT_BORDER_WIDTH, PROP_DATAPOINT_BORDER_WIDTH,
cppu::UnoType<sal_Int32>::get(), cppu::UnoType<sal_Int32>::get(),
beans::PropertyAttribute::BOUND beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT )); | beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back( rOutProperties.push_back(
Property( "BorderDashName", Property( "BorderDashName",
PROP_DATAPOINT_BORDER_DASH_NAME, PROP_DATAPOINT_BORDER_DASH_NAME,
cppu::UnoType<OUString>::get(), cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID )); | beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back( rOutProperties.push_back(
Property( "BorderTransparency", Property( "BorderTransparency",
PROP_DATAPOINT_BORDER_TRANSPARENCY, PROP_DATAPOINT_BORDER_TRANSPARENCY,
...@@ -206,18 +210,21 @@ void DataPointProperties::AddPropertiesToVector( ...@@ -206,18 +210,21 @@ void DataPointProperties::AddPropertiesToVector(
cppu::UnoType<drawing::LineStyle>::get(), cppu::UnoType<drawing::LineStyle>::get(),
beans::PropertyAttribute::BOUND beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT )); | beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back( rOutProperties.push_back(
Property( "LineWidth", Property( "LineWidth",
LinePropertiesHelper::PROP_LINE_WIDTH, LinePropertiesHelper::PROP_LINE_WIDTH,
cppu::UnoType<sal_Int32>::get(), cppu::UnoType<sal_Int32>::get(),
beans::PropertyAttribute::BOUND beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT )); | beans::PropertyAttribute::MAYBEDEFAULT ));
rOutProperties.push_back( rOutProperties.push_back(
Property( "LineDash", Property( "LineDash",
LinePropertiesHelper::PROP_LINE_DASH, LinePropertiesHelper::PROP_LINE_DASH,
cppu::UnoType<drawing::LineDash>::get(), cppu::UnoType<drawing::LineDash>::get(),
beans::PropertyAttribute::BOUND beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID )); | beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back( rOutProperties.push_back(
Property( "LineDashName", Property( "LineDashName",
LinePropertiesHelper::PROP_LINE_DASH_NAME, LinePropertiesHelper::PROP_LINE_DASH_NAME,
...@@ -225,6 +232,13 @@ void DataPointProperties::AddPropertiesToVector( ...@@ -225,6 +232,13 @@ void DataPointProperties::AddPropertiesToVector(
beans::PropertyAttribute::BOUND beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID )); | beans::PropertyAttribute::MAYBEVOID ));
rOutProperties.push_back(
Property( "LineTransparence",
PROP_DATAPOINT_BORDER_TRANSPARENCY,
cppu::UnoType<sal_Int16>::get(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEVOID ));
// FillProperties // FillProperties
// bitmap properties // bitmap properties
rOutProperties.push_back( rOutProperties.push_back(
......
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