[Libreoffice] Clipboard handling on Windows

Tor Lillqvist tml at iki.fi
Fri Dec 2 10:24:53 PST 2011


> So, I'm still not understanding this fully.  Why is it that, when you
> use the 2nd API, you only see some of the formats, not all?

One possibility might be that the first API also returns "synthesized"
clipboard formats. For instance, if you put CF_UNICODETEXT format data
on the clipboard, Windows itself from that synthesizes when needed
also the CF_TEXT ("ANSI", i.e. current system codepage) format, and
advertises also that. See
http://msdn.microsoft.com/en-us/library/windows/desktop/ms649013%28v=vs.85%29.aspx#_win32_Synthesized_Clipboard_Formats

--tml


More information about the LibreOffice mailing list