MonobjcMonobjc Documented Class Library
NSAttributedString_AppKitAdditions Class
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditions

[Missing <summary> documentation for "T:Monobjc.AppKit.NSAttributedString_AppKitAdditions"]

Declaration Syntax
C#Visual BasicVisual C++
public static class NSAttributedString_AppKitAdditions
<ExtensionAttribute> _
Public NotInheritable Class NSAttributedString_AppKitAdditions
[ExtensionAttribute]
public ref class NSAttributedString_AppKitAdditions abstract sealed
Members
All MembersMethodsPropertiesFields



IconMemberDescription
AttributedStringWithAttachment(NSTextAttachment)

Creates an attributed string with an attachment.

Original signature is '+ (NSAttributedString *)attributedStringWithAttachment:(NSTextAttachment *)attachment'

Available in Mac OS X v10.0 and later.


BoundingRectWithSizeOptions(NSAttributedString, NSSize, NSStringDrawingOptions)

Calculates and returns bounding rectangle for the receiver drawn using the options specified, within the given rectangle in the current graphics context.

Original signature is '- (NSRect)boundingRectWithSize:(NSSize)size options:(NSStringDrawingOptions)options'

Available in Mac OS X v10.4 and later.


ContainsAttachments(NSAttributedString)

Returns YES if the receiver contains any attachment attributes, NO otherwise.

Original signature is '- (BOOL)containsAttachments'

Available in Mac OS X v10.0 and later.


DataFromRangeDocumentAttributesError(NSAttributedString, NSRange, NSDictionary, NSError%)

Returns an NSData object that contains a text stream corresponding to the characters and attributes within the given range.

Original signature is '- (NSData *)dataFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict error:(NSError **)error'

Available in Mac OS X v10.4 and later.


DocFormatFromRangeDocumentAttributes(NSAttributedString, NSRange, NSDictionary)

Returns an NSData object that contains a Microsoft Word–format stream corresponding to the characters and attributes within the specified range.

Original signature is '- (NSData *)docFormatFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict'

Available in Mac OS X v10.3 and later.


DoubleClickAtIndex(NSAttributedString, NSUInteger)

Returns the range of characters that form a word (or other linguistic unit) surrounding the given index, taking language characteristics into account.

Original signature is '- (NSRange)doubleClickAtIndex:(NSUInteger)index'

Available in Mac OS X v10.0 and later.


DrawAtPoint(NSAttributedString, NSPoint)

Draws the receiver with its font and other display attributes at the given point in the currently focused NSView.

Original signature is '- (void)drawAtPoint:(NSPoint)point'

Available in Mac OS X v10.0 and later.


DrawInRect(NSAttributedString, NSRect)

Draws the receiver with its font and other display attributes within the given rectangle in the currently focused NSView, clipping the text layout to this rectangle.

Original signature is '- (void)drawInRect:(NSRect)rect'

Available in Mac OS X v10.0 and later.


DrawWithRectOptions(NSAttributedString, NSRect, NSStringDrawingOptions)

Draws the receiver with the specified options, within the given rectangle in the current graphics context.

Original signature is '- (void)drawWithRect:(NSRect)rect options:(NSStringDrawingOptions)options'

Available in Mac OS X v10.4 and later.


FileWrapperFromRangeDocumentAttributesError(NSAttributedString, NSRange, NSDictionary, NSError%)

Returns an NSFileWrapper object that contains a text stream corresponding to the characters and attributes within the given range.

Original signature is '- (NSFileWrapper *)fileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict error:(NSError **)error'

Available in Mac OS X v10.4 and later.


FontAttributesInRange(NSAttributedString, NSRange)

Returns the font attributes in effect for the character at the given location.

Original signature is '- (NSDictionary *)fontAttributesInRange:(NSRange)aRange'

Available in Mac OS X v10.0 and later.


InitWithDataOptionsDocumentAttributesError(NSAttributedString, NSData, NSDictionary, NSDictionary%, NSError%)

Initializes and returns a new NSAttributedString object from the data contained in the given NSData object.

Original signature is '- (id)initWithData:(NSData *)data options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict error:(NSError **)error'

Available in Mac OS X v10.4 and later.


InitWithDocFormatDocumentAttributes(NSAttributedString, NSData, NSDictionary%)

Initializes and returns a new NSAttributedString object from Microsoft Word format data contained in the given NSData object.

Original signature is '- (id)initWithDocFormat:(NSData *)data documentAttributes:(NSDictionary **)docAttributes'

Available in Mac OS X v10.3 and later.


InitWithHTMLBaseURLDocumentAttributes(NSAttributedString, NSData, NSURL, NSDictionary%)

Initializes and returns a new NSAttributedString object from the HTML contained in the given object and base URL.

Original signature is '- (id)initWithHTML:(NSData *)data baseURL:(NSURL *)aURL documentAttributes:(NSDictionary **)docAttributes'

Available in Mac OS X v10.0 and later.


InitWithHTMLDocumentAttributes(NSAttributedString, NSData, NSDictionary%)

Initializes and returns a new NSAttributedString object from HTML contained in the given data object.

Original signature is '- (id)initWithHTML:(NSData *)data documentAttributes:(NSDictionary **)docAttributes'

Available in Mac OS X v10.0 and later.


InitWithHTMLOptionsDocumentAttributes(NSAttributedString, NSData, NSDictionary, NSDictionary%)

Initializes and returns a new NSAttributedString object from HTML contained in the given data object.

Original signature is '- (id)initWithHTML:(NSData *)data options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict'

Available in Mac OS X v10.3 and later.


InitWithPathDocumentAttributes(NSAttributedString, NSString, NSDictionary%)

Initializes a new NSAttributedString object from RTF or RTFD data contained in the file at the given path.

Original signature is '- (id)initWithPath:(NSString *)path documentAttributes:(NSDictionary **)docAttributes'

Available in Mac OS X v10.0 and later.


InitWithRTFDDocumentAttributes(NSAttributedString, NSData, NSDictionary%)

Initializes a new NSAttributedString object by decoding the stream of RTFD commands and data contained in the given data object.

Original signature is '- (id)initWithRTFD:(NSData *)rtfdData documentAttributes:(NSDictionary **)docAttributes'

Available in Mac OS X v10.0 and later.


InitWithRTFDFileWrapperDocumentAttributes(NSAttributedString, NSFileWrapper, NSDictionary%)

Initializes a new NSAttributedString object from the given NSFileWrapper object containing an RTFD document.

Original signature is '- (id)initWithRTFDFileWrapper:(NSFileWrapper *)wrapper documentAttributes:(NSDictionary **)docAttributes'

Available in Mac OS X v10.0 and later.


InitWithRTFDocumentAttributes(NSAttributedString, NSData, NSDictionary%)

Initializes a new NSAttributedString object by decoding the stream of RTF commands and data contained in the given data object.

Original signature is '- (id)initWithRTF:(NSData *)rtfData documentAttributes:(NSDictionary **)docAttributes'

Available in Mac OS X v10.0 and later.


InitWithURLDocumentAttributes(NSAttributedString, NSURL, NSDictionary%)

Initializes a new NSAttributedString object from the data at the given URL.

Original signature is '- (id)initWithURL:(NSURL *)aURL documentAttributes:(NSDictionary **)docAttributes'

Available in Mac OS X v10.0 and later.


InitWithURLOptionsDocumentAttributesError(NSAttributedString, NSURL, NSDictionary, NSDictionary%, NSError%)

Initializes a new NSAttributedString object from the contents of the given URL.

Original signature is '- (id)initWithURL:(NSURL *)url options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict error:(NSError **)error'

Available in Mac OS X v10.4 and later.


ItemNumberInTextListAtIndex(NSAttributedString, NSTextList, NSUInteger)

Returns the range of the item at the given index within the given list.

Original signature is '- (NSInteger)itemNumberInTextList:(NSTextList *)list atIndex:(NSUInteger)location'

Available in Mac OS X v10.4 and later.


LineBreakBeforeIndexWithinRange(NSAttributedString, NSUInteger, NSRange)

Returns the index of the closest character before the given index, and within the given range, that can be placed on a new line when laying out text.

Original signature is '- (NSUInteger)lineBreakBeforeIndex:(NSUInteger)index withinRange:(NSRange)aRange'

Available in Mac OS X v10.0 and later.


LineBreakByHyphenatingBeforeIndexWithinRange(NSAttributedString, NSUInteger, NSRange)

Returns the index of the closest character before the given index, and within the given range, that can be placed on a new line by hyphenating.

Original signature is '- (NSUInteger)lineBreakByHyphenatingBeforeIndex:(NSUInteger)location withinRange:(NSRange)aRange'

Available in Mac OS X v10.3 and later.


NextWordFromIndexForward(NSAttributedString, NSUInteger, Boolean)

Returns the index of the first character of the word after or before the given index.

Original signature is '- (NSUInteger)nextWordFromIndex:(NSUInteger)index forward:(BOOL)flag'

Available in Mac OS X v10.0 and later.


NSAttachmentAttributeName

NSTextAttachment

Default nil, no attachment

Available in Mac OS X v10.0 and later.


NSAuthorDocumentAttribute

NSString containing author name.

Available in Mac OS X v10.4 and later.


NSBackgroundColorAttributeName

NSColor

Default nil, no background

Available in Mac OS X v10.0 and later.


NSBackgroundColorDocumentAttribute

NSColor, representing the document-wide page background color.

Mac OS X v10.3 and earlier string constant is @"BackgroundColor".

For applications linked on versions prior to Mac OS X v10.5, HTML import sets the NSBackgroundColorDocumentAttribute to [NSColor whiteColor] in cases in which the HTML does not specify a background color. For applications linked on Mac OS X v10.5 and later, no NSBackgroundColorDocumentAttribute is set in these cases.

Available in Mac OS X v10.4 and later.


NSBaselineOffsetAttributeName

NSNumber containing floating point value, as points offset from baseline

Default 0.0

Available in Mac OS X v10.0 and later.


NSBaseURLDocumentOption

For HTML documents; NSURL containing base URL. Previous string constant was @"BaseURL"

Available in Mac OS X v10.4 and later.


NSBottomMarginDocumentAttribute

NSNumber, containing a float, in points.

Mac OS X v10.3 and earlier string constant is @"BottomMargin".

Available in Mac OS X v10.4 and later.


NSCategoryDocumentAttribute

NSString containing the document’s category.

Available in Mac OS X v10.6 and later.


NSCharacterEncodingDocumentAttribute

NSNumber, containing an int specifying the NSStringEncoding for the file; for reading and writing plain text files and writing HTML; default for plain text is the default encoding; default for HTML is UTF-8.

Mac OS X v10.3 and earlier string constant is @"CharacterEncoding".

Available in Mac OS X v10.4 and later.


NSCharacterEncodingDocumentOption

For plain text documents; NSNumber containing the unsigned int NSStringEncoding to override any encoding specified in an HTML document. Previous string constant was @"CharacterEncoding".

Available in Mac OS X v10.4 and later.


NSCharacterShapeAttributeName

An integer value. The value is interpreted as Apple Type Services kCharacterShapeType selector + 1.

The default value is 0 (disable). 1 is kTraditionalCharactersSelector, and so on. Refer to <ATS/SFNTLayoutTypes.h> and Font Features in ATSUI Programming Guide for additional information.

Available in Mac OS X v10.0 and later.


NSCocoaVersionDocumentAttribute

NSNumber, containing a float. For RTF files only, stores the version of Cocoa with which the file was created. Absence of this value indicates RTF file not created by Cocoa or its predecessors.

Values less than 100 are pre–Mac OS X; 100 is Mac OS X v10.0 or v10.1; 102 is Mac OS X v10.2 and 10.3; values greater than 102 correspond to values of NSAppKitVersionNumber on Mac OS X v10.4 and later.

Mac OS X v10.3 and earlier string constant is @"CocoaRTFVersion".

Available in Mac OS X v10.4 and later.


NSCommentDocumentAttribute

NSString containing document comments.

Available in Mac OS X v10.4 and later.


NSCompanyDocumentAttribute

NSString containing company or organization name.

Available in Mac OS X v10.4 and later.


NSConvertedDocumentAttribute

NSNumber, containing an int. Indicates whether the file was converted by a filter service.

If missing or 0, the file was originally in the format specified by document type. If negative, the file was originally in the format specified by document type, but the conversion to NSAttributedString may have been lossy. If 1 or more, it was converted to this type by a filter service.

Mac OS X v10.3 and earlier string constant is @"Converted".

Available in Mac OS X v10.4 and later.


NSCopyrightDocumentAttribute

NSString containing document copyright info.

Available in Mac OS X v10.4 and later.


NSCreationTimeDocumentAttribute

NSDate containing the creation date of the document; note that this is not the file system creation date of the file, but of the document.

Available in Mac OS X v10.4 and later.


NSCursorAttributeName

NSCursor

Default as returned by the NSCursor method IBeamCursor

Available in Mac OS X v10.3 and later.


NSDefaultAttributesDocumentOption

For plain text documents; NSDictionary containing attributes to be applied to plain files. Previous string constant was @"DefaultAttributes".

Available in Mac OS X v10.4 and later.


NSDefaultTabIntervalDocumentAttribute

NSNumber containing a float. Represents the document-wide default tab stop interval.

Mac OS X v10.3 and earlier string constant is @"DefaultTabInterval".

Available in Mac OS X v10.4 and later.


NSDocFormatTextDocumentType

Microsoft Word document.

Available in Mac OS X v10.3 and later.


NSDocumentTypeDocumentAttribute

How the document was interpreted; one of the values in “Document Types.”

Mac OS X v10.3 and earlier string constant is @"DocumentType".

Available in Mac OS X v10.4 and later.


NSDocumentTypeDocumentOption

One of the document types described in “Document Types,” indicating a document type to be forced when loading the document. Previous string constant was @"DocumentType".

Available in Mac OS X v10.4 and later.


NSEditorDocumentAttribute

NSString containing name of person who last edited the document.

Available in Mac OS X v10.4 and later.


NSExcludedElementsDocumentAttribute

An NSArray object containing NSString objects, representing HTML elements not to be used in generated HTML.

Available in Mac OS X v10.4 and later.


NSExpansionAttributeName

NSNumber containing floating point value, as log of expansion factor to be applied to glyphs

Default 0.0, no expansion

Available in Mac OS X v10.3 and later.


NSFileTypeDocumentAttribute

NSString indicating which document type was used to interpret the document, specified as a UTI; for reading, this is available along with NSDocumentTypeDocumentAttribute, but for writing the two are mutually exclusive.

Available in Mac OS X v10.6 and later.


NSFileTypeDocumentOption

NSString indicating a document type to be forced when loading the document, specified as a UTI string; mutually exclusive with NSDocumentTypeDocumentOption.

Available in Mac OS X v10.6 and later.


NSFontAttributeName

NSFont

Default Helvetica 12-point

Available in Mac OS X v10.0 and later.


NSForegroundColorAttributeName

NSColor

Default blackColor

Available in Mac OS X v10.0 and later.


NSGlyphInfoAttributeName

The name of an NSGlyphInfo object.

NSLayoutManager assigns the glyph specified by this glyph info to the entire attribute range, provided that its contents match the specified base string, and that the specified glyph is available in the font specified by NSFontAttributeName.

Available in Mac OS X v10.2 and later.


NSHTMLTextDocumentType

Hypertext Markup Language (HTML) document.

Available in Mac OS X v10.0 and later.


NSHyphenationFactorDocumentAttribute

NSNumber, containing a float; 0 = off, 1 = full hyphenation.

Mac OS X v10.3 and earlier string constant is @"HyphenationFactor".

Available in Mac OS X v10.4 and later.


NSKernAttributeName

NSNumber containing floating point value, as points by which to modify default kerning

Default nil, use default kerning specified in font file; 0.0, kerning off; non-zero, points by which to modify default kerning

Available in Mac OS X v10.0 and later.


NSKeywordsDocumentAttribute

NSArray of NSString, containing keywords.

Available in Mac OS X v10.4 and later.


NSLeftMarginDocumentAttribute

NSNumber, containing a float, in points.

Mac OS X v10.3 and earlier string constant is @"LeftMargin".

Available in Mac OS X v10.4 and later.


NSLigatureAttributeName

NSNumber containing integer

Default 1, standard ligatures; 0, no ligatures; 2, all ligatures

Available in Mac OS X v10.0 and later.


NSLinkAttributeName

NSURL (preferred) or NSString

Default nil, no link

Available in Mac OS X v10.0 and later.


NSMacSimpleTextDocumentType

Macintosh SimpleText document.

Available in Mac OS X v10.0 and later.


NSManagerDocumentAttribute

NSString containing the name of the author's manager.

Available in Mac OS X v10.6 and later.


NSMarkedClauseSegmentAttributeName

NSNumber containing an integer, as an index in marked text indicating clause segments

Available in Mac OS X v10.5 and later.


NSModificationTimeDocumentAttribute

NSDate containing the modification date of the document contents.

Available in Mac OS X v10.4 and later.


NSObliquenessAttributeName

NSNumber containing floating point value, as skew to be applied to glyphs

Default 0.0, no skew

Available in Mac OS X v10.3 and later.


NSOfficeOpenXMLTextDocumentType

ECMA Office Open XML text document format.

Available in Mac OS X v10.5 and later.


NSOpenDocumentTextDocumentType

OASIS Open Document text document format.

Available in Mac OS X v10.5 and later.


NSPaperSizeDocumentAttribute

NSValue, containing NSSize.

Mac OS X v10.3 and earlier string constant is @"PaperSize".

Available in Mac OS X v10.4 and later.


NSParagraphStyleAttributeName

NSParagraphStyle

Default as returned by the NSParagraphStyle method defaultParagraphStyle

Available in Mac OS X v10.0 and later.


NSPlainTextDocumentType

Plain text document.

Available in Mac OS X v10.0 and later.


NSPrefixSpacesDocumentAttribute

An NSNumber containing an integer (default 0) representing the number of spaces per level by which to indent certain nested HTML elements.

Available in Mac OS X v10.4 and later.


NSReadOnlyDocumentAttribute

NSNumber, containing int. If missing or 0 or negative, not read only; 1 or more, read only.

Note that this has nothing to do with the file system protection on the file, but instead can affect how the file should be displayed to the user.

Mac OS X v10.3 and earlier string constant is @"ReadOnly".

Available in Mac OS X v10.4 and later.


NSRightMarginDocumentAttribute

NSNumber, containing a float, in points.

Mac OS X v10.3 and earlier string constant is @"RightMargin".

Available in Mac OS X v10.4 and later.


NSRTFDTextDocumentType

Rich text format with attachments document.

Available in Mac OS X v10.0 and later.


NSRTFTextDocumentType

Rich text format document.

Available in Mac OS X v10.0 and later.


NSShadowAttributeName

NSShadow

Default nil, no shadow

Available in Mac OS X v10.3 and later.


NSSpellingStateAttributeName

An integer value. Defaults to 0, indicating no grammar or spelling error. See “NSSpellingStateAttributeName Flags” for possible values.

This key is available in Mac OS X v10.2 and later, but its interpretation changed in Mac OS X v10.5. Previously, any non-zero value caused the spelling indicator to be displayed. For Mac OS X v10.5 and later, the (integer) value is treated as being composed of the spelling and grammar flags. See “NSSpellingStateAttributeName Flags” for possible values.

Available in Mac OS X v10.5 and later.


NSStrikethroughColorAttributeName

NSColor

Default nil, same as foreground color

Available in Mac OS X v10.3 and later.


NSStrikethroughStyleAttributeName

NSNumber containing integer

Default 0, no strikethrough. See “Underlining Patterns”, “Underlining Styles”, and “Underline Masks” for mask values.

Available in Mac OS X v10.3 and later.


NSStrokeColorAttributeName

NSColor

Default nil, same as foreground color

Available in Mac OS X v10.3 and later.


NSStrokeWidthAttributeName

NSNumber containing floating point value, as percent of font point size

Default 0, no stroke; positive, stroke alone; negative, stroke and fill (a typical value for outlined text would be 3.0)

Available in Mac OS X v10.3 and later.


NSSubjectDocumentAttribute

NSString containing subject of document.

Available in Mac OS X v10.4 and later.


NSSuperscriptAttributeName

NSNumber containing integer

Default 0

Available in Mac OS X v10.0 and later.


NSTextEncodingNameDocumentAttribute

An NSString object containing the name, IANA or otherwise, of a text encoding to be used; mutually exclusive with NSCharacterEncodingDocumentAttribute.

Available in Mac OS X v10.4 and later.


NSTextEncodingNameDocumentOption

NSString containing the name, IANA or otherwise, of a text encoding to override any encoding specified in an HTML document. Mutually exclusive with @"CharacterEncoding". Previous string constant was @"TextEncodingName".

Available in Mac OS X v10.4 and later.


NSTextSizeMultiplierDocumentOption

Specifies a scale factor for font sizes.. NSNumber containing float, default 1.0; for HTML only, corresponding to WebView's textSizeMultiplier.

There is no textual equivalent for Mac OS X v10.3.

Available in Mac OS X v10.4 and later.


NSTimeoutDocumentOption

NSNumber containing float. Time in seconds to wait for a document to finish loading. Previous string constant was @"Timeout".

Available in Mac OS X v10.4 and later.


NSTitleDocumentAttribute

NSString containing document title.

Available in Mac OS X v10.4 and later.


NSToolTipAttributeName

NSString

Default nil, no tooltip

Available in Mac OS X v10.3 and later.


NSTopMarginDocumentAttribute

NSNumber, containing a float, in points.

Mac OS X v10.3 and earlier string constant is @"TopMargin".

Available in Mac OS X v10.4 and later.


NSUnderlineByWordMask

Draw the underline only underneath words, not underneath whitespace.

Available in Mac OS X v10.0 and later.


NSUnderlineColorAttributeName

NSColor

Default nil, same as foreground color

Available in Mac OS X v10.3 and later.


NSUnderlineStyleAttributeName

NSNumber containing integer

Default 0, no underline. See “Underlining Patterns”, “Underlining Styles”, and “Underline Masks” for mask values.

Available in Mac OS X v10.0 and later.


NSViewModeDocumentAttribute

NSValue, containing an int; 0 = normal; 1 = page layout (use value of @"PaperSize").

Mac OS X v10.3 and earlier string constant is @"ViewMode".

Available in Mac OS X v10.4 and later.


NSViewSizeDocumentAttribute

NSValue, containing NSSize.

Mac OS X v10.3 and earlier string constant is @"ViewSize".

Available in Mac OS X v10.4 and later.


NSViewZoomDocumentAttribute

Mac OS X v10.3 and earlier string constant is @"ViewZoom".

NSValue, containing a float; 100 = 100% zoom.

Available in Mac OS X v10.4 and later.


NSWebArchiveTextDocumentType

Web Kit WebArchive document.

Available in Mac OS X v10.4 and later.


NSWebPreferencesDocumentOption

WebPreferences; for HTML only, specifies a WebPreferences object. If not present, a default set of preferences is used. Previous string constant was @"WebPreferences".

Available in Mac OS X v10.4 and later.


NSWebResourceLoadDelegateDocumentOption

NSObject; for HTML only, specifies an object to serve as the web resource loading delegate.

If not present, a default delegate is used that permits the loading of subsidiary resources but does not respond to authentication challenges. Previous string constant was @"WebResourceLoadDelegate".

Available in Mac OS X v10.4 and later.


NSWordMLTextDocumentType

Microsoft Word XML (WordML schema) document.

Available in Mac OS X v10.3 and later.


NSWritingDirectionAttributeName

An NSArray of NSNumbers.

This provides a means to override the default bidi algorithm, equivalent to the use of bidi control characters LRE, RLE, LRO, or RLO paired with PDF, as a higher-level attribute. This is the NSAttributedString equivalent of HTML's dir attribute and/or BDO element. The array represents nested embeddings or overrides, in order from outermost to innermost. The values of the NSNumbers should be 0, 1, 2, or 3, for LRE, RLE, LRO, or RLO respectively; these should be regarded as NSWritingDirectionLeftToRight or NSWritingDirectionRightToLeft plus NSTextWritingDirectionEmbedding or NSTextWritingDirectionOverride.

Available in Mac OS X v10.6 and later.


RangeOfTextBlockAtIndex(NSAttributedString, NSTextBlock, NSUInteger)

Returns the range of the individual text block that contains the given location.

Original signature is '- (NSRange)rangeOfTextBlock:(NSTextBlock *)block atIndex:(NSUInteger)location'

Available in Mac OS X v10.4 and later.


RangeOfTextListAtIndex(NSAttributedString, NSTextList, NSUInteger)

Returns the range of the given text list that contains the given location.

Original signature is '- (NSRange)rangeOfTextList:(NSTextList *)list atIndex:(NSUInteger)location'

Available in Mac OS X v10.4 and later.


RangeOfTextTableAtIndex(NSAttributedString, NSTextTable, NSUInteger)

Returns the range of the given text table that contains the given location

Original signature is '- (NSRange)rangeOfTextTable:(NSTextTable *)table atIndex:(NSUInteger)location'

Available in Mac OS X v10.4 and later.


RTFDFileWrapperFromRangeDocumentAttributes(NSAttributedString, NSRange, NSDictionary)

Returns an NSFileWrapper object that contains an RTFD document corresponding to the characters and attributes within the given range.

Original signature is '- (NSFileWrapper *)RTFDFileWrapperFromRange:(NSRange)aRange documentAttributes:(NSDictionary *)docAttributes'

Available in Mac OS X v10.0 and later.


RTFDFromRangeDocumentAttributes(NSAttributedString, NSRange, NSDictionary)

Returns an NSData object that contains an RTFD stream corresponding to the characters and attributes within aRange.

Original signature is '- (NSData *)RTFDFromRange:(NSRange)aRange documentAttributes:(NSDictionary *)docAttributes'

Available in Mac OS X v10.0 and later.


RTFFromRangeDocumentAttributes(NSAttributedString, NSRange, NSDictionary)

Returns an NSData object that contains an RTF stream corresponding to the characters and attributes within the given range, omitting all attachment attributes.

Original signature is '- (NSData *)RTFFromRange:(NSRange)aRange documentAttributes:(NSDictionary *)docAttributes'

Available in Mac OS X v10.0 and later.


RulerAttributesInRange(NSAttributedString, NSRange)

Returns the ruler (paragraph) attributes in effect for the characters within the given range.

Original signature is '- (NSDictionary *)rulerAttributesInRange:(NSRange)aRange'

Available in Mac OS X v10.0 and later.


Size(NSAttributedString)

Returns the bounding box of the marks that the receiver draws.

Original signature is '- (NSSize)size'

Available in Mac OS X v10.0 and later.


TextFileTypes Obsolete.

Returns an array of strings representing those file types that can be loaded as text. (Deprecated in Mac OS X v10.5. Use textTypes instead.)

Original signature is '+ (NSArray *)textFileTypes'

Available in Mac OS X v10.1 and later.


TextPasteboardTypes Obsolete.

Returns an array of pasteboard types that can be loaded as text. (Deprecated in Mac OS X v10.5. Use textTypes instead.)

Original signature is '+ (NSArray *)textPasteboardTypes'

Available in Mac OS X v10.1 and later.


TextTypes()()()()

Returns an array of UTI strings identifying the file types supported by the receiver, either directly or through a user-installed filter service.

Original signature is '+ (NSArray *)textTypes'

Available in Mac OS X v10.5 and later.


TextUnfilteredFileTypes Obsolete.

Returns an array of strings representing those file types that can be loaded as a text. (Deprecated in Mac OS X v10.5. Use textUnfilteredTypes instead.)

Original signature is '+ (NSArray *)textUnfilteredFileTypes'

Available in Mac OS X v10.1 and later.


TextUnfilteredPasteboardTypes Obsolete.

Returns an array of pasteboard types that can be loaded as text. (Deprecated in Mac OS X v10.5. Use textUnfilteredTypes instead.)

Original signature is '+ (NSArray *)textUnfilteredPasteboardTypes'

Available in Mac OS X v10.1 and later.


TextUnfilteredTypes()()()()

Returns an array of UTI strings identifying the file types supported directly by the receiver.

Original signature is '+ (NSArray *)textUnfilteredTypes'

Available in Mac OS X v10.5 and later.


URLAtIndexEffectiveRange(NSAttributedString, NSUInteger, NSRange%)

Returns a URL, either from a link attribute or from text at the given location that appears to be a URL string, for use in automatic link detection.

Original signature is '- (NSURL *)URLAtIndex:(NSUInteger)location effectiveRange:(NSRangePointer)effectiveRange'

Available in Mac OS X v10.5 and later.


Inheritance Hierarchy
Object
NSAttributedString_AppKitAdditions
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)