88afec7011
Tools -> Options -> Load/Save -> Microsoft Office has config options to decide that Word/Excel/PowerPoint formats are loaded into our doc models (default) or handled via external OLE applications instead. This is used in the MSO import/export filters, but in case the UI is used to insert a new file as an embedded object, then we ignored this setting, and the embedding type depended on if we found an import filter for the data or not (if yes, load it; handle externally otherwise). Fix this inconsistency by checking for the usual MSO import filter names and respect the existing configuration in those cases, so the user can choose to not handle these formats internally if wanted. Change-Id: I6bce8b5467768ef3f21d97b4e0fe3f4d18d9466b Reviewed-on: https://gerrit.libreoffice.org/77449 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
55 lines
1.5 KiB
Makefile
55 lines
1.5 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,embobj))
|
|
|
|
$(eval $(call gb_Library_use_custom_headers,embobj,\
|
|
officecfg/registry \
|
|
))
|
|
|
|
$(eval $(call gb_Library_set_componentfile,embobj,embeddedobj/util/embobj))
|
|
|
|
$(eval $(call gb_Library_set_include,embobj,\
|
|
-I$(SRCDIR)/embeddedobj/source/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_external,embobj,boost_headers))
|
|
|
|
$(eval $(call gb_Library_use_sdk_api,embobj))
|
|
|
|
$(eval $(call gb_Library_use_libraries,embobj,\
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
svt \
|
|
utl \
|
|
vcl \
|
|
tl \
|
|
i18nlangtag \
|
|
))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,embobj,\
|
|
embeddedobj/source/commonembedding/embedobj \
|
|
embeddedobj/source/commonembedding/inplaceobj \
|
|
embeddedobj/source/commonembedding/miscobj \
|
|
embeddedobj/source/commonembedding/persistence \
|
|
embeddedobj/source/commonembedding/register \
|
|
embeddedobj/source/commonembedding/specialobject \
|
|
embeddedobj/source/commonembedding/visobj \
|
|
embeddedobj/source/commonembedding/xfactory \
|
|
embeddedobj/source/general/docholder \
|
|
embeddedobj/source/general/dummyobject \
|
|
embeddedobj/source/general/intercept \
|
|
embeddedobj/source/general/xcreator \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|