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

implement some more properties for databars

Change-Id: Ib6c7f4f316ff49d433c8810ef9a7bbfe64c0576d
üst 2f266f2d
......@@ -788,6 +788,19 @@ void SAL_CALL ScDataBarFormatObj::setPropertyValue(
{
case AxisPosition:
{
sal_Int32 nVal;
if (aValue >>= nVal)
{
for (size_t i = 0; i < SAL_N_ELEMENTS(aDataBarAxisMap); ++i)
{
if (aDataBarAxisMap[i].nApiPos == nVal)
{
getCoreObject()->GetDataBarData()->meAxisPosition =
aDataBarAxisMap[i].ePos;
break;
}
}
}
}
break;
case UseGradient:
......@@ -1038,6 +1051,10 @@ void SAL_CALL ScIconSetFormatObj::setPropertyValue(
getCoreObject()->GetIconSetData()->eIconSetType = eType;
}
break;
case IconSetEntries:
break;
default:
break;
}
}
......
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