This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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 .
Joined: May 28, 2005
I want to write an application that can view .ppt file like the following picture .
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.