Re: Add rtf line to RTF file
Re: Add rtf line to RTF file
- Subject: Re: Add rtf line to RTF file
- From: Marcel Weiher <email@hidden>
- Date: Tue, 22 Oct 2002 12:02:50 +0200
On Tuesday, October 22, 2002, at 09:59 Uhr, email@hidden
wrote:
1) Convert the RTF to an NSMutableAttributedString (with
initWithPath:/URL:/RTF:/RTFD:/RTFDFileWrapper:documentAttributes: or
readFromURL:options:documentAttributes:).
2) Append text to the NSMutableAttributedString.
3) Convert the NSMutableAttributedString back to RTF.
Douglas Davidson
The file in question is a log rtf file.
RTF files do not make good log files. Use ASCII instead and just
append.
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.