Access Word using Java Code?

Discussion in 'Mac Programming' started by Kathe, Sep 29, 2008.

  1. Kathe macrumors newbie

    Sep 19, 2008
    Hi ,

    I need to create a User Interface using Java which involves a refernce to Microsoft Word 2004.So how can i access Word using Java.I need to create an Word Processor Editor with a Text Pane/Text Area in which the doc file has to be opened with all the styles & formatting applied in the doc.How can i create this using Java.

    Im using Xcode 3.

    I could get refernce to an RTFEditor but that does not bring up the styles that i need.So please tell how to get reference to Microsoft Word using Java.

    Sample Code Please?
    Could you suggest any books/Links that suits my request?

  2. whitehexagon macrumors regular


    May 12, 2007
    I can't say I've ever seen or heard of a way of embedding Word into a Java application.

    I think Apache POI might be the closest thing to what you're looking for, at least for reading/writing the files. The editing would require something along the lines of a 'styled editor kit', but no idea if it's going to match what you'd get in Word.

Share This Page