aspose file tools*
The moose likes Struts and the fly likes Create rtf document from a template Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Create rtf document from a template" Watch "Create rtf document from a template" New topic
Author

Create rtf document from a template

Sunil George
Greenhorn

Joined: Apr 04, 2006
Posts: 18
I want to create rtf document letters in a given template using java code. The template is uploaeded to web server in rtf,.doc, or .pdf format. I want create the letters to multiple recipients in .rtf format and seave it in a temp location in web server,and can be open in a browser.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
This doesn't seem to have anything to do with Struts, so somebody will move it to a more appropriate forum.

There are some significant obstacles in solving what you describe. PDF is just about impossible to change in this way. Word is hard to work with; have a look at the POI or OpenOffice APIs to do that. iText can generate RTF, but I'm not aware of a library that can read, change and write RTFs in general. The AccessingFileFormats wiki page has further links on the subject.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Create rtf document from a template
 
Similar Threads
Extract a word document and storing in db
How to convert a webpage to MS. word
How extract an rtf style data from a document
Create rtf document based on a template
Create rtf document based on a template