Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Converting a Word Document or PPT into ThumbNail Images.  RSS feed

 
sreenivasulu gundlapalli
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can anyone suggest me an API used in java for Converting an MS OFFICE Documents ( like .DOC or .PPT ) into an Thumb Nail Images.

Please do suggest me an API or provide me if you have any sample code for the same.

Regards
Sreeni.
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please ShowSomeEffort. You could start by telling us what you accomplished and found.
 
sreenivasulu gundlapalli
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't have idea..on that , so that's the reason i am asking for some suggestion.If you provide me some suggestion i will workout and let you know further if i have any issues.
 
Greg Charles
Sheriff
Posts: 3014
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a vague idea that Windows provides some sort of COM interface for getting thumbnails of various file types. You would either have to write your own JNI bridge to that API, or (preferably) find someone else who's done it for you. JACOB might be a good place to start.
 
Shahzad Latif
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sreeni,

You can try Aspose components for Java to convert Office documents to images. Aspose.Words for Java, Aspose.Cells for Java, and Aspose.Slides for Java allow you to convert Word, Excel and Powerpoint documents to images respectively. These components do not require MS Office or Open Office to be installed on the machine where you develop or deploy the application. The code is very simple. Please see the following pages for sample code snippets:

Convert Powerpoint Slides to Image
Convert Excel Worksheet to Image
Convert Word document to Image (In this case, you need to set the SaveFormat to your required image format)



Please see if these components might help in your scenario.

Disclosure: I work as developer evangelist at Aspose.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!