NSAttributedStringAdditions
Authors
- Richard Frith-Macdonald(
richard@brainstorm.co.uk
)
-
Categories which add capabilities to
NSAttributedString
Copyright: (C) 1999 Free Software Foundation, Inc.
Software documentation for the
NSAttributedString(AppKit) category
NSAttributedString(AppKit)
Declared: AppKit/NSAttributedString.h
attributedStringWithAttachment:
+ (NSAttributedString*) attributedStringWithAttachment: (NSTextAttachment*)attachment;
RTFDFileWrapperFromRange:documentAttributes:
- (NSFileWrapper*) RTFDFileWrapperFromRange: (NSRange)range documentAttributes: (NSDictionary*)dict;
RTFDFromRange:documentAttributes:
- (NSData*) RTFDFromRange: (NSRange)range documentAttributes: (NSDictionary*)dict;
RTFFromRange:documentAttributes:
- (NSData*) RTFFromRange: (NSRange)range documentAttributes: (NSDictionary*)dict;
containsAttachments
- (BOOL) containsAttachments;
doubleClickAtIndex:
- (NSRange) doubleClickAtIndex: (unsigned)location;
fontAttributesInRange:
- (NSDictionary*) fontAttributesInRange: (NSRange)range;
initWithHTML:baseURL:documentAttributes:
- (id) initWithHTML: (NSData*)data baseURL: (NSURL*)base documentAttributes: (NSDictionary**)dict;
initWithHTML:documentAttributes:
- (id) initWithHTML: (NSData*)data documentAttributes: (NSDictionary**)dict;
initWithPath:documentAttributes:
- (id) initWithPath: (NSString*)path documentAttributes: (NSDictionary**)dict;
initWithRTF:documentAttributes:
- (id) initWithRTF: (NSData*)data documentAttributes: (NSDictionary**)dict;
initWithRTFD:documentAttributes:
- (id) initWithRTFD: (NSData*)data documentAttributes: (NSDictionary**)dict;
initWithRTFDFileWrapper:documentAttributes:
- (id) initWithRTFDFileWrapper: (NSFileWrapper*)wrapper documentAttributes: (NSDictionary**)dict;
initWithURL:documentAttributes:
- (id) initWithURL: (NSURL*)url documentAttributes: (NSDictionary**)dict;
lineBreakBeforeIndex:withinRange:
- (unsigned) lineBreakBeforeIndex: (unsigned)location withinRange: (NSRange)aRange;
nextWordFromIndex:forward:
- (unsigned) nextWordFromIndex: (unsigned)location forward: (BOOL)isForward;
rulerAttributesInRange:
- (NSDictionary*) rulerAttributesInRange: (NSRange)range;
Software documentation for the
NSMutableAttributedString(AppKit)
category
NSMutableAttributedString(AppKit)
Declared: AppKit/NSAttributedString.h
applyFontTraits:range:
- (void) applyFontTraits: (NSFontTraitMask)traitMask range: (NSRange)range;
fixAttachmentAttributeInRange:
- (void) fixAttachmentAttributeInRange: (NSRange)aRange;
fixAttributesInRange:
- (void) fixAttributesInRange: (NSRange)range;
fixFontAttributeInRange:
- (void) fixFontAttributeInRange: (NSRange)range;
fixParagraphStyleAttributeInRange:
- (void) fixParagraphStyleAttributeInRange: (NSRange)range;
readFromURL:options:documentAttributes:
- (BOOL) readFromURL: (NSURL*)url options: (NSDictionary*)options documentAttributes: (NSDictionary**)documentAttributes;
setAlignment:range:
- (void) setAlignment: (NSTextAlignment)alignment range: (NSRange)range;
subscriptRange:
- (void) subscriptRange: (NSRange)range;
superscriptRange:
- (void) superscriptRange: (NSRange)range;
unscriptRange:
- (void) unscriptRange: (NSRange)range;
updateAttachmentsFromPath:
- (void) updateAttachmentsFromPath: (NSString*)path;