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

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
             Status|NEW                         |ASSIGNED

--- Comment #13 from Justin L <[email protected]> ---
It is necessary to export "Target" to RTF, so that LO can import it back in
again, since the clipboard is reusing the normal full document RTF export in
sw/source/filter/ww8/rtfattributeoutput.cxx
RtfAttributeOutput::StartURL

This code runs as PASTE time - generating the RTF export on demand.

I don't think that MS Word imports the target though - so it is probably a LO
embellishment of the RTF standard.

Things like firefox and kate don't use clipboard RTF, but use
sw/source/uibase/dochdl/swdtflvr.cxx:796: SWTRANSFER_OBJECTTYPE_STRING

BUT - we can avoid the target by checking IsClipboard...
https://gerrit.libreoffice.org/c/core/+/158744


Alternatively, the target could be stripped out during clipboard import, with
https://gerrit.libreoffice.org/c/core/+/158743

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

Reply via email to