building RTF files in D3 
Author Message
 building RTF files in D3
I want to create a rtf file and then funnel text into it such that the text
is 8 points in size and the page in landscape mode. Can anyone clue me in on
how to do that?


Sun, 24 Mar 2002 03:00:00 GMT
 building RTF files in D3



Quote:
>I want to create a rtf file and then funnel text into it such that the text
>is 8 points in size and the page in landscape mode. Can anyone clue me in on
>how to do that?

Simple. First, get the rtf spec. Second, use Word to create an rtf
document like the one you want (rtf is an MS specification, so don't use
a different word processor :-( Third, read the raw rtf document and work
out what it's doing.

Of course, if you used a proper e-mail address, I could always email you
my prog that does something similar...
--
Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
Trousers with a single hole in their waistband are topologically equivalent
to a doughnut. These sugarcoated trousers have yet to catch on at fast-food
outlets! (SuperStrings by F. David Peat)



Mon, 25 Mar 2002 03:00:00 GMT
 building RTF files in D3

  What platform are you on? If you're using Unix of some sort, try
txt2rtf or any2ps then ps2rtf. There's quite a few of these freely
available. Check freshmeat.net for *2rtf and you should fine
some utilities to do this.

Quote:



> >I want to create a rtf file and then funnel text into it such that the text
> >is 8 points in size and the page in landscape mode. Can anyone clue me in on
> >how to do that?

> Simple. First, get the rtf spec. Second, use Word to create an rtf
> document like the one you want (rtf is an MS specification, so don't use
> a different word processor :-( Third, read the raw rtf document and work
> out what it's doing.

> Of course, if you used a proper e-mail address, I could always email you
> my prog that does something similar...
> --
> Anthony W. Youngman - wol at thewolery dot demon dot co dot uk
> Trousers with a single hole in their waistband are topologically equivalent
> to a doughnut. These sugarcoated trousers have yet to catch on at fast-food
> outlets! (SuperStrings by F. David Peat)



Tue, 26 Mar 2002 03:00:00 GMT
 building RTF files in D3

says...

Quote:
> I want to create a rtf file and then funnel text into it such that the text
> is 8 points in size and the page in landscape mode. Can anyone clue me in on
> how to do that?

I used a pretty {*filter*} mechanism to create .RTF files.
I used Tags in the document for every possible field.
For Tags I mean a descriptive name in every position on the document I
wanted to fill eg on line one InvoiceLineOne, InvoiceLineTwo etc.
I saved the document as .RTF & transferred across to the Motorola Unix
machine we ran Unidata on.
A C program inspected the .RTF file & found the positions & lengths of
all of the tags I created.
Using the positions I was able to OSBWRITE the data I wanted into the
.RTF.
So once a month we XMODEM the file accros (zipped), the girl on the PC
unzips the file to load the .RTF and Bobs your Uncle.
I sure like to complicate things.
I wouldnt want to touch that code now.

If I wanted to do similar today I'd probably go for HTML.

BTW I dont really keep to current on all the flavours of PICK.
What is D3?



Mon, 01 Apr 2002 03:00:00 GMT
 
 [ 4 post ] 

 Relevant Pages 

1. RTF blob to RTF on the fly conversion?

2. RTF Question: RTF Source

3. D3 NT How to get D3 to see files in the fsi

4. Building a usable response to a D3 item lock

5. SAVING external FILES like .rtf , .ppt etc to database

6. Serving pdf/rtf files from text fields

7. How to store / retrieve RTF files in SQL7

8. Possible to store RTF files in Database???

9. Text Indexing with rtf files

10. inserting RTF files from a SQL DB into HTML via ASP

11. How to display doc/xls/rtf and vsd files in a form

12. RTF reading text file


 
Powered by phpBB® Forum Software