• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Display Contents of File on Web Page  RSS feed

 
Ranch Hand
Posts: 1888
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I know the path or url of a rtf file how can I display the contents of that file on my web page?

Is there a java library that will convert rtf file to html?

Could OpenOffice be used to convert rtf to html?

Is there any HTML control that would allow me to write and or paste copied data into it then save as rtf?

I really need some help with this.
 
Author and ninkuma
Marshal
Posts: 66823
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that there may be some rich-edit widgets that use RTF. Whether they have a display-only mode or not is a good question.

Obviously the most straightforward approach would be to convert the RTF into something that easier to display, such as HTML. But that's clearly beyond the scoped of an HTML forum. I'd google for such server-side conversion libraries.
 
Steve Dyke
Ranch Hand
Posts: 1888
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bear Bibeault wrote:I believe that there may be some rich-edit widgets that use RTF. Whether they have a display-only mode or not is a good question.

Obviously the most straightforward approach would be to convert the RTF into something that easier to display, such as HTML. But that's clearly beyond the scoped of an HTML forum. I'd google for such server-side conversion libraries.



I have googled until my eyes are crossed but not found a solution. I really need somone with some expertise in this area to guid me in the right direction. Is there a forum here that could help with this?
 
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Steve Dyke wrote:I have googled until my eyes are crossed but not found a solution.



Sure your eyes weren't crossed to begin with? java convert rtf to html

Now, if none of those will work that's one thing, but don't say you didn't find anything at all.

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, here is a nice list of available free rich text editors for the web.

http://woork.blogspot.com/2009/02/best-rich-text-editors-ready-to-use-in.html
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66823
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm, coincidentally, this was just posted in the BA forum.
 
Steve Dyke
Ranch Hand
Posts: 1888
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Gregg Bolinger wrote:

Steve Dyke wrote:I have googled until my eyes are crossed but not found a solution.



Sure your eyes weren't crossed to begin with? java convert rtf to html

Now, if none of those will work that's one thing, but don't say you didn't find anything at all.



Maybe my statement was a little strong. What I ment was I did not find any I looked at that would render the graphics portion of a rtf. It only converted the text portion.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!