This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to generate thumbnail of word/excel document

 
Puneet Chachra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

I have to create thumbnail of MS Word/Excel documents using java code.
I need this on urgent basis.Please provide any sample code to do this.
I didn't get the suitable code.
I am already have some code which is creating thumbnails of an image.
Help would be appriciated
 
Rob Spoor
Sheriff
Pie
Posts: 20510
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please Ease Up and Show Some Effort. We are Not A Code Mill.

What have you tried so far? Have you already found Apache POI?
 
Puneet Chachra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes i have used POI for generating my own pdf file.
But can i generate thumbnails of word/excel document??
if you have any sample code, provide me.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have code that can create PDFs from the DOC/XLS files, then you must have a mechanism that knows how to render those files (in other words, how to layout the elements of it). Can't you adapt that code to create images instead of PDFs?
 
Puneet Chachra
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have used POI for creating my own pdf file. This is not from any word/excel document. Even i don't have any code that can convert any word file to pdf file.

Does anyone has suggestions regarding this??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic