org.rococoa.cocoa.appkit.categories
Interface NSAttributedStringKitAdditions

All Superinterfaces:
NSObject, NSPasteboardWriting, ObjCObject

public interface NSAttributedStringKitAdditions
extends ObjCObject, NSPasteboardWriting

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static interface NSAttributedStringKitAdditions._static_
          from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:250
Conversion Error : /// Original signature : -(NSData*)docFormatFromRange:() documentAttributes:(NSDictionary*)
- (NSData*)docFormatFromRange:(null)range documentAttributes:(NSDictionary*)dict; (Argument range cannot be converted)
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.appkit.protocols.NSPasteboardWriting
NSPasteboardWriting._class_
 
Field Summary
 
Fields inherited from interface org.rococoa.cocoa.appkit.protocols.NSPasteboardWriting
_NSCLASS_
 
Method Summary
 boolean containsAttachments()
          Original signature : -(BOOL)containsAttachments
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:172
 NSObject doubleClickAtIndex(NSUInteger location)
          Original signature : -(id)doubleClickAtIndex:(NSUInteger)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:181
 NSAttributedString initWithData_options_documentAttributes_error(NSData data, NSDictionary options, PointerByReference dict, PointerByReference error)
          Original signature : -(id)initWithData:(NSData*) options:(NSDictionary*) documentAttributes:(NSDictionary**) error:(NSError**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:212
 NSAttributedString initWithDocFormat_documentAttributes(NSData data, PointerByReference dict)
          Original signature : -(id)initWithDocFormat:(NSData*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:227
 NSAttributedString initWithHTML_baseURL_documentAttributes(NSData data, NSURL base, PointerByReference dict)
          Original signature : -(id)initWithHTML:(NSData*) baseURL:(NSURL*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:225
 NSAttributedString initWithHTML_documentAttributes(NSData data, PointerByReference dict)
          Original signature : -(id)initWithHTML:(NSData*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:224
 NSAttributedString initWithHTML_options_documentAttributes(NSData data, NSDictionary options, PointerByReference dict)
          Original signature : -(id)initWithHTML:(NSData*) options:(NSDictionary*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:228
 NSAttributedString initWithPath_documentAttributes(NSString path, PointerByReference dict)
          These two superseded methods are similar to the first listed above except that they lack the options dictionary and error return arguments.
 NSAttributedString initWithRTF_documentAttributes(NSData data, PointerByReference dict)
          The following methods should now be considered as conveniences for various common document types.
 NSAttributedString initWithRTFD_documentAttributes(NSData data, PointerByReference dict)
          Original signature : -(id)initWithRTFD:(NSData*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:223
 NSAttributedString initWithRTFDFileWrapper_documentAttributes(NSFileWrapper wrapper, PointerByReference dict)
          A separate method is available for initializing from an RTFD file wrapper.
 NSAttributedString initWithURL_documentAttributes(NSURL url, PointerByReference dict)
          Original signature : -(id)initWithURL:(NSURL*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:218
 NSAttributedString initWithURL_options_documentAttributes_error(NSURL url, NSDictionary options, PointerByReference dict, PointerByReference error)
          These first two general methods supersede the previous versions shown below.
 NSInteger itemNumberInTextList_atIndex(NSTextList list, NSUInteger location)
          Original signature : -(NSInteger)itemNumberInTextList:(NSTextList*) atIndex:(NSUInteger)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:203
 NSUInteger nextWordFromIndex_forward(NSUInteger location, boolean isForward)
          Original signature : -(NSUInteger)nextWordFromIndex:(NSUInteger) forward:(BOOL)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:182
 NSObject rangeOfTextBlock_atIndex(NSTextBlock block, NSUInteger location)
          Convenience methods for calculating the range of an individual text block, range of an entire table, range of a list, and the index within a list.
 NSObject rangeOfTextList_atIndex(NSTextList list, NSUInteger location)
          Original signature : -(id)rangeOfTextList:(NSTextList*) atIndex:(NSUInteger)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:202
 NSObject rangeOfTextTable_atIndex(NSTextTable table, NSUInteger location)
          Original signature : -(id)rangeOfTextTable:(NSTextTable*) atIndex:(NSUInteger)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:201
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 
Methods inherited from interface org.rococoa.ObjCObject
id
 

Method Detail

containsAttachments

boolean containsAttachments()
Original signature : -(BOOL)containsAttachments
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:172


doubleClickAtIndex

NSObject doubleClickAtIndex(NSUInteger location)
Original signature : -(id)doubleClickAtIndex:(NSUInteger)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:181


nextWordFromIndex_forward

NSUInteger nextWordFromIndex_forward(NSUInteger location,
                                     boolean isForward)
Original signature : -(NSUInteger)nextWordFromIndex:(NSUInteger) forward:(BOOL)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:182


rangeOfTextBlock_atIndex

NSObject rangeOfTextBlock_atIndex(NSTextBlock block,
                                  NSUInteger location)
Convenience methods for calculating the range of an individual text block, range of an entire table, range of a list, and the index within a list.
Original signature : -(id)rangeOfTextBlock:(NSTextBlock*) atIndex:(NSUInteger)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:200


rangeOfTextTable_atIndex

NSObject rangeOfTextTable_atIndex(NSTextTable table,
                                  NSUInteger location)
Original signature : -(id)rangeOfTextTable:(NSTextTable*) atIndex:(NSUInteger)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:201


rangeOfTextList_atIndex

NSObject rangeOfTextList_atIndex(NSTextList list,
                                 NSUInteger location)
Original signature : -(id)rangeOfTextList:(NSTextList*) atIndex:(NSUInteger)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:202


itemNumberInTextList_atIndex

NSInteger itemNumberInTextList_atIndex(NSTextList list,
                                       NSUInteger location)
Original signature : -(NSInteger)itemNumberInTextList:(NSTextList*) atIndex:(NSUInteger)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:203


initWithURL_options_documentAttributes_error

NSAttributedString initWithURL_options_documentAttributes_error(NSURL url,
                                                                NSDictionary options,
                                                                PointerByReference dict,
                                                                PointerByReference error)
These first two general methods supersede the previous versions shown below. They take a dictionary of options to specify how the document should be loaded. The various possible options are specified above, as NS...DocumentOption. If NSDocumentTypeDocumentOption is specified, the document will be treated as being in the specified format. If NSDocumentTypeDocumentOption is not specified, these methods will examine the document and do their best to load it using whatever format it seems to contain.
Original signature : -(id)initWithURL:(NSURL*) options:(NSDictionary*) documentAttributes:(NSDictionary**) error:(NSError**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:211


initWithData_options_documentAttributes_error

NSAttributedString initWithData_options_documentAttributes_error(NSData data,
                                                                 NSDictionary options,
                                                                 PointerByReference dict,
                                                                 PointerByReference error)
Original signature : -(id)initWithData:(NSData*) options:(NSDictionary*) documentAttributes:(NSDictionary**) error:(NSError**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:212


initWithPath_documentAttributes

NSAttributedString initWithPath_documentAttributes(NSString path,
                                                   PointerByReference dict)
These two superseded methods are similar to the first listed above except that they lack the options dictionary and error return arguments. They will always attempt to determine the format from the document.
Original signature : -(id)initWithPath:(NSString*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:217


initWithURL_documentAttributes

NSAttributedString initWithURL_documentAttributes(NSURL url,
                                                  PointerByReference dict)
Original signature : -(id)initWithURL:(NSURL*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:218


initWithRTF_documentAttributes

NSAttributedString initWithRTF_documentAttributes(NSData data,
                                                  PointerByReference dict)
The following methods should now be considered as conveniences for various common document types.
Original signature : -(id)initWithRTF:(NSData*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:222


initWithRTFD_documentAttributes

NSAttributedString initWithRTFD_documentAttributes(NSData data,
                                                   PointerByReference dict)
Original signature : -(id)initWithRTFD:(NSData*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:223


initWithHTML_documentAttributes

NSAttributedString initWithHTML_documentAttributes(NSData data,
                                                   PointerByReference dict)
Original signature : -(id)initWithHTML:(NSData*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:224


initWithHTML_baseURL_documentAttributes

NSAttributedString initWithHTML_baseURL_documentAttributes(NSData data,
                                                           NSURL base,
                                                           PointerByReference dict)
Original signature : -(id)initWithHTML:(NSData*) baseURL:(NSURL*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:225


initWithDocFormat_documentAttributes

NSAttributedString initWithDocFormat_documentAttributes(NSData data,
                                                        PointerByReference dict)
Original signature : -(id)initWithDocFormat:(NSData*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:227


initWithHTML_options_documentAttributes

NSAttributedString initWithHTML_options_documentAttributes(NSData data,
                                                           NSDictionary options,
                                                           PointerByReference dict)
Original signature : -(id)initWithHTML:(NSData*) options:(NSDictionary*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:228


initWithRTFDFileWrapper_documentAttributes

NSAttributedString initWithRTFDFileWrapper_documentAttributes(NSFileWrapper wrapper,
                                                              PointerByReference dict)
A separate method is available for initializing from an RTFD file wrapper. No options apply in this case.
Original signature : -(id)initWithRTFDFileWrapper:(NSFileWrapper*) documentAttributes:(NSDictionary**)
from NSAttributedStringKitAdditions native declaration : NSAttributedString.h:233



Copyright © 2009. All Rights Reserved.