• 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
Re: RTFD binary format internals
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RTFD binary format internals


  • Subject: Re: RTFD binary format internals
  • From: Frank Midgley <email@hidden>
  • Date: Thu, 24 Feb 2005 16:53:17 -0600

On Feb 24, 2005, at 4:43PM, Dmitry wrote:

I need to develop a program on Windows platform that must be able to read and write(!) binary RTFD files, produced by NSTextView RTFDFromRange method.
I already have an RTF text parser with NeXTStep extensions support, but I don't know the actual RTFD format. It seems consists of a header with the names of "internal" files, sizes and offsets of these files in RTFD, some other unknown data and again filenames at the end of RTFD file.


Can somebody help me with docs about exact RTFD format description? I haven't find anything on developer.apple.com, in GNUStep sources and Google/Google Groups

RTFD just means RTF Directory. It's a directory with a standard RTF text file and each image from the document stored as a separate file. For each image that appears in the document there is a custom tag (or whatever the RTF nomenclature):


	{\NeXTGraphic image_name.image_extension \width640 \height640}

The RTFD extension is defined to be a package so the Finder displays it as a document rather than as a folder.

-Frank

------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >RTFD binary format internals (From: Dmitry <email@hidden>)

  • Prev by Date: Re: RTFD binary format internals
  • Next by Date: OCUnit, otest problems after Clean All
  • Previous by thread: Re: RTFD binary format internals
  • Next by thread: OCUnit, otest problems after Clean All
  • Index(es):
    • Date
    • Thread