Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RTF files
Message
From
27/04/1997 22:41:05
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00029705
Message ID:
00029866
Views:
22
>I'm using FoxPro to print Word RTF files. I need to chop off the header of the RTF file. Anyone know how to find the end of the header using low level file functions?
>

The real header of a RTF file can consist of

\rtf charset \deff fonttbl filetbl colortbl stylesheet revtbl

where all the parts except the \rtf charset can be optional.

If you look at typical RTF files other things appear to also be part of the header such as page size, margins, paragraph definitions etc, however, these are really part of the document section.


I suggest you download and print:
http://www.primate.wisc.edu/software/RTF/RTF-Spec-1.3.rtf

This seems to be a copy of the official Microsoft RTF file specification document which is probably available other places as well. It contains more than you ever wanted to know.

Good luck
__________________________________________________
Mesa Vista Software (david@mesa-vista.com)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform