• 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

MS Word Tables to HTML Tables

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)?)
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks a lot for the orientation
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic