diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-04-18 09:00:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-04-19 11:03:21 +0200 |
commit | 07179a5a5bd00f34acfa8a3f260dd834ae003c63 (patch) | |
tree | f84bbd97d8da1c67b4ab673c650cd4b754d1cef1 /include/svx/charmap.hxx | |
parent | eb65f881da9c63636bc07eca735fd2bc01854fd6 (diff) |
add a route to get calc Floating Frame links under 'manage links'
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>
Diffstat (limited to 'include/svx/charmap.hxx')
0 files changed, 0 insertions, 0 deletions