[Libreoffice] Clipboard handling on Windows
Kohei Yoshida
kohei.yoshida at suse.com
Fri Dec 2 09:15:23 PST 2011
On Fri, 2011-12-02 at 11:52 -0500, Kohei Yoshida wrote:
> Hi Noel,
>
> On Fri, 2011-12-02 at 18:40 +0200, Noel Grandin wrote:
>
> > I think the second one is the newer one, and Windows provides some
> > support for interfacing applications using the first one with
> > applications using the second one.
> > Which is why you see some of the formats, but not all of them, when
> > you use the second API.
>
> 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?
I'm specifically referring to the fact that IDataObject's
EnumFormatsEtc() methods returns far fewer formats than
EnumClipboardFormats() function which is part of the Windows clipboard
API. And sometimes we need to have access to the formats only returned
by the latter.
Very puzzling...
Kohei
--
Kohei Yoshida, LibreOffice hacker, Calc
More information about the LibreOffice
mailing list