summaryrefslogtreecommitdiff
path: root/UnoControls/Module_UnoControls.mk
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2023-10-31 16:26:50 -0400
committerJustin Luth <jluth@mail.com>2023-11-01 02:28:15 +0100
commite8228e0994610fed8af090ff30ffc08bfecb7261 (patch)
tree45f9fc5445426948a7a5dcb45ef2e1ab3ac5cffb /UnoControls/Module_UnoControls.mk
parent4cf8de89bad9143a5b2dd3d6351080bf62b76029 (diff)
tdf#108318 rtfexport: no hyperlink target for clipboard
This fixes copying hyperlinks from Writer to the other apps like Calc or even to editeng components within Writer. External apps never seem to call for RTF clipboard. Certainly firefox doesn't - and everything I tested seems to just request plain text URL strings. I don't see anywhere in the RTF specification that a \fldinst can take formatting parameters along with the URL. That is likely only a DOCX thing. But since RTF shares import code with DOCX, it gets the parsing for free, so we explicitly use it to round-trip targets in RTF. See commit 31de0ac30d6c521ad663db78feb936688be5bccb Author: Miklos Vajna on Tue Feb 14 09:32:25 2017 +0100 RTF import: handle target of hyperlink Alternatively I could have had editeng parse the flags on clipboard RTF import, but handling it at export seemed cleaner to me. Change-Id: Ic34bcf99edf7bd3fb404ed312c07acae0ef814e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158744 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'UnoControls/Module_UnoControls.mk')
0 files changed, 0 insertions, 0 deletions