5d86cc81fe
This patch implements the mechanism to save solver settings in LO Calc as well as export/import them from XLSX files. In MS Excel solver settings are saved as hidden named ranges, so in this patch I used the same strategy to save solver settings in Calc, i.e. by creating named ranges to store the solver settings using the same terminology used in Excel. With this we gain the ability to save solver settings by tab, as well as export/import since we already have "named ranges/expressions" import/export implemented in LO. Change-Id: Id41bca261dc3cd8e6888643f0ed6a97b26097876 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148112 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
75 lines
1.9 KiB
Makefile
75 lines
1.9 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_CppunitTest_CppunitTest,sc_ucalc_solver))
|
|
|
|
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_ucalc_solver))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sc_ucalc_solver, \
|
|
sc/qa/unit/ucalc_solver \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,sc_ucalc_solver, \
|
|
boost_headers \
|
|
mdds_headers \
|
|
libxml2 \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,sc_ucalc_solver, \
|
|
basegfx \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
i18nlangtag \
|
|
sal \
|
|
sax \
|
|
sc \
|
|
scqahelper \
|
|
sfx \
|
|
subsequenttest \
|
|
svl \
|
|
svx \
|
|
svxcore \
|
|
test \
|
|
tl \
|
|
unotest \
|
|
utl \
|
|
vcl \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sc_ucalc_solver,\
|
|
-I$(SRCDIR)/sc/source/ui/inc \
|
|
-I$(SRCDIR)/sc/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_api,sc_ucalc_solver,\
|
|
offapi \
|
|
udkapi \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,sc_ucalc_solver))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,sc_ucalc_solver))
|
|
|
|
$(eval $(call gb_CppunitTest_use_vcl,sc_ucalc_solver))
|
|
|
|
$(eval $(call gb_CppunitTest_use_rdb,sc_ucalc_solver,services))
|
|
|
|
$(eval $(call gb_CppunitTest_use_components,sc_ucalc_solver))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,sc_ucalc_solver))
|
|
|
|
$(eval $(call gb_CppunitTest_add_arguments,sc_ucalc_solver, \
|
|
-env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|