# -*- 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_datapilotitemobj)) $(eval $(call gb_CppunitTest_use_external,sc_datapilotitemobj,boost_headers)) $(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datapilotitemobj)) $(eval $(call gb_CppunitTest_add_exception_objects,sc_datapilotitemobj, \ sc/qa/extras/scdatapilotitemobj \ )) $(eval $(call gb_CppunitTest_use_libraries,sc_datapilotitemobj, \ basegfx \ comphelper \ cppu \ cppuhelper \ drawinglayer \ editeng \ for \ forui \ i18nlangtag \ msfilter \ oox \ sal \ salhelper \ sax \ sb \ sc \ sfx \ sot \ subsequenttest \ svl \ svt \ svx \ svxcore \ test \ tk \ tl \ ucbhelper \ unotest \ utl \ vbahelper \ vcl \ xo \ )) $(eval $(call gb_CppunitTest_set_include,sc_datapilotitemobj,\ -I$(SRCDIR)/sc/source/ui/inc \ -I$(SRCDIR)/sc/inc \ $$(INCLUDE) \ )) $(eval $(call gb_CppunitTest_use_sdk_api,sc_datapilotitemobj)) $(eval $(call gb_CppunitTest_use_ure,sc_datapilotitemobj)) $(eval $(call gb_CppunitTest_use_vcl,sc_datapilotitemobj)) $(eval $(call gb_CppunitTest_use_components,sc_datapilotitemobj,\ $(sc_unoapi_common_components) \ )) $(eval $(call gb_CppunitTest_use_configuration,sc_datapilotitemobj)) # vim: set noet sw=4 ts=4: ption> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xestring.cxx
AgeCommit message (Collapse)Author
2024-10-19tdf#158460 xls/x export: don't force wrap-text for imported single-lineJustin Luth
Starting in LO 24.2, we started displaying imported XLS/X files that had contents-with-newlines on a single line if the cell did not have the wrap-text property - just like buggy Excel. So, now we need to round-trip that without setting wrap-text, so that we can continue to exhibit buggy behaviour (instead of fixing the document so that the newlines aren't ignored). A previous attempt to do this was reverted (for many reasons), significantly because it failed to handle the situation where a user entered new newline content (without forcing wrap-text). So in LO the new content DISPLAYS on multiple lines, but after a round-trip it was all squashed together. So it is important to keep the traditional behaviour of forcing wrap-text, and ONLY avoiding it when round-tripping imported content. It also preserves ODS -> XLS/X conversions. I also took the opportunity to rename mbWrapped. make CppunitTest_sc_subsequent_export_test3 \ CPPUNIT_TEST_NAME=testPreserveTextWhitespace2XLSX Change-Id: Ia35b0679946b51626fabd4043779c1b43cc1ae37 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174436 Reviewed-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins
2022-10-25tdf#151484 Data Validity list looses separation when saving as XLSNoel Grandin
regression from commit fbb41798b86c5ed35eb80aa07a5ee7c9866ac4e8 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Fri Mar 18 09:46:52 2022 +0200 tdf#133603 remove some string copying Change-Id: Ie241a7d5e54673b35c643c7c20dc100ba7925647 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141808 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-18tdf#133603 remove some string copyingNoel Grandin
Change-Id: I5b9f011d276ec30a50648e7984862b9e5f4b5577 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131729 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-12-11Adapt the remaining OUString functions to std string_viewStephan Bergmann
...for LIBO_INTERNAL_ONLY. These had been missed by 1b43cceaea2084a0489db68cd0113508f34b6643 "Make many OUString functions take std::u16string_view parameters" because they did not match the multi-overload pattern that was addressed there, but they nevertheless benefit from being changed just as well (witness e.g. the various resulting changes from copy() to subView()). This showed a conversion from OStringChar to std::string_view to be missing (while the corresponding conversion form OUStringChar to std::u16string_view was already present). The improvement to loplugin:stringadd became necessary to fix > [CPT] compilerplugins/clang/test/stringadd.cxx > error: 'error' diagnostics expected but not seen: > File ~/lo/core/compilerplugins/clang/test/stringadd.cxx Line 43 (directive at ~/lo/core/compilerplugins/clang/test/stringadd.cxx:42): simplify by merging with the preceding assignment [loplugin:stringadd] > File ~/lo/core/compilerplugins/clang/test/stringadd.cxx Line 61 (directive at ~/lo/core/compilerplugins/clang/test/stringadd.cxx:60): simplify by merging with the preceding assignment [loplugin:stringadd] > 2 errors generated. Change-Id: Ie40de0616a66e60e289c1af0ca60aed6f9ecc279 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107602 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-08loplugin:flatten in sc/filter/excelNoel Grandin
Change-Id: I48ab5b20a3345cd40d4715c3ff025d2df3b491fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100337 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>