• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Converting a Word Document or PPT into ThumbNail Images.

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic