For pivot tables we operate with ScDPObject as input, which has the input and output ranges. We need to convert the ranges to the default view tab, so the pivot table is created on the default view. Sync will take pivot tables into account when copying the content to sheet views, so we don't need to do anything special here. Change-Id: Ie28fda2d04576fd689d11010401709c6c02431c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/201695 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202115 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit a36ac18990c89f740b8329b8325e4abe3d3e2087) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/205551 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
75 lines
2.0 KiB
Makefile
75 lines
2.0 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_sheetview_test))
|
|
|
|
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_sheetview_test))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sc_sheetview_test, \
|
|
sc/qa/unit/tiledrendering/SheetViewTest \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,sc_sheetview_test, \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
editeng \
|
|
sal \
|
|
sfx \
|
|
sot \
|
|
svl \
|
|
svt \
|
|
svxcore \
|
|
sc \
|
|
scfilt \
|
|
scui \
|
|
scqahelper \
|
|
subsequenttest \
|
|
test \
|
|
unotest \
|
|
$(call gb_Helper_optional,SCRIPTING, vbahelper) \
|
|
vcl \
|
|
tl \
|
|
utl \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,sc_sheetview_test,\
|
|
boost_headers \
|
|
libxml2 \
|
|
mdds_headers \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sc_sheetview_test,\
|
|
-I$(SRCDIR)/sc/source/ui/inc \
|
|
-I$(SRCDIR)/sc/inc \
|
|
-I$(SRCDIR)/sc/qa/unit/helper \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,sc_sheetview_test))
|
|
$(eval $(call gb_CppunitTest_use_api,sc_sheetview_test,oovbaapi))
|
|
$(eval $(call gb_CppunitTest_use_ure,sc_sheetview_test))
|
|
$(eval $(call gb_CppunitTest_use_vcl,sc_sheetview_test))
|
|
$(eval $(call gb_CppunitTest_use_rdb,sc_sheetview_test,services))
|
|
$(eval $(call gb_CppunitTest_use_configuration,sc_sheetview_test))
|
|
|
|
$(eval $(call gb_CppunitTest_add_arguments,sc_sheetview_test, \
|
|
-env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_uiconfigs,sc_sheetview_test, \
|
|
modules/scalc \
|
|
sfx \
|
|
svt \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|