Saving Custom Attributes
Saving Custom Attributes
- Subject: Saving Custom Attributes
- From: <email@hidden>
- Date: Tue, 15 Apr 2003 01:19:16 +0200
- Thread-topic: Saving Custom Attributes
Hi!
What would be the way to save custom attributes from an attributed string in an rtf / rtfd file?
I found a couple of threads in the archives with people asking the same question, but none received an answer.
I'm extending TextEdit to support theme coding of texts. Therefore, I want to append custom attributes to the text which are displayed and marked when the theme is clicked in a tableview.
I've managed to get it working as desired, BUT the custom attributes are not saved to disk.
Using the NSForegroundColor attribute is not an option as multiple themes can apply to a single piece of text. What would it take to make the custom attributes be saved in RTF files, and even more important, where do I start?
Many thanks in advance for your help!!!
Regards, Alex
*********************************************************
** Alexander Griekspoor **
*********************************************************
The Netherlands Cancer Institute
Department of Tumorbiology (H4)
Plesmanlaan 121, 1066 CX, Amsterdam
Tel: + 31 20 - 512 2023
Fax: + 31 20 - 512 2029
E-mail: email@hidden
Web:
http://www.mekentosj.com
LabAssistant - Get your life organized!
http://www.mekentosj.com/labassistant
*********************************************************
_______________________________________________
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.