Hi, I have a .ppt file . I want to write an application which views that thumbnail .ppt file . It likes when you're using Windows , you can take an action "Views -> Thumbnails" in Windows Explorer . How can I do ? Please help me . Thanks very much .
Interfacing with MSOffice files is notoriously difficult. Producing new files can be done with a fair degree of success (e.g. Jakarta POI), but extracting data from existing files is error-prone at best. Furthermore, I don't know whether the screenshot is cached inside the ppt file; to achieve what you want to do, you may in fact have to load the entire powerpoint engine in a COM->Java wrapper and have it render the slide on the spot.
I'd much rather have the user to attach a screendump seperately. Even if they do end up uploading a 1280x1024 .bmp image, scaling and compressing that is a hell of a lot easier than fiddling with an office file format.