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: NSLinkAttributeName not kept when saved to RTFD?



See
http://developer.apple.com/samplecode/Sample_Code/Graphics_3D/ VertexPerformanceTest/AboutBox.m.htm

it seems RTF engine on MacOSX doesn't support HYPERLINK tags, a MS-Word doc saved in RTF with just one hyperlink and one line of text as content is not displayed correctly by TextEdit: the hyperlink is skipped from the decoding.

Pascal

Le mardi, 29 avr 2003, ` 20:40 Europe/Brussels, email@hidden a icrit :

I'm trying to add links using NSLinkAttributeName. This works fine, until I
try to save the content of my NSTextView using something like:

[text RTFDFromRange:NSMakeRange(0,textlength)]

The link attribute isn't kept. Other attributes such as the color is are
properly kept.

Can anyone help me to solve this issue?

Thanks,
Bruno Blondeau
_______________________________________________
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.



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.