office-gobmx/chart2/Library_chartcontroller.mk
Attila Szűcs 599365d293 SW: extract transform charts (using dialog code)
Implemented chart data extraction, and transformation
added insert/delete/modify row/column, and the ability to set
resize data table
setcolumndesc / setrowdesc .. for 1 descriptor,
or with multiple descriptor to set
set 1 cell value, or set the whole table cells values.
it will resize the table, but you can still use partial arrays
like
            "data": [ [ 1,2,3,4 ],
                      [ 2,3,4,5 ],
                      [ 3 ],
                      [ 4,5,6,7 ],
                      [ 2,2,1 ],
                      [ 5,6,7,8 ] ],
that means the 3. row 2,3,4th cell will not be overwritten.

for insert column, it call codes from DataBrowserModel.
(used by dialog code)

added tests, fixed a contentcontrol date problem

2. commit (made by Caolan) squashed into 1. commit:
WIP hack this to link

move stuff from chartcontroller to chartcore and adjust visibility
until it links at least

Change-Id: I5529f4da33f046eef7e947d755e29486fa966274
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172849
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175121
Tested-by: Jenkins
2024-10-18 12:49:41 +02:00

213 lines
10 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Library_Library,chartcontroller))
$(eval $(call gb_Library_set_include,chartcontroller,\
$$(INCLUDE) \
-I$(SRCDIR)/chart2/source/controller/inc \
-I$(SRCDIR)/chart2/source/inc \
-I$(SRCDIR)/chart2/inc \
))
$(eval $(call gb_Library_set_precompiled_header,chartcontroller,chart2/inc/pch/precompiled_chartcontroller))
$(eval $(call gb_Library_use_external,chartcontroller,boost_headers))
$(eval $(call gb_Library_use_sdk_api,chartcontroller))
$(eval $(call gb_Library_use_custom_headers,chartcontroller,\
officecfg/registry \
))
$(eval $(call gb_Library_use_libraries,chartcontroller,\
basegfx \
chartcore \
comphelper \
cppu \
cppuhelper \
drawinglayer \
docmodel \
editeng \
sal \
salhelper \
i18nlangtag \
sfx \
sot \
svl \
svt \
svxcore \
svx \
tk \
tl \
ucbhelper \
utl \
vcl \
))
$(eval $(call gb_Library_set_componentfile,chartcontroller,chart2/source/controller/chartcontroller,services))
ifneq ($(ENABLE_WASM_STRIP_ACCESSIBILITY),TRUE)
$(eval $(call gb_Library_add_exception_objects,chartcontroller,\
chart2/source/controller/accessibility/AccessibleBase \
chart2/source/controller/accessibility/AccessibleChartElement \
chart2/source/controller/accessibility/AccessibleChartShape \
chart2/source/controller/accessibility/AccessibleChartView \
chart2/source/controller/accessibility/AccessibleTextHelper \
chart2/source/controller/accessibility/AccessibleViewForwarder \
chart2/source/controller/accessibility/ChartElementFactory \
))
endif
$(eval $(call gb_Library_add_exception_objects,chartcontroller,\
chart2/source/controller/chartapiwrapper/AreaWrapper \
chart2/source/controller/chartapiwrapper/AxisWrapper \
chart2/source/controller/chartapiwrapper/Chart2ModelContact \
chart2/source/controller/chartapiwrapper/ChartDataWrapper \
chart2/source/controller/chartapiwrapper/ChartDocumentWrapper \
chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper \
chart2/source/controller/chartapiwrapper/DiagramWrapper \
chart2/source/controller/chartapiwrapper/GridWrapper \
chart2/source/controller/chartapiwrapper/LegendWrapper \
chart2/source/controller/chartapiwrapper/MinMaxLineWrapper \
chart2/source/controller/chartapiwrapper/TitleWrapper \
chart2/source/controller/chartapiwrapper/UpDownBarWrapper \
chart2/source/controller/chartapiwrapper/WallFloorWrapper \
chart2/source/controller/chartapiwrapper/WrappedAddInProperty \
chart2/source/controller/chartapiwrapper/WrappedAutomaticPositionProperties \
chart2/source/controller/chartapiwrapper/WrappedAxisAndGridExistenceProperties \
chart2/source/controller/chartapiwrapper/WrappedCharacterHeightProperty \
chart2/source/controller/chartapiwrapper/WrappedDataCaptionProperties \
chart2/source/controller/chartapiwrapper/WrappedGapwidthProperty \
chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty \
chart2/source/controller/chartapiwrapper/WrappedScaleProperty \
chart2/source/controller/chartapiwrapper/WrappedScaleTextProperties \
chart2/source/controller/chartapiwrapper/WrappedSceneProperty \
chart2/source/controller/chartapiwrapper/WrappedSeriesAreaOrLineProperty \
chart2/source/controller/chartapiwrapper/WrappedSplineProperties \
chart2/source/controller/chartapiwrapper/WrappedStatisticProperties \
chart2/source/controller/chartapiwrapper/WrappedStockProperties \
chart2/source/controller/chartapiwrapper/WrappedSymbolProperties \
chart2/source/controller/chartapiwrapper/WrappedTextRotationProperty \
chart2/source/controller/dialogs/ChangingResource \
chart2/source/controller/dialogs/ChartResourceGroupDlgs \
chart2/source/controller/dialogs/ChartResourceGroups \
chart2/source/controller/dialogs/ChartTypeDialogController \
chart2/source/controller/dialogs/DataBrowser \
chart2/source/controller/dialogs/dlg_ChartType \
chart2/source/controller/dialogs/dlg_ChartType_UNO \
chart2/source/controller/dialogs/dlg_CreationWizard \
chart2/source/controller/dialogs/dlg_CreationWizard_UNO \
chart2/source/controller/dialogs/dlg_DataEditor \
chart2/source/controller/dialogs/dlg_DataSource \
chart2/source/controller/dialogs/dlg_InsertAxis_Grid \
chart2/source/controller/dialogs/dlg_InsertDataLabel \
chart2/source/controller/dialogs/dlg_InsertDataTable \
chart2/source/controller/dialogs/dlg_InsertErrorBars \
chart2/source/controller/dialogs/dlg_InsertLegend \
chart2/source/controller/dialogs/dlg_InsertTitle \
chart2/source/controller/dialogs/dlg_NumberFormat \
chart2/source/controller/dialogs/dlg_ObjectProperties \
chart2/source/controller/dialogs/dlg_ShapeFont \
chart2/source/controller/dialogs/dlg_ShapeParagraph \
chart2/source/controller/dialogs/dlg_View3D \
chart2/source/controller/dialogs/ObjectNameProvider \
chart2/source/controller/dialogs/res_BarGeometry \
chart2/source/controller/dialogs/res_DataLabel \
chart2/source/controller/dialogs/res_DataTableProperties \
chart2/source/controller/dialogs/res_ErrorBar \
chart2/source/controller/dialogs/res_LegendPosition \
chart2/source/controller/dialogs/res_Titles \
chart2/source/controller/dialogs/res_Trendline \
chart2/source/controller/dialogs/TextDirectionListBox \
chart2/source/controller/dialogs/TitleDialogData \
chart2/source/controller/dialogs/tp_3D_SceneAppearance \
chart2/source/controller/dialogs/tp_3D_SceneGeometry \
chart2/source/controller/dialogs/tp_3D_SceneIllumination \
chart2/source/controller/dialogs/tp_AxisLabel \
chart2/source/controller/dialogs/tp_AxisPositions \
chart2/source/controller/dialogs/tp_ChartType \
chart2/source/controller/dialogs/tp_DataLabel \
chart2/source/controller/dialogs/tp_DataPointOption \
chart2/source/controller/dialogs/tp_DataSource \
chart2/source/controller/dialogs/tp_DataTable \
chart2/source/controller/dialogs/tp_ErrorBars \
chart2/source/controller/dialogs/tp_LegendPosition \
chart2/source/controller/dialogs/tp_PointGeometry \
chart2/source/controller/dialogs/tp_PolarOptions \
chart2/source/controller/dialogs/tp_RangeChooser \
chart2/source/controller/dialogs/tp_Scale \
chart2/source/controller/dialogs/tp_SeriesToAxis \
chart2/source/controller/dialogs/tp_TitleRotation \
chart2/source/controller/dialogs/tp_Trendline \
chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects \
chart2/source/controller/drawinglayer/DrawViewWrapper \
chart2/source/controller/drawinglayer/ViewElementListProvider \
chart2/source/controller/itemsetwrapper/AxisItemConverter \
chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter \
chart2/source/controller/itemsetwrapper/DataPointItemConverter \
chart2/source/controller/itemsetwrapper/DataTableItemConverter \
chart2/source/controller/itemsetwrapper/ErrorBarItemConverter \
chart2/source/controller/itemsetwrapper/GraphicPropertyItemConverter \
chart2/source/controller/itemsetwrapper/ItemConverter \
chart2/source/controller/itemsetwrapper/LegendItemConverter \
chart2/source/controller/itemsetwrapper/MultipleChartConverters \
chart2/source/controller/itemsetwrapper/MultipleItemConverter \
chart2/source/controller/itemsetwrapper/RegressionCurveItemConverter \
chart2/source/controller/itemsetwrapper/RegressionEquationItemConverter \
chart2/source/controller/itemsetwrapper/SeriesOptionsItemConverter \
chart2/source/controller/itemsetwrapper/StatisticsItemConverter \
chart2/source/controller/itemsetwrapper/TextLabelItemConverter \
chart2/source/controller/itemsetwrapper/TitleItemConverter \
chart2/source/controller/main/ChartController \
chart2/source/controller/main/ChartController_EditData \
chart2/source/controller/main/ChartController_Insert \
chart2/source/controller/main/ChartController_Position \
chart2/source/controller/main/ChartController_Properties \
chart2/source/controller/main/ChartController_TextEdit \
chart2/source/controller/main/ChartController_Tools \
chart2/source/controller/main/ChartController_Window \
chart2/source/controller/main/ChartDropTargetHelper \
chart2/source/controller/main/ChartFrameloader \
chart2/source/controller/main/ChartModelClone \
chart2/source/controller/main/ChartTransferable \
chart2/source/controller/main/ChartWindow \
chart2/source/controller/main/CommandDispatchContainer \
chart2/source/controller/main/CommandDispatch \
chart2/source/controller/main/ControllerCommandDispatch \
chart2/source/controller/main/DragMethod_Base \
chart2/source/controller/main/DragMethod_PieSegment \
chart2/source/controller/main/DragMethod_RotateDiagram \
chart2/source/controller/main/DrawCommandDispatch \
chart2/source/controller/main/ElementSelector \
chart2/source/controller/main/FeatureCommandDispatchBase \
chart2/source/controller/main/ObjectHierarchy \
chart2/source/controller/main/PositionAndSizeHelper \
chart2/source/controller/main/SelectionHelper \
chart2/source/controller/main/ShapeController \
chart2/source/controller/main/StatusBarCommandDispatch \
chart2/source/controller/main/ToolbarController \
chart2/source/controller/main/UndoActions \
chart2/source/controller/main/UndoCommandDispatch \
chart2/source/controller/main/UndoGuard \
chart2/source/controller/sidebar/Chart2PanelFactory \
chart2/source/controller/sidebar/ChartAreaPanel \
chart2/source/controller/sidebar/ChartAxisPanel \
chart2/source/controller/sidebar/ChartColorWrapper \
chart2/source/controller/sidebar/ChartElementsPanel \
chart2/source/controller/sidebar/ChartErrorBarPanel \
chart2/source/controller/sidebar/ChartLinePanel \
chart2/source/controller/sidebar/ChartSeriesPanel \
chart2/source/controller/sidebar/ChartSidebarModifyListener \
chart2/source/controller/sidebar/ChartSidebarSelectionListener \
chart2/source/controller/sidebar/ChartTypePanel \
chart2/source/controller/uitest/uiobject \
))
# vim: set noet sw=4 ts=4: