Re: MS Word / Excel File Viewer API

From: Arthur J. O'Dwyer (ajo_at_nospam.andrew.cmu.edu)
Date: 03/21/04


Date: Sat, 20 Mar 2004 23:15:00 -0500 (EST)


On Sat, 20 Mar 2004, David wrote:
>
> I am hoping that someone might be able to provide me with a link to an
> API which can read MS Word (or even Excel) formats. Microsoft offers
> a free downloadable viewer and this is what I want IF it were also an
> API which could be interfaced in Java. I need to be able to 'grab'
> the page previews of Word documents. I don't care about manipulating
> the document - only being able to see the document and taking that
> image for use in my own program.
>
> Any ideas of tools out there or ways of doing this in Java?

This HTML file seems to be some semi-official documentation of the
Word 8 format:
  http://www.the7soft.com/file-formats/file-formats-Text/wword8.zip

This seems to be the home page of a Java package to process OLE 2.0
documents, including Excel and Word, though it doesn't look like they
have much Word support yet (I didn't look too closely).
  http://jakarta.apache.org/poi/

Of course, I would not be at all surprised if Microsoft lawyers were
to tell me that both of those links point to illegal information.
Microsoft Word is a proprietary format that is not meant for general
use, and if it's not *absolutely* *necessary* to your project, I'd
strongly suggest just supporting RTF or plain-text input instead, and
telling your clients to save their documents in one of those formats
instead of Word's proprietary format. (It'll also make your job
easier, since the RTF and ASCII standards are pretty well lithified
by now as far as I know; Word just keeps changing and changing.)

HTH,
-Arthur



Relevant Pages

  • Re: MS Word / Excel File Viewer API
    ... > API which can read MS Word formats. ... > Any ideas of tools out there or ways of doing this in Java? ... I would not be at all surprised if Microsoft lawyers were ... Microsoft Word is a proprietary format that is not meant for general ...
    (comp.programming)
  • Re: Inheritance Question
    ... In Java I could just get the source for the API and rewrite it. ... I think Microsoft, if they are going to keep .NET proprietary and not ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: MS Word / Excel File Viewer API
    ... > API which can read MS Word formats. ... Microsoft offers ... > Any ideas of tools out there or ways of doing this in Java? ...
    (comp.lang.java.programmer)
  • Re: MS Word / Excel File Viewer API
    ... > API which can read MS Word formats. ... Microsoft offers ... > Any ideas of tools out there or ways of doing this in Java? ...
    (comp.programming)
  • Re: send video from pc to mobile
    ... format and transfer it over to mobile device. ... They do not have a java ... API with the distribution. ...
    (comp.lang.java.programmer)