To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113171





------- Additional comments from john...@openoffice.org Sat Aug 14 10:43:15 
+0000 2010 -------
jsc

Have you found out who looks after the Clipboard?

I have been digging, and it appears that it might be a Windows 7 and Vista
problem with the clipboard.  See
http://technet.microsoft.com/en-us/library/cc749442%28WS.10%29.aspx which says
there are several issues with MS Clipboard and offers fixes for it.  eg the site
says:

When the copy or paste operation does not function properly, the fix called
EmptyClipboardtoSet fixes applications that call the SetClipboardData(CF_TEXT)
function without first emptying the Clipboard.

Also, I saw in another post (
http://user.services.openoffice.org/en/forum/viewtopic.php?f=15&t=28669&p=151107#p151107
) that OO apparently does not use the new changed, Clipboard format as below:  

In short, OpenOffice writer does not generate the correct CF_HTML format to put
into the clipboard.

According to HTML Clipboard Format
(http://msdn.microsoft.com/en-us/library/ms649015(VS.85).aspx), the HTML
comments <!--StartFragment--> and <!--EndFragment--> need to be present in the 
data:

The fragment should be preceded and followed by the HTML comments
<!--StartFragment--> and <!--EndFragment--> (no space allowed between the !--
and the text) to conveniently indicate where the fragment starts and ends. Thus
the start and end of the fragment are indicated by the presence of these
comments and by StartFragment and EndFragment byte counts in the description.
Tools are expected to produce this information. This redundancy has been
introduced to be able to rapidly find the start of the fragment (from the byte
count) and mark the position of the fragment directly in the HTML tree.

However, OpenOffice writer does not respect this and produce the HTML format
data without the required comments, like the following:

Version:1.0
StartHTML:0000000168
EndHTML:0000000656
StartFragment:0000000591
EndFragment:0000000639
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
...
</HEAD>
<BODY LANG="en-US" DIR="LTR">
<P STYLE="margin-bottom: 0in"><B>Foo</B></P>
</BODY>
</HTML>

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to