• 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
Saving Custom Attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: NSString Drawing Accents
  • Next by Date: Re: NSString Drawing Accents
  • Previous by thread: Re: NSString Drawing Accents
  • Next by thread: Executing nextKeyView from NSDrawer to NSWindow
  • Index(es):
    • Date
    • Thread