• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do I create a rtf file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I create a rtf file?


  • Subject: How do I create a rtf file?
  • From: Carl Anderson <email@hidden>
  • Date: Thu, 22 Apr 2004 19:09:42 -0400

I have examined the header codes from some rtf files and i think I
understand most of them.
For example in the following
"{\\rtf1\\mac\\ansicpg10000\\cocoartf102
{\\fonttbl\\f0\\fswiss\\fcharset77
Helvetica-Bold;\\f1\\fswiss\\fcharset77 Helvetica;}
{\\colortbl;\\red255\\green255\\blue255;\\red0\\green0\\blue221;\\red0\\
green99\\blue18;}
\\vieww9000\\viewh9000\\viewkind0
\\pard\\tx560\\tx1120\\tx1680\\tx2240\\tx2800\\tx3360\\tx3920\\tx4480\\t
x5040\\tx5600\\tx6160\\tx6720\\ql\\qnatural

\\f0\\b\\fs24 \\cf0 From:

line 1 says rich text format, on a mac, ?, version of cocoa rtf
line 2 is a list of the fonts used in the document
line 3 is a list of the colors used in the document
line 4 I don't know
line 5 I haven't a clue

line 6 font, ?, font size, color, the actual text

another set of header codes is
"{\\rtf1\\mac\\ansicpg10000\\cocoartf102
{\\fonttbl\\f0\\fswiss\\fcharset77 Helvetica;}
{\\colortbl;\\red255\\green255\\blue255;}
\\margl1440\\margr1440\\vieww9000\\viewh9000\\viewkind0
\\pard\\tx720\\tx1440\\tx2160\\tx2880\\tx3600\\tx4320\\tx5040\\tx5760\\t
x6480\\tx7200\\tx7920\\tx8640\\ql\\qnatural

\\f0\\fs24 \\cf0

this has a different line 4 which may set a limit on the display, but I
don't know.

Is there a source of good information for the Technical Specifications
for rtf files?
Sincerely;
Carl Anderson
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: How do I create a rtf file?
      • From: BJ Terry <email@hidden>
  • Prev by Date: Apple System Profiler and Mac OS X 10.2.x systems
  • Next by Date: Re: How do I create a rtf file?
  • Previous by thread: Re: Apple System Profiler and Mac OS X 10.2.x systems
  • Next by thread: Re: How do I create a rtf file?
  • Index(es):
    • Date
    • Thread