Am 02.12.2010 10:31, schrieb Fernand Vanrie:
please find the code here:

'-----FILEPICKER
START--------------------------------------------------------------
...
'------FILEPICKER
END------------------------------------------------------------------

Hi Fernand, I got it working. There are some questions left.

After I had figured out the global variables and constants, I wondered about the value of "TargetResolution". I set it to 90, but also to some others, without any difference on screen. I also tried some different width and height settings. No effect.

This preview thingy is sufficient for fotos, but not so much for invoice scans. You cannot see the figures. So I think I'd have to dive into the graphics part of the API to get a preview window working with, say, nearly one third of the screen height or higher. If that is possible. It would be by far the better solution than opening the file with an extern program.

It would be nice of you to give me some advice where to start and to look for.

Regards
Volker

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

Reply via email to