Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RTF Parsing



On 11/24/03 10:16 PM, "Ali Ozer" <email@hidden> wrote:

>> MSDN is quite a help if you wish to write / read an RTF file.
>> search
>> "Rich Text Format (RTF) Specification, version 1.6 "
>> in the MSDN and it gives all the necessary and useful information on
>> the
>> specifications of RTF
>> All the tokens in an RTF file are pretty well explained.
>
> But note that if you're parsing the RTF generated by the likes of
> TextEdit (and other RTF writing apps on X), there are Apple-specific
> extensions which generic RTF parsers won't understand. These extra
> keywords will be ignored, but if you want to process them, you're
> better off using the RTF parser in MLTE or Cocoa. (Cocoa's is
> available through NSAttributedString class in the AppKit, with the
> likes of methods such as initWithPath:documentAttributes: or
> initWithRTF:documentAttributes:.)

Are Apple's extensions documented somewhere?

Dan
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: RTF Parsing (From: Ali Ozer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.