Convert .doc to .pdf from Java application

Discussion in 'Software' started by mfv, Jul 7, 2009.

  1. mfv

    mfv

    Joined:
    Jul 7, 2009
    Messages:
    1
    Hello,

    I need to convert a file .doc to a file .pdf from my application Java.

    I have to use PDFCreator, but I do not want that the user of my java application has to configure options of the PDFCreator because I want to save the file .pdf that is generated in a location (a temp directory) to be able to recover it later.

    I have to change the options of the PDFCreator, later print and finally change again the options of the PDFCreator to leave them as they were before changing them initially.

    The problem is that I do not know how I can do so that the PDFCreator does these three things in the suitable order.

    I manage to change the options of the PDFCreator and I manage to print, but it happens the printing executes before options change (options of autosave) and then the graphical interfaz of the PDFCreator appears to the user in order that he establishes the options and it is what I do not want.

    I am using java2com to interact with the interfaz COM of the PDFCreator.

    Thanks in advance
     
    mfv, Jul 7, 2009
    #1
    1. Advertising

  2. mfv

    Qoppa_Susan

    Joined:
    Aug 19, 2010
    Messages:
    1
    Location:
    Woodstock, GA
    Java Word to PDF Document Conversion

    jWordConvert, recently released, is a Java library that can read and render Word documents natively
    • to convert to PDF
    • to convert to images
    • or to print the documents automatically
    .
    It runs on all platforms, and can convert without user intervention and without the need for any other software.
     
    Qoppa_Susan, Apr 22, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. t.rex
    Replies:
    9
    Views:
    661
    Dan Shea
    May 3, 2004
  2. Chloe

    .PDF to .DOC converter

    Chloe, Jul 11, 2004, in forum: Computer Support
    Replies:
    2
    Views:
    456
  3. neil

    PDF to DOC

    neil, Feb 26, 2005, in forum: Computer Support
    Replies:
    7
    Views:
    509
    Robert Amtjip
    Feb 26, 2005
  4. Harry

    Why convert Word doc to PDF? Or vice versa

    Harry, Mar 8, 2005, in forum: Computer Support
    Replies:
    3
    Views:
    552
    Wizard
    Mar 8, 2005
  5. PWB

    .pdf doc to word doc

    PWB, Sep 16, 2008, in forum: Computer Support
    Replies:
    14
    Views:
    1,142
    chuckcar
    Sep 19, 2008
Loading...

Share This Page