× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We have an RPG app that translates data from a set of database files into 
either HTML for use on the web or as a rtf file for print publication. Both 
output files are generated by building a qtemp file that is then FTPed to the 
necessary server.  In order to get the base document for .rft I used wordpad to 
setup the page layout (header/footer/margins/fonts/etc) and typed in a few 
sample paragraphs then looked at the file in notepad to see what was generated. 
I then copied that into an rpg compile time array and used it as the shell for 
the RPG generated documents. After I got it working I bought a book on rtf 
format so I understood what all the rtf command strings were doing. If I had to 
rewrite that app today I would save the sample rtf file in the IFS and use the 
cgidev2 procedures to do scan/replace of the variable data instead of the rpg 
array.

________________________________

From: midrange-l-bounces@xxxxxxxxxxxx on behalf of Darrell A Martin
Sent: Wed 2/14/2007 12:35 PM
To: Midrange Systems Technical Discussion
Subject: RE: Infoprint Designer, MS Word; a related question



Hi, Eric:

Thanks for the response. I would be very interested in an *.RTF option.

Darrell

Darrell A. Martin  -  630-754-2141
Manager, Computer Operations
dmartin@xxxxxxxxxxxxx

midrange-l-bounces@xxxxxxxxxxxx wrote on 02/14/2007 11:09:57 AM:

Well, I understand that part of the Jakarta POI project includes the
HWPF (Horrible Word Processing Format) but that this particular
project is standing still.  I think part of the problem is that MS
changes their documant formats with every release, so these open
source projects to reverse engineer the MS document flavors get
stale pretty quickly.

Can you use RTF documents instead of .doc?  Or, with the advent of
new "open" standards, could you use ODF (OASIS Open Document Format
for Office Applications) or OOXML (Office Open XML)?  RTF is
technically a proprietary format, but one that has been adopted
widely, while the other two are open standards, but may not be fully
supported in older Office products from MS.....

I suspect RTF would be the easiest and best supported approach.

Eric




This e-mail, including attachments, may contain information that is
confidential and/or proprietary, and may only be used by the person to
whom this email is addressed. If the recipient of this e-mail is not the
intended recipient or an authorized agent, the reader is hereby notified
that any dissemination, distribution, or copying of this e-mail is
prohibited. If this e-mail has been delivered to you in error, please
notify the sender by replying to this message and deleting this e-mail
immediately.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.