• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: display pdf,rtf,word,postscript files in browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display pdf,rtf,word,postscript files in browser


  • Subject: Re: display pdf,rtf,word,postscript files in browser
  • From: "Anthony E. Glover" <email@hidden>
  • Date: Tue, 09 Sep 2003 12:42:19 -0500

For PDF, check out pdfbox at http://www.pdfbox.org/
For Word, check out antiword at http://www.winfield.demon.nl/

Tony

Jonathan Rochkind wrote:

Converting plain text to HTML is relatively easy. You just need to replace line breaks with the neccesary <BR> and <P> tags, escape any special HTML chars ('<', '>', and '&') and there you go, you've got your plain text converted to HTML.

Converting from rtf, word, or postscript to HTML is not at all easy. It's a complex task that you probably do not want to write a solution for yourself. Nothing is built into WO to do it for you. You'd want to look for a third-party solution, ideally written in Java, either free or commercial, to do that conversion. I'm not personally familiar with what solutions are out there and how good they are at what cost, but it might be useful to search the list archives (and for the email@hidden list). There have been past discussions on that, especially for PDF (although that isn't one of the ones you mentioned, although it's kind of like postscript).

But it's a somewhat complex problem, and not really related to WO. If you can find any solution at all that does it, you can integrate your solution with WO. A Java solution that works in 1.3.1 would be easiest, but anything is possible.

--Jonathan

At 09:51 AM 9/9/2003 -0700, Milly Strelzoff wrote:

Hi,
I am trying to develop a webobjects app where people
can upload rtf, word,postscript,text files to a
database repository and then look at them in a
browser, by converting to html since all the userbase
machines may not be configured to display some of
these in a broswer.
Is there any way that can be done.
thanks
Milly


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Hiding NSKeyValueCoding$Null
  • Next by Date: Re: WebObjects application without a browser?
  • Previous by thread: Re: display pdf,rtf,word,postscript files in browser
  • Next by thread: WebObjects *with* the browser - Mozilla 1.4 SOAP API and security changes
  • Index(es):
    • Date
    • Thread