Up

# NSAttributedStringAdditions

### Authors

Richard Frith-Macdonald (`richard@brainstorm.co.uk`)

> Categories which add capabilities to NSAttributedString

Copyright: (C) 1999 Free Software Foundation, Inc.

### Contents -

1. Software documentation for the NSAttributedString(AppKit) category
2. Software documentation for the NSMutableAttributedString(AppKit) category

# Software documentation for the NSAttributedString(AppKit) category

## NSAttributedString(AppKit)

> Declared in:
>   AppKit/NSAttributedString.h

Availability: MacOS-X 10.0.0
Description forthcoming.
Method summary

- +textFileTypes
- +textPasteboardTypes
- +textUnfilteredFileTypes
- +textUnfilteredPasteboardTypes
- -RTFDFileWrapperFromRange:documentAttributes:
- -RTFDFromRange:documentAttributes:
- -RTFFromRange:documentAttributes:
- -doubleClickAtIndex:
- -fontAttributesInRange:
- -initWithHTML:baseURL:documentAttributes:
- -initWithHTML:documentAttributes:
- -initWithPath:documentAttributes:
- -initWithRTF:documentAttributes:
- -initWithRTFD:documentAttributes:
- -initWithRTFDFileWrapper:documentAttributes:
- -initWithURL:documentAttributes:
- -lineBreakBeforeIndex:withinRange:
- -nextWordFromIndex:forward:
- -rulerAttributesInRange:

### textFileTypes

+ (NSArray*) textFileTypes;
Availability: MacOS-X 10.0.0
Description forthcoming.

### textPasteboardTypes

+ (NSArray*) textPasteboardTypes;
Availability: MacOS-X 10.0.0
Description forthcoming.

### textUnfilteredFileTypes

+ (NSArray*) textUnfilteredFileTypes;
Availability: MacOS-X 10.0.0
Description forthcoming.

### textUnfilteredPasteboardTypes

+ (NSArray*) textUnfilteredPasteboardTypes;
Availability: MacOS-X 10.0.0
Description forthcoming.

### RTFDFileWrapperFromRange: documentAttributes:

- (NSFileWrapper*) RTFDFileWrapperFromRange: (NSRange)range documentAttributes: (NSDictionary*)dict;
Availability: MacOS-X 10.0.0
Description forthcoming.

### RTFDFromRange: documentAttributes:

- (NSData*) RTFDFromRange: (NSRange)range documentAttributes: (NSDictionary*)dict;
Availability: MacOS-X 10.0.0
Description forthcoming.

### RTFFromRange: documentAttributes:

- (NSData*) RTFFromRange: (NSRange)range documentAttributes: (NSDictionary*)dict;
Availability: MacOS-X 10.0.0
Description forthcoming.

### doubleClickAtIndex:

- (NSRange) doubleClickAtIndex: (unsigned)location;
Availability: MacOS-X 10.0.0
Description forthcoming.

### fontAttributesInRange:

- (NSDictionary*) fontAttributesInRange: (NSRange)range;
Availability: MacOS-X 10.0.0
Description forthcoming.

### initWithHTML: baseURL: documentAttributes:

- (id) initWithHTML: (NSData*)data baseURL: (NSURL*)base documentAttributes: (NSDictionary**)dict;
Availability: MacOS-X 10.0.0
Description forthcoming.

### initWithHTML: documentAttributes:

- (id) initWithHTML: (NSData*)data documentAttributes: (NSDictionary**)dict;
Availability: MacOS-X 10.0.0
Description forthcoming.

### initWithPath: documentAttributes:

- (id) initWithPath: (NSString*)path documentAttributes: (NSDictionary**)dict;
Availability: MacOS-X 10.0.0
Description forthcoming.

### initWithRTF: documentAttributes:

- (id) initWithRTF: (NSData*)data documentAttributes: (NSDictionary**)dict;
Availability: MacOS-X 10.0.0
Description forthcoming.

### initWithRTFD: documentAttributes:

- (id) initWithRTFD: (NSData*)data documentAttributes: (NSDictionary**)dict;
Availability: MacOS-X 10.0.0
Description forthcoming.

### initWithRTFDFileWrapper: documentAttributes:

- (id) initWithRTFDFileWrapper: (NSFileWrapper*)wrapper documentAttributes: (NSDictionary**)dict;
Availability: MacOS-X 10.0.0
Description forthcoming.

### initWithURL: documentAttributes:

- (id) initWithURL: (NSURL*)url documentAttributes: (NSDictionary**)dict;
Availability: MacOS-X 10.0.0
Description forthcoming.

### lineBreakBeforeIndex: withinRange:

- (unsigned) lineBreakBeforeIndex: (unsigned)location withinRange: (NSRange)aRange;
Availability: MacOS-X 10.0.0
Description forthcoming.

### nextWordFromIndex: forward:

- (unsigned) nextWordFromIndex: (unsigned)location forward: (BOOL)isForward;
Availability: MacOS-X 10.0.0
Description forthcoming.

### rulerAttributesInRange:

- (NSDictionary*) rulerAttributesInRange: (NSRange)range;
Availability: MacOS-X 10.0.0
Description forthcoming.

# Software documentation for the NSMutableAttributedString(AppKit) category

## NSMutableAttributedString(AppKit)

> Declared in:
>   AppKit/NSAttributedString.h

Availability: MacOS-X 10.0.0
Description forthcoming.
Method summary

- -applyFontTraits:range:
- -fixAttachmentAttributeInRange:
- -fixAttributesInRange:
- -fixFontAttributeInRange:
- -fixParagraphStyleAttributeInRange:
- -readFromURL:options:documentAttributes:
- -setAlignment:range:
- -subscriptRange:
- -superscriptRange:
- -unscriptRange:

### applyFontTraits: range:

- (void) applyFontTraits: (NSFontTraitMask)traitMask range: (NSRange)range;
Availability: MacOS-X 10.0.0
Description forthcoming.

### fixAttachmentAttributeInRange:

- (void) fixAttachmentAttributeInRange: (NSRange)aRange;
Availability: MacOS-X 10.0.0
Description forthcoming.

### fixAttributesInRange:

- (void) fixAttributesInRange: (NSRange)range;
Availability: MacOS-X 10.0.0
Description forthcoming.

### fixFontAttributeInRange:

- (void) fixFontAttributeInRange: (NSRange)range;
Availability: MacOS-X 10.0.0
Description forthcoming.

### fixParagraphStyleAttributeInRange:

- (void) fixParagraphStyleAttributeInRange: (NSRange)range;
Availability: MacOS-X 10.0.0
Description forthcoming.

### readFromURL: options: documentAttributes:

- (BOOL) readFromURL: (NSURL*)url options: (NSDictionary*)options documentAttributes: (NSDictionary**)documentAttributes;
Availability: MacOS-X 10.0.0
Description forthcoming.

### setAlignment: range:

- (void) setAlignment: (NSTextAlignment)alignment range: (NSRange)range;
Availability: MacOS-X 10.0.0
Description forthcoming.

### subscriptRange:

- (void) subscriptRange: (NSRange)range;
Availability: MacOS-X 10.0.0
Description forthcoming.

### superscriptRange:

- (void) superscriptRange: (NSRange)range;
Availability: MacOS-X 10.0.0
Description forthcoming.

### unscriptRange:

- (void) unscriptRange: (NSRange)range;
Availability: MacOS-X 10.0.0
Description forthcoming.

Up