File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MS Word Tables to HTML Tables

 
nomeaning
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i didn't receive any comment or response to my last post... so i will try to ask in some another way...

What tool or concept or API out there do i need to try in order to COPY a table for instance... from a word file, PASTE that inside a JTextArea, WATCH that table inside the JTextArea in the same way as i saw it in word... and then save this table in HTML format in a database...

Thank you very much beforehand.
 
Manuel Moons
Ranch Hand
Posts: 229
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ouch,

Not a simple requirement!

You actually want to build some sort of a mini-texteditor?

Although I'm absolutely sure that this is possible it will be a large and difficult task to create something like that. As far as I know it is not available in any standard API.

You might be able to find some library that has this functionality somewhere. I googled for you for a few minutes but I am not able to find something useful in that short time.

Well, I'm sorry if I have discouraged you but unless you have a lot of time to start creating a small text editor I would advise you to look for another solution. (Maybe something using images (table in an image)?)
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JEditorPane can render HTML. OpenOffice exposes an API that makes it possible to convert Word files to HTML. You just have to put the pieces together.
 
nomeaning
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot for the orientation
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic