Parse the style*.xml file in the OOXML package, and store the imported styles in XChartDocument via a new XChartStyle. Some areas are yet to be fleshed out, but the intent here is to get a review of the general approach and architecture. This includes no work on the export side (or the UI and application of styles to a chart, which is a separate but related project). Change-Id: I9d5b9f5aa44fb7944b2d971edc26e04dc2256c7f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189531 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
|
|
#
|
|
# 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,docmodel))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,docmodel,\
|
|
docmodel/source/uno/UnoComplexColor \
|
|
docmodel/source/uno/UnoChartStyle \
|
|
docmodel/source/uno/UnoGradientTools \
|
|
docmodel/source/uno/UnoTheme \
|
|
docmodel/source/theme/ColorSet \
|
|
docmodel/source/theme/Theme \
|
|
docmodel/source/color/ComplexColorJSON \
|
|
docmodel/source/styles/ChartStyle \
|
|
))
|
|
|
|
$(eval $(call gb_Library_set_include,docmodel,\
|
|
$$(INCLUDE) \
|
|
-I$(SRCDIR)/docmodel/inc \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_externals,docmodel,\
|
|
libxml2 \
|
|
boost_headers \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_defs,docmodel,\
|
|
-DDOCMODEL_DLLIMPLEMENTATION \
|
|
))
|
|
|
|
$(eval $(call gb_Library_set_precompiled_header,docmodel,docmodel/inc/pch/precompiled_docmodel))
|
|
|
|
$(eval $(call gb_Library_use_sdk_api,docmodel))
|
|
|
|
$(eval $(call gb_Library_use_libraries,docmodel,\
|
|
basegfx \
|
|
comphelper \
|
|
cppuhelper \
|
|
cppu \
|
|
sal \
|
|
tl \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|