The plugin part NSAttributedString
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
The plugin part MBS MacBase Plugin:NSAttributedString:
Partly Console safe,
321 entry points.
- class NSAttributedStringMBS
- method rangeOfTextBlock(textBlock as NSTextBlockMBS, location as Integer) as NSRangeMBS
- method rangeOfTextTable(textTable as NSTextTableMBS, location as Integer) as NSRangeMBS
- method Constructor
- method Convert_Operator as string
- method paragraphRangeForRange(range as NSRangeMBS) as NSRangeMBS
- method lineRangeForRange(range as NSRangeMBS) as NSRangeMBS
- method itemNumberInTextList(list as NSTextListMBS, location as Integer) as Integer
- method rangeOfTextList(list as NSTextListMBS, location as Integer) as NSRangeMBS
- method fileWrapperFromRange(offset as integer, length as integer, documentAttributes as dictionary = nil, byref Error as NSErrorMBS) as NSFileWrapperMBS
- method GeneratePDF(PrintOptions as variant = nil) as MemoryBlock
- method AsCFAttributedString as Variant
- method CopyToClipboard as Boolean
- method attributeAtIndex(name as string, location as UInt64) as variant
- method attributeAtIndex(name as string, location as UInt64, inRange as NSRangeMBS) as variant
- method attributeAtIndex2(name as string, location as UInt64, byref effectiveRange as NSRangeMBS) as variant
- method attributeAtIndex2(name as string, location as UInt64, byref longestEffectiveRange as NSRangeMBS, inRange as NSRangeMBS) as variant
- method attributedSubstringFromRange(range as NSRangeMBS) as NSAttributedStringMBS
- method attributesAtIndex2(location as UInt64, byref range as NSRangeMBS, inRange as NSRangeMBS) as dictionary
- method attributesAtIndex2(location as UInt64, byref range as NSRangeMBS) as dictionary
- method attributesAtIndex(location as UInt64, inRange as NSRangeMBS) as dictionary
- method attributesAtIndex(location as UInt64) as dictionary
- method copy as NSAttributedStringMBS
- method mutableCopy as NSMutableAttributedStringMBS
- method isEqualToAttributedString(other as NSAttributedStringMBS) as Boolean
- method rtf as memoryblock
- method htmlString as string
- method initWithString(text as string) as boolean
- method initWithString(text as string, withAttributes as Dictionary) as boolean
- method initWithAttributedString(text as NSAttributedStringMBS) as boolean
- method initWithURL(file as folderitem) as boolean
- method initWithURL(url as string) as boolean
- method initWithPath(file as folderitem) as boolean
- method initWithPath(path as string) as boolean
- method initWithRTF(data as memoryblock) as boolean
- method initWithRTFD(data as memoryblock) as boolean
- method initWithHTML(data as memoryblock) as boolean
- method initWithHTML(data as memoryblock, BaseURL as string) as boolean
- method initWithHTMLOld(data as string) as boolean
- method initWithDocFormat(data as memoryblock) as boolean
- method dataFromRange(offset as integer, length as integer, documentAttributes as dictionary = nil, byref error as NSErrorMBS) as memoryblock
- method RTFDFileWrapperFromRange(offset as integer, length as integer, documentAttributes as dictionary = nil) as NSFileWrapperMBS
- method RTFFromRange(offset as integer, length as integer, documentAttributes as dictionary = nil) as memoryblock
- method RTFDFromRange(offset as integer, length as integer, documentAttributes as dictionary = nil) as memoryblock
- method docFormatFromRange(offset as integer, length as integer, documentAttributes as dictionary = nil) as memoryblock
- method RTFFromRange(documentAttributes as dictionary = nil) as memoryblock
- method RTFDFromRange(documentAttributes as dictionary = nil) as memoryblock
- method docFormatFromRange(documentAttributes as dictionary = nil) as memoryblock
- method initWithURL(file as folderitem, byref documentAttributes as dictionary) as boolean
- method initWithURL(url as string, byref documentAttributes as dictionary) as boolean
- method initWithPath(file as folderitem, byref documentAttributes as dictionary) as boolean
- method initWithPath(path as string, byref documentAttributes as dictionary) as boolean
- method initWithRTF(data as memoryblock, byref documentAttributes as dictionary) as boolean
- method initWithRTFD(data as memoryblock, byref documentAttributes as dictionary) as boolean
- method initWithHTML(data as memoryblock, byref documentAttributes as dictionary) as boolean
- method initWithHTML(data as memoryblock, BaseURL as string, byref documentAttributes as dictionary) as boolean
- method initWithHTML(data as memoryblock, options as Dictionary, byref documentAttributes as dictionary) as boolean
- method initWithDocFormat(data as memoryblock, byref documentAttributes as dictionary) as boolean
- property Handle as Integer
- property Length as Integer
- property Range as NSRangeMBS
- property Text as String
- property containsAttachments as Boolean
- shared method attributedStringWithAttachment(attachment as NSTextAttachmentMBS) as NSAttributedStringMBS
- shared method FromClipboard as NSAttributedStringMBS
- shared method attributedStringWithURL(file as folderitem, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithURL(url as string, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithPath(file as folderitem, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithPath(path as string, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithRTF(data as memoryblock, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithRTFD(data as memoryblock, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithHTML(data as memoryblock, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithHTML(data as memoryblock, BaseURL as string, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithDocFormat(data as memoryblock, byref DocumentAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithString(text as string) as NSAttributedStringMBS
- shared method attributedStringWithString(text as string, withAttributes as dictionary) as NSAttributedStringMBS
- shared method attributedStringWithAttributedString(text as NSAttributedStringMBS) as NSAttributedStringMBS
- shared method attributedStringWithURL(file as folderitem) as NSAttributedStringMBS
- shared method attributedStringWithURL(url as string) as NSAttributedStringMBS
- shared method attributedStringWithPath(file as folderitem) as NSAttributedStringMBS
- shared method attributedStringWithPath(path as string) as NSAttributedStringMBS
- shared method attributedStringWithRTF(data as memoryblock) as NSAttributedStringMBS
- shared method attributedStringWithRTFD(data as memoryblock) as NSAttributedStringMBS
- shared method attributedStringWithHTML(data as memoryblock) as NSAttributedStringMBS
- shared method attributedStringWithHTML(data as memoryblock, BaseURL as string) as NSAttributedStringMBS
- shared method attributedStringWithHTMLOld(data as string) as NSAttributedStringMBS
- shared method attributedStringWithDocFormat(data as memoryblock) as NSAttributedStringMBS
- shared method NSTextEffectAttributeName as string
- shared method NSTextAlternativesAttributeName as string
- shared method NSTextEffectLetterpressStyle as string
- shared method NSDefaultAttributesDocumentAttribute as string
- shared method NSFontAttributeName as string
- shared method NSParagraphStyleAttributeName as string
- shared method NSForegroundColorAttributeName as string
- shared method NSUnderlineStyleAttributeName as string
- shared method NSSuperscriptAttributeName as string
- shared method NSBackgroundColorAttributeName as string
- shared method NSAttachmentAttributeName as string
- shared method NSLigatureAttributeName as string
- shared method NSBaselineOffsetAttributeName as string
- shared method NSKernAttributeName as string
- shared method NSLinkAttributeName as string
- shared method NSStrokeWidthAttributeName as string
- shared method NSStrokeColorAttributeName as string
- shared method NSUnderlineColorAttributeName as string
- shared method NSStrikethroughStyleAttributeName as string
- shared method NSStrikethroughColorAttributeName as string
- shared method NSShadowAttributeName as string
- shared method NSObliquenessAttributeName as string
- shared method NSExpansionAttributeName as string
- shared method NSCursorAttributeName as string
- shared method NSToolTipAttributeName as string
- shared method NSCharacterShapeAttributeName as string
- shared method NSGlyphInfoAttributeName as string
- shared method NSWritingDirectionAttributeName as string
- shared method NSMarkedClauseSegmentAttributeName as string
- shared method NSVerticalGlyphFormAttributeName as string
- shared method NSSpellingStateAttributeName as string
- shared method NSPlainTextDocumentType as string
- shared method NSRTFTextDocumentType as string
- shared method NSRTFDTextDocumentType as string
- shared method NSMacSimpleTextDocumentType as string
- shared method NSHTMLTextDocumentType as string
- shared method NSDocFormatTextDocumentType as string
- shared method NSWordMLTextDocumentType as string
- shared method NSWebArchiveTextDocumentType as string
- shared method NSOfficeOpenXMLTextDocumentType as string
- shared method NSOpenDocumentTextDocumentType as string
- shared method NSTextLayoutSectionOrientation as string
- shared method NSTextLayoutSectionRange as string
- shared method NSPaperSizeDocumentAttribute as string
- shared method NSLeftMarginDocumentAttribute as string
- shared method NSRightMarginDocumentAttribute as string
- shared method NSTopMarginDocumentAttribute as string
- shared method NSBottomMarginDocumentAttribute as string
- shared method NSViewSizeDocumentAttribute as string
- shared method NSViewZoomDocumentAttribute as string
- shared method NSViewModeDocumentAttribute as string
- shared method NSDocumentTypeDocumentAttribute as string
- shared method NSReadOnlyDocumentAttribute as string
- shared method NSConvertedDocumentAttribute as string
- shared method NSCocoaVersionDocumentAttribute as string
- shared method NSBackgroundColorDocumentAttribute as string
- shared method NSHyphenationFactorDocumentAttribute as string
- shared method NSDefaultTabIntervalDocumentAttribute as string
- shared method NSCharacterEncodingDocumentAttribute as string
- shared method NSFileTypeDocumentAttribute as string
- shared method NSTitleDocumentAttribute as string
- shared method NSCompanyDocumentAttribute as string
- shared method NSCopyrightDocumentAttribute as string
- shared method NSSubjectDocumentAttribute as string
- shared method NSAuthorDocumentAttribute as string
- shared method NSKeywordsDocumentAttribute as string
- shared method NSCommentDocumentAttribute as string
- shared method NSEditorDocumentAttribute as string
- shared method NSCreationTimeDocumentAttribute as string
- shared method NSModificationTimeDocumentAttribute as string
- shared method NSManagerDocumentAttribute as string
- shared method NSCategoryDocumentAttribute as string
- shared method NSTextLayoutSectionsAttribute as string
- shared method NSExcludedElementsDocumentAttribute as string
- shared method NSTextEncodingNameDocumentAttribute as string
- shared method NSPrefixSpacesDocumentAttribute as string
- shared method NSDocumentTypeDocumentOption as string
- shared method NSDefaultAttributesDocumentOption as string
- shared method NSCharacterEncodingDocumentOption as string
- shared method NSTextEncodingNameDocumentOption as string
- shared method NSBaseURLDocumentOption as string
- shared method NSTimeoutDocumentOption as string
- shared method NSWebPreferencesDocumentOption as string
- shared method NSWebResourceLoadDelegateDocumentOption as string
- shared method NSTextSizeMultiplierDocumentOption as string
- shared method NSFileTypeDocumentOption as string
- class NSFileWrapperMBS
- method writeToFile(File as FolderItem, Options as Integer = 0, originalContentsURL as FolderItem = nil, byref Error as NSErrorMBS) as Boolean
- method writeToURL(URL as String, Options as Integer = 0, originalContentsURL as String = "", byref Error as NSErrorMBS) as Boolean
- method readFromFile(File as FolderItem, Options as Integer = 0, byref Error as NSErrorMBS) as Boolean
- method readFromURL(URL as String, Options as Integer = 0, byref Error as NSErrorMBS) as Boolean
- method matchesContentsOfFile(File as FolderItem) as Boolean
- method matchesContentsOfURL(URL as String) as Boolean
- method addRegularFileWithContents(Data as MemoryBlock, preferredFilename as string) as String
- method addFileWrapper(child as NSFileWrapperMBS) as String
- method removeFileWrapper(child as NSFileWrapperMBS)
- method keyForFileWrapper(child as NSFileWrapperMBS) as String
- method Constructor
- property Handle as Integer
- property icon as NSImageMBS
- property Directory as Boolean
- property RegularFile as Boolean
- property SymbolicLink as Boolean
- property preferredFilename as String
- property filename as String
- property fileAttributes as Dictionary
- property serializedRepresentation as MemoryBlock
- property regularFileContents as MemoryBlock
- property symbolicLinkDestinationURL as String
- property fileWrappers as Dictionary
- shared method initDirectoryWithFileWrappers(childrenByPreferredName as Dictionary) as NSFileWrapperMBS
- shared method initWithFile(File as folderItem, Options as Integer, byref error as NSErrorMBS) as NSFileWrapperMBS
- shared method initWithURL(URL as string, Options as Integer, byref error as NSErrorMBS) as NSFileWrapperMBS
- shared method initRegularFileWithContents(data as MemoryBlock) as NSFileWrapperMBS
- shared method initWithSerializedRepresentation(data as MemoryBlock) as NSFileWrapperMBS
- class NSMutableAttributedStringMBS
- method Constructor
- method containsAttachmentsInRange(offset as integer, length as integer) as Boolean
- method rulerAttributesInRange(offset as integer, length as integer) as Dictionary
- method fontAttributesInRange(offset as integer, length as integer) as Dictionary
- method superscriptRange(offset as integer, length as integer)
- method subscriptRange(offset as integer, length as integer)
- method unscriptRange(offset as integer, length as integer)
- method applyFontTraits(FontTraitMask as Integer, offset as integer, length as integer)
- method setAlignment(alignment as Integer, offset as integer, length as integer)
- method setBaseWritingDirection(writingDirection as Integer, offset as integer, length as integer)
- method fixAttributesInRange(offset as integer, length as integer)
- method fixFontAttributeInRange(offset as integer, length as integer)
- method fixParagraphStyleAttributeInRange(offset as integer, length as integer)
- method fixAttachmentAttributeInRange(offset as integer, length as integer)
- method AsCFMutableAttributedString as Variant
- method updateAttachmentsFromPath(path as string)
- method updateAttachmentsFromPath(file as folderitem)
- method replaceCharactersInRange(range as NSRangeMBS, attrString as NSAttributedStringMBS)
- method addAttributes(attrs as Dictionary, range as NSRangeMBS)
- method addAttribute(name as string, value as variant, range as NSRangeMBS)
- method setAttributes(attrs as Dictionary, range as NSRangeMBS)
- method replaceCharactersInRange(range as NSRangeMBS, text as string)
- method deleteCharactersInRange(range as NSRangeMBS)
- method beginEditing
- method endEditing
- method removeAttribute(name as string, range as NSRangeMBS)
- method setAttributedString(attrString as NSAttributedStringMBS)
- method insertAttributedString(attrString as NSAttributedStringMBS, location as UInt64)
- method appendAttributedString(attrString as NSAttributedStringMBS)
- method setString(attrString as String)
- method insertString(attrString as String, location as UInt64)
- method appendString(attrString as String)
- method replaceCharacters(search as String, text as String, Options as Integer = 1)
- class NSShadowMBS
- class NSTextAttachmentMBS
- class NSTextBlockMBS
- method widthValueType(layer as Integer, edge as Integer) as Integer
- method width(layer as Integer, edge as Integer) as double
- method setWidth(value as double, ValueType as Integer, Layer as Integer)
- method setWidth(value as double, ValueType as Integer, Layer as Integer, edge as Integer)
- method borderColor(edge as Integer) as NSColorMBS
- method setBorderColor(color as NSColorMBS)
- method setBorderColor(color as NSColorMBS, edge as Integer)
- method copy as NSTextBlockMBS
- method Constructor
- method setContentWidth(value as double, ValueType as Integer)
- method setValue(value as double, ValueType as Integer, dimension as Integer)
- method valueForDimension(dimension as Integer) as Double
- method valueTypeForDimension(dimension as Integer) as Integer
- property Handle as Integer
- property contentWidth as Double
- property contentWidthValueType as Integer
- property verticalAlignment as Integer
- property backgroundColor as NSColorMBS
- class NSTextListMBS
- class NSTextTableBlockMBS
- class NSTextTableMBS
Blog Entries
Xojo Developer Magazine