Mathias Bauer wrote:

> Simon A Wilper wrote:
> 
>> Da OOo beim Speichern ein Thumbnail anlegt, muss es ja irgendwo eine
>> Routine geben, die die Grafikausgabe des Dokuments kurz in ein PNG
>> umleitet.  Wenn man das mittels UNO ausloesen koennte, waere das eine
>> tolle Sache und wir koennten das ganze sofort ueber irgendeine
>> Programmiersprache machen, die von OOo als Binding unterstuetzt wird,
>> zB. Python oder C++.
> Das geht per API, allerdings leider nicht in Basic. Das model eines
> Dokuments unterstützt das Interface css.datatransfer.XTransferable, mit
> dem man sich eine Repräsentation des Dokuments in einigen
> Graphikformaten, u.a. PNG abholen kann.

Etwas genauer: ein Abbild der ersten Seite des Dokuments, also auch das,
was im Thumbnail zu sehen ist.

Ciao,
Mathias


-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Antwort per Email an