diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2015-03-27 03:24:35 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2015-03-30 04:34:20 +0200 |
commit | c40a4290193e6e16f92e3b90b76ef709db41cb9d (patch) | |
tree | c00cbabfeee5a7947b8b2b2308e861b2e991decb /sc | |
parent | 2f266f2dd20e5e2a05504ea68d5a8d224429d511 (diff) |
implement some more properties for databars
Change-Id: Ib6c7f4f316ff49d433c8810ef9a7bbfe64c0576d
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/condformatuno.cxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/condformatuno.cxx b/sc/source/ui/unoobj/condformatuno.cxx index 9aad8552a66f..9a3876bfbd5c 100644 --- a/sc/source/ui/unoobj/condformatuno.cxx +++ b/sc/source/ui/unoobj/condformatuno.cxx @@ -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; } } |