diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-05-21 10:51:55 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-07-27 16:39:34 +0200 |
commit | 50c480bc1f68bc681fe369e0cb002a8f5b51843a (patch) | |
tree | 5194238e1834ca6cd7c69d94099637d2ba5f6047 /chart2 | |
parent | db4ac0542a33ba2ff4e64717ca1eb6de563f1a8c (diff) |
chart2: add char properties to the DataTable model
Change-Id: Ie4b49f36def7d20f89695157c3b95e6ee5d16d83
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137407
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/main/DataTable.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chart2/source/model/main/DataTable.cxx b/chart2/source/model/main/DataTable.cxx index cc07cc1b55f5..5f3a5eb18403 100644 --- a/chart2/source/model/main/DataTable.cxx +++ b/chart2/source/model/main/DataTable.cxx @@ -93,6 +93,7 @@ private: lcl_AddPropertiesToVector(aProperties); ::chart::LinePropertiesHelper::AddPropertiesToVector(aProperties); ::chart::FillProperties::AddPropertiesToVector(aProperties); + ::chart::CharacterProperties::AddPropertiesToVector(aProperties); std::sort(aProperties.begin(), aProperties.end(), ::chart::PropertyNameLess()); return comphelper::containerToSequence(aProperties); @@ -211,7 +212,8 @@ sal_Bool SAL_CALL DataTable::supportsService(const OUString& rServiceName) uno::Sequence<OUString> SAL_CALL DataTable::getSupportedServiceNames() { return { "com.sun.star.chart2.DataTable", "com.sun.star.beans.PropertySet", - "com.sun.star.drawing.FillProperties", "com.sun.star.drawing.LineProperties" }; + "com.sun.star.drawing.FillProperties", "com.sun.star.drawing.LineProperties", + "com.sun.star.style.CharacterProperties" }; } IMPLEMENT_FORWARD_XINTERFACE2(DataTable, DataTable_Base, ::property::OPropertySet) |