Hi,

On Thu, Feb 20, 2014 at 1:56 AM, Kohei Yoshida
<kohei.yosh...@collabora.com> wrote:
> Just FYI,
>
> http://cgit.freedesktop.org/libreoffice/core/commit/?id=3d481254a07fe82d11953f9825a2f8fc6eeabc0b
>
> we need to stick with uppercased HTML tags because using lower-cased
> tags apparently breaks Windows clipboard functionality.
>
> https://bugs.freedesktop.org/show_bug.cgi?id=74584
> https://bugs.freedesktop.org/show_bug.cgi?id=74537
>
> No idea why lower-cased html tags won't work there, but the condition
> appears to be indepdent of applications.  I've tested Word, Excel and
> Firefox, and the bug reporters have tested several others such as Google
> Chrome and Thunderbird.
>
> The 4.2 backport request is pending here:
> https://gerrit.libreoffice.org/#/c/8132/
>
> Kohei
>

Actually our clipboard html format [1] is wrong and this is most
probably the cause. I inspected the clipboard with InsideClipboard
[2]. StartHTML, EndHTML, StartFragment, EndFragment have the wrong
numbers (see the attachement). I think this could be the problem.


Regards, Tomaž

[1] 
http://msdn.microsoft.com/en-us/library/windows/desktop/ms649015%28v=vs.85%29.aspx
[2] http://www.nirsoft.net/utils/inside_clipboard.html
Version:1.0
StartHTML:0000000103
EndHTML:0000000112
StartFragment:0000000105
EndFragment:0000000104
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
        
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title></title>
        <meta name="generator" content="LibreOfficeDev 4.3.0.0.alpha0 
(Windows)">
        <style type="text/css"><!-- 
                body,div,table,thead,tbody,tfoot,tr,th,td,p { 
font-family:"Arial"; font-size:x-small }
                 -->
        </style>
        
</head>

<body>
<table cellspacing="0" border="0">
        <colgroup width="86"></colgroup>
        <tr>
                <td height="17" align="right" valign=bottom sdval="1" 
sdnum="1033;">1</td>
        </tr>
        <tr>
                <td height="17" align="right" valign=bottom sdval="2" 
sdnum="1033;">2</td>
        </tr>
        <tr>
                <td height="17" align="right" valign=bottom sdval="3" 
sdnum="1033;">3</td>
        </tr>
</table>
</body>

</html>
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to