chart2: add UI to the data table

Desktop / LibreOffice - Tomaž Vajngerl [collabora.co.uk] - 14 August 2022 16:15 UTC

This adds a new object type "Data Table", with all the object identifiers and converters of properties. The data table is now shown in the drop-down of chart elements. A properties dialog was added, which allows to change properties of a data table. This contains the area, line and font tab pages and a new tab page specific for data tables, to change if the horiz. or vert. borders, key or the outline should be show.

Change-Id: I9b4cd58cffbcc952daaa2c0c8f8a5a17e38ac293 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138246

300ea910bade chart2: add UI to the data table
chart2/Library_chartcontroller.mk | 2 +
chart2/UIConfig_chart2.mk | 1 +
chart2/inc/strings.hrc | 2 +
.../controller/dialogs/ObjectNameProvider.cxx | 3 +
.../controller/dialogs/dlg_ObjectProperties.cxx | 7 ++
chart2/source/controller/dialogs/tp_DataTable.cxx | 113 ++++++++++++++++++++
chart2/source/controller/dialogs/tp_DataTable.hxx | 43 ++++++++
.../controller/inc/DataTableItemConverter.hxx | 57 ++++++++++
.../itemsetwrapper/DataTableItemConverter.cxx | 112 ++++++++++++++++++++
.../controller/itemsetwrapper/SchWhichPairs.hxx | 8 ++
.../controller/main/ChartController_Properties.cxx | 12 +++
chart2/source/controller/main/ObjectHierarchy.cxx | 8 ++
chart2/source/inc/ObjectIdentifier.hxx | 4 +
chart2/source/inc/chartview/ChartSfxItemIds.hxx | 9 +-
chart2/source/tools/ObjectIdentifier.cxx | 23 +++++
chart2/source/view/main/ChartItemPool.cxx | 5 +
chart2/uiconfig/ui/tp_DataTable.ui | 115 +++++++++++++++++++++
17 files changed, 523 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share