Stefan Schimanski wrote:
Am 26.12.2007 um 13:55 schrieb Abdelrazak Younes:
Stefan Schimanski wrote:
Hi!
I did a very simple experimental implementation to paste PDFs
directly into the LyX buffer. On Mac nearly every application
provides PDF data in the clipboard and hence you can paste from any
graphical application with this, even in perfect vector quality.
Looks good but couldn't you generalize the Clipboard code to any kind
of supported graphics format?
Sure. It's only a proof of concept that it's doable with not too many
changes.
Good!
Is there a way to get the mime types of supported graphic formats?
If you mean for On-screen visualisation, GuiImage might have something
like that. But even if not supported, we could still add an external
material or something.
One problem is the broken code to embed files into a lyx bundle. Is
this supposed to work already? I can create bundled lyx files. But no
files are embedded, only the content.lyx itself.
This feature is still not finished I am afraid.
ic.
I wonder whether it would make sense to ask for a filename then instead
if embedded files are not enabled.
I wouldn't mind if we do that in any case personally. Maybe a dialog
that will propose to either embed the drop object or to copy the content
in a user specified file.
Abdel.