# -*- 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/. # # This file incorporates work covered by the following license notice: # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed # with this work for additional information regarding copyright # ownership. The ASF licenses this file to you under the Apache # License, Version 2.0 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.apache.org/licenses/LICENSE-2.0 . # $(eval $(call gb_Library_Library,unoxml)) $(eval $(call gb_Library_set_componentfile,unoxml,unoxml/source/service/unoxml,services)) $(eval $(call gb_Library_set_precompiled_header,unoxml,unoxml/inc/pch/precompiled_unoxml)) $(eval $(call gb_Library_use_sdk_api,unoxml)) $(eval $(call gb_Library_use_libraries,unoxml,\ ucbhelper \ sax \ comphelper \ cppuhelper \ cppu \ sal \ tl \ xo \ )) $(eval $(call gb_Library_use_externals,unoxml,\ boost_headers \ libxml2 \ )) $(eval $(call gb_Library_add_exception_objects,unoxml,\ unoxml/source/dom/node \ unoxml/source/dom/document \ unoxml/source/dom/element \ unoxml/source/dom/attr \ unoxml/source/dom/cdatasection \ unoxml/source/dom/characterdata \ unoxml/source/dom/comment \ unoxml/source/dom/documentbuilder \ unoxml/source/dom/documentfragment \ unoxml/source/dom/documenttype \ unoxml/source/dom/entity \ unoxml/source/dom/entityreference \ unoxml/source/dom/notation \ unoxml/source/dom/processinginstruction \ unoxml/source/dom/text \ unoxml/source/dom/domimplementation \ unoxml/source/dom/elementlist \ unoxml/source/dom/childlist \ unoxml/source/dom/notationsmap \ unoxml/source/dom/entitiesmap \ unoxml/source/dom/attributesmap \ unoxml/source/dom/saxbuilder \ unoxml/source/xpath/xpathobject \ unoxml/source/xpath/nodelist \ unoxml/source/xpath/xpathapi \ unoxml/source/events/event \ unoxml/source/events/eventdispatcher \ unoxml/source/events/mutationevent \ unoxml/source/events/uievent \ unoxml/source/events/mouseevent \ )) $(eval $(call gb_Library_set_include,unoxml,\ -I$(SRCDIR)/unoxml/inc \ $$(INCLUDE) \ )) # vim: set noet sw=4 ts=4: .04'>distro/collabora/co-24.04 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/shapeimpl.hxx
AgeCommit message (Collapse)Author
2023-09-06add referer to ole objectsCaolán McNamara
so we can identify what document is requesting their contents extends: commit 5668e73beb30b95abc6520b7432c54972ca3ab2c Date: Wed Nov 20 14:43:45 2013 +0100 avmedia: Implement "block untrusted referer links" feature See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block untrusted referer links' feature" for details. This adds some further /*TODO?*/ comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not blocked during a slideshow presentation. to these objects too, namely OLE2Shape and derivatives AppletShape, FrameShape and PluginShape so in paranoid mode we won't load the contents of such objects from documents considered "untrusted". Change-Id: I6d988035d0cd09fd3fade5f6885fe336c95579ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156612 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
2023-04-19add a route to get calc Floating Frame links under 'manage links'Caolán McNamara
much harder than writer because the organization and ordering of properties and object activation etc is different. This ended up ugly, but functions. We set FrameURL before AddShape, we have to do it again later because it gets cleared when the SdrOle2Obj is attached to the XShape. But we want FrameURL to exist when AddShape triggers SetPersistName which itself triggers SdrOle2Obj::CheckFileLink_Impl and at that point we want to know what URL will end up being used. So bodge this by setting FrameURL to the temp pre-SdrOle2Obj attached properties and we can smuggle it eventually into SdrOle2Obj::SetPersistName at the right point after PersistName is set but before SdrOle2Obj::CheckFileLink_Impl is called in order to inform the link manager that this is an IFrame that links to a URL Change-Id: I67fc199fef9e67fa12ca7873f0fe12137aa16d8f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150539 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-05-06svx: move SvxTableShape into own file and externalizeTomaž Vajngerl
Change-Id: I0c4b37ebafa56ed50286bdcec1f2a8d5e1362f8d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133918 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-05-02throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewriteStephan Bergmann
Change-Id: I076f16d0536b534abf0ced4d76051eadb4c0e033 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114949 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-04-15store ptr to the original entries in SfxItemPropertyMapNoel Grandin
instead of copying them to a new data structure that is practically identical. Helps startup time since we build a ton of these when loading documents. And use o3tl::sorted_vector as a dense map data structure to reduce allocations and improve cache friendliness, since this is a build-once thing. Change-Id: I950be03b1a21c0c81c40f2677d4215f5e8e256cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114015 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>