https://bugs.documentfoundation.org/show_bug.cgi?id=151413

--- Comment #3 from Mike Kaganski <[email protected]> ---
FTR:

The problem arises from the use of "Link" clipboard format, which is documented
at [1]. The format uses 8-bit encoding to pass application, topic and item
elements; and since they are, per DDE spec, case insensitive, and the format
doesn't depend on e.g. CF_LOCALE standard clipboard format [2], we can't easily
change that format to use e.g. UTF-8, without breaking other possible
applications using our DDE server.

OTOH, since the format is defined to terminate with two nulls, we possibly
could append our custom data after those nulls, which we could tag (to avoid
conflicts with other possible extensions). See e.g. the code that reads that
format, at SwTransferable::PasteDDE [3].

[1]
https://learn.microsoft.com/en-us/windows/win32/dataxchg/using-dynamic-data-exchange#initiating-a-data-link-with-the-paste-link-command
[2]
https://learn.microsoft.com/en-us/windows/win32/dataxchg/standard-clipboard-formats
[3]
https://opengrok.libreoffice.org/xref/core/sw/source/uibase/dochdl/swdtflvr.cxx?r=4b95451f#2587

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to