• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Word to PDF Converter

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using the below code to convert the word document content to the PDF file...

But i am not able to move the contents like table from word to PDF. Any idea how this can be done.

Any API's which is available for this ? Please throw some light on this..



 
author & internet detective
Posts: 42145
937
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Renu,
Do you have to write code to convert the file? If you search for "print in pdf", there are a lot of products. Maybe one has a command line or API?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'll need to use the POI API to get at the tables, pictures, styles etc., and then call appropriate iText classes/methods while creating the PDF. It's quite a complex project.

I'd advise to use the JODConverter library for this (which uses OpenOffice in server mode, so you need OO installed).
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my opinion, you can download a converter here:
http://www.word-to-pdf.com/
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Samuel Behrman wrote:http://www.word-to-pdf.com/


I don't see any suggestion that it has a Java API - does it?
 
reply
    Bookmark Topic Watch Topic
  • New Topic