NSAttributedStringAdditions
テキストアタッチメント付きの属性付き文字列を返します +(NSAttributedString *)attributedStringWithAttachment:(NSTextAttachment *)attachment: 解説 テキストアタッチメント付きの属性付き文字列を返します 返り値 ( NSAttributedString * ) 属性付き文…
データから新しいNSAttributedStringオブジェクトを初期化して返します -(id)initWithData:(NSData *)data: options:(NSDictionary *)options: documentAttributes:(NSDictionary **)dict: error:(NSError **)error: 解説 データから新しいNSAttributedStrin…
-(unsigned int)lineBreakByHyphenatingBeforeIndex:(unsigned)location: withinRange:(NSRange )aRange : 解説 調査中... 返り値 ( unsigned int ) 整数値 引数 ( unsigned )location ( NSRange )aRange フレームワーク ApplicationKit クラス NSAttributed…
指定した範囲をWordフォーマットのデータにして返します -(NSData *)docFormatFromRange:(NSRange )range documentAttributes:: documentAttributes:(NSDictionary *)dict : 解説 指定した範囲をWordフォーマットのデータにして返します。 返り値 ( NSData *…
HTMLから属性付き文字列を作って返します -(id)initWithHTML:(NSData *)data: options:(NSDictionary *)options: documentAttributes:(NSDictionary **)dict: 解説 HTMLから属性付き文字列を作って返します。 【options】 @"UseWebKit" intのNSNumber @"Text…
Wordフォーマットから属性付き文字列を作って返します -(id)initWithDocFormat:(NSData *)data: documentAttributes:(NSDictionary **)docAttributes: 解説 Wordフォーマットから属性付き文字列を作って返します。 表組の部分は無視されます(10.3.2) 返り…
レシーバーが描くマークの制限用ボックスを返します 解説 レシーバーが描くマークの制限用ボックスを返します。 返り値 ( NSSize ) サイズ 引数 フレームワーク ApplicationKit クラス NSAttributedStringAdditions Instance Methods 使用可能 10.1 参照 例…
指定した範囲のルーラ属性を返します -(NSDictionary *)rulerAttributesInRange:(NSRange)range: 解説 指定した範囲のルーラ属性を返します。 返り値 ( NSDictionary * ) 辞書 引数 ( NSRange )range 範囲 フレームワーク ApplicationKit クラス NSAttribute…
範囲と文書属性辞書でRTFD書類を作ります -(NSFileWrapper *)RTFDFileWrapperFromRange:(NSRange)aRange: documentAttributes:(NSDictionary *)docAttributes: 解説 範囲と文書属性辞書でRTFD書類を作ります。 返り値 ( NSFileWrapper * ) ファイルラッパー …
RTFDのデータ(NSDataオブジェクト)を返します -(NSData *)RTFDFromRange:(NSRange)aRange: documentAttributes:(NSDictionary *)docAttributes: 解説 RTFDのデータ(NSDataオブジェクト)を返します。 返り値 ( NSData * ) RTFDデータ 引数 ( NSRange )aRange …
RTFのデータを返します -(NSData *)RTFFromRange:(NSRange)aRange: documentAttributes:(NSDictionary *)docAttributes: 解説 RTFのデータ(NSDataオブジェクト)を返します。 【docAttributes】 BottomMargin = 72; CocoaRTFVersion = 102; DefaultTabInterva…
最初の文字のインデックスを返します -(unsigned int)nextWordFromIndex:(unsigned)index: forward:(BOOL)flag: 解説 指定した文字の前の単語、または後の単語の最初の文字のインデックスを返します。 返り値 ( unsigned int ) 整数値 引数 ( unsigned )inde…
指定した範囲の指定した番号から行分割文字の位置を返します -(unsigned int)lineBreakBeforeIndex:(unsigned)index: withinRange:(NSRange)aRange: 解説 指定した範囲(aRange)の指定した番号(index)から行分割文字の位置を返します。 英語等では単語の切れ…
URLから属性付き文字列を初期化して返します -(id)initWithURL:(NSURL *)anURL: documentAttributes:(NSDictionary **)docAttributes: 解説 URLから属性付き文字列を初期化して返します 文書属性を辞書で返します。 データを読むことができなければnilを返し…
ファイルラッパーから属性付き辞書を初期化して返します -(id)initWithRTFDFileWrapper:(NSFileWrapper *)wrapper: documentAttributes:(NSDictionary **)docAttributes: 解説 ファイルラッパーから属性付き辞書を初期化して返します。 返り値 ( id ) 文字列…
RTFDデータから属性付き文字列を作って初期化して返します -(id)initWithRTFD:(NSData *)rtfdData: documentAttributes:(NSDictionary **)docAttributes: 解説 RTFDデータから属性付き文字列を作って初期化して返します。 文書属性を辞書で返します。 データ…
RTFデータから属性付き文字列を作って初期化して返します -(id)initWithRTF:(NSData *)rtfData: documentAttributes:(NSDictionary **)docAttributes: 解説 RTFデータから属性付き文字列を作って初期化して返します。 文書属性を辞書で返します。 データを読…
RTF,RTFDファイルから属性付き文字列を作って初期化して返します -(id)initWithPath:(NSString *)path: documentAttributes:(NSDictionary **)docuAttributes: 解説 RTF,RTFDファイルから属性付き文字列を作って初期化して返します。 文書属性を辞書で返しま…
HTMLデータから属性付き文字列を作って返します -(id)initWithHTML:(NSData *)data: baseURL:(NSURL *)anURL: documentAttributes:(NSDictionary **)docAttributes: 解説 HTMLデータから属性付き文字列を作って返します。 文書属性を辞書で返します。 データ…
HTMLデータから属性付き文字列を作って返します -(id)initWithHTML:(NSData *)data: documentAttributes:(NSDictionary **)docAttributes: 解説 HTMLデータから属性付き文字列を作って返します。 文書属性を辞書で返します。 データを読むことができなければ…
指定した範囲のフォント属性を返します -(NSDictionary *)fontAttributesInRange:(NSRange)range: 解説 指定した範囲のフォント属性を返します。 範囲を肥えればNSRangeExceptionを起こします。 返り値 ( NSDictionary * ) フォント属性辞書 引数 ( NSRange …
範囲内に属性付き文字を描画します -(void)drawInRect:(NSRect)rect: 解説 範囲内に属性付き文字を描画します 描画するViewをフォーカスしておきます。 返り値 ( void ) なし 引数 ( NSRect )rect 範囲 フレームワーク ApplicationKit クラス NSAttributedSt…
指定位置に属性付き文字を描画します -(void)drawAtPoint:(NSPoint)point: 解説 指定位置に属性付き文字を描画します 描画するViewをフォーカスしておきます。 返り値 ( void ) なし 引数 ( NSPoint )point 位置 フレームワーク ApplicationKit クラス NSAtt…
言語特性を考慮に入れて、語の範囲を返します -(NSRange)doubleClickAtIndex:(unsigned)index: 解説 言語特性を考慮に入れて、語の範囲を返します。 インデックスがレシーバーの文字数より多ければNSRangeExceptionを起こします。 日本語だったら、平仮名の…
レシーバーがアタッチメントを含むかを返します 解説 レシーバーがアタッチメントを含むかを返します。 含まななければNOを返します。 返り値 ( BOOL ) YES/NO 引数 フレームワーク ApplicationKit クラス NSAttributedStringAdditions Instance Methods 使…
ペーストボードタイプの配列を返します 解説 ペーストボードタイプの配列を返します。 返り値 ( NSArray * ) ペーストボードタイプの配列 引数 フレームワーク ApplicationKit クラス NSAttributedStringAdditions Class Methods 使用可能 10.1 参照 + textP…
ファイルタイプを表している文字列の配列を返します 解説 ファイルタイプを表している文字列の配列を返します。 返り値 ( NSArray * ) 拡張子の配列 引数 フレームワーク ApplicationKit クラス NSAttributedStringAdditions Class Methods 使用可能 10.1 参…
ペーストボードタイプの配列を返します 解説 ペーストボードタイプの配列を返します。 返り値 ( NSArray * ) ペースとボードタイプの配列 引数 フレームワーク ApplicationKit クラス NSAttributedStringAdditions Class Methods 使用可能 10.1 参照 例文 #i…
拡張子を表している文字列の配列を返します 解説 拡張子を表している文字列の配列を返します。 返り値 ( NSArray * ) 拡張子の配列 引数 フレームワーク ApplicationKit クラス NSAttributedStringAdditions Class Methods 使用可能 10.1 参照 + textUnfilte…