Re: MS Word / Excel File Viewer API
From: Arthur J. O'Dwyer (ajo_at_nospam.andrew.cmu.edu)
Date: 03/21/04
- Next message: mromarkhan_at_rogers.com: "Re:Check for timeexpired and shutdown browser"
- Previous message: mromarkhan_at_rogers.com: "Re: Heirarchical Data - how to deal with this in Java/JSP"
- In reply to: David: "MS Word / Excel File Viewer API"
- Next in thread: Howard Kaikow: "Re: MS Word / Excel File Viewer API"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: mromarkhan_at_rogers.com: "Re:Check for timeexpired and shutdown browser"
- Previous message: mromarkhan_at_rogers.com: "Re: Heirarchical Data - how to deal with this in Java/JSP"
- In reply to: David: "MS Word / Excel File Viewer API"
- Next in thread: Howard Kaikow: "Re: MS Word / Excel File Viewer API"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|