mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-23 12:09:51 +00:00
parent
ab0e1ff51f
commit
f6a226e5b3
@ -85,6 +85,26 @@ NSString *const NSWebResourceLoadDelegateDocumentOption = @"WebResourceLoadDeleg
|
||||
NSString *const NSTextSizeMultiplierDocumentOption = @"TextSizeMultiplier";
|
||||
NSString *const NSFileTypeDocumentOption = @"UTI";
|
||||
|
||||
NSString *const NSPlainTextDocumentType = @"NSPlainText";
|
||||
NSString *const NSRTFTextDocumentType = @"NSRTF";
|
||||
NSString *const NSRTFDTextDocumentType = @"NSRTFD";
|
||||
NSString *const NSHTMLTextDocumentType = @"NSHTML";
|
||||
NSString *const NSMacSimpleTextDocumentType = @"NSMacSimpleText";
|
||||
NSString *const NSDocFormatTextDocumentType = @"NSDocFormat";
|
||||
NSString *const NSWordMLTextDocumentType = @"NSWordML";
|
||||
NSString *const NSWebArchiveTextDocumentType = @"NSWebArchive";
|
||||
NSString *const NSOfficeOpenXMLTextDocumentType = @"NSOfficeOpenXML";
|
||||
NSString *const NSOpenDocumentTextDocumentType = @"NSOpenDocument";
|
||||
|
||||
NSString *const NSTextLayoutSectionOrientation = @"NSTextLayoutSectionOrientation";
|
||||
NSString *const NSTextLayoutSectionRange = @"NSTextLayoutSectionRange";
|
||||
|
||||
NSString *const NSCharacterShapeAttributeName = @"NSCharacterShape";
|
||||
NSString *const NSUsesScreenFontsDocumentAttribute = @"UsesScreenFonts";
|
||||
|
||||
NSUInteger NSUnderlineStrikethroughMask = 0x4000;
|
||||
NSUInteger NSUnderlineByWordMask = 0x8000;
|
||||
|
||||
@implementation NSAttributedString(NSAttributedString_AppKit)
|
||||
|
||||
#pragma mark -
|
||||
|
@ -82,6 +82,26 @@ APPKIT_EXPORT NSString *const NSWebResourceLoadDelegateDocumentOption;
|
||||
APPKIT_EXPORT NSString *const NSTextSizeMultiplierDocumentOption;
|
||||
APPKIT_EXPORT NSString *const NSFileTypeDocumentOption;
|
||||
|
||||
APPKIT_EXPORT NSString *const NSPlainTextDocumentType;
|
||||
APPKIT_EXPORT NSString *const NSRTFTextDocumentType;
|
||||
APPKIT_EXPORT NSString *const NSRTFDTextDocumentType;
|
||||
APPKIT_EXPORT NSString *const NSHTMLTextDocumentType;
|
||||
APPKIT_EXPORT NSString *const NSMacSimpleTextDocumentType;
|
||||
APPKIT_EXPORT NSString *const NSDocFormatTextDocumentType;
|
||||
APPKIT_EXPORT NSString *const NSWordMLTextDocumentType;
|
||||
APPKIT_EXPORT NSString *const NSWebArchiveTextDocumentType;
|
||||
APPKIT_EXPORT NSString *const NSOfficeOpenXMLTextDocumentType;
|
||||
APPKIT_EXPORT NSString *const NSOpenDocumentTextDocumentType;
|
||||
|
||||
APPKIT_EXPORT NSString *const NSTextLayoutSectionOrientation;
|
||||
APPKIT_EXPORT NSString *const NSTextLayoutSectionRange;
|
||||
|
||||
APPKIT_EXPORT NSString *const NSCharacterShapeAttributeName;
|
||||
APPKIT_EXPORT NSString *const NSUsesScreenFontsDocumentAttribute;
|
||||
|
||||
APPKIT_EXPORT NSUInteger NSUnderlineStrikethroughMask;
|
||||
APPKIT_EXPORT NSUInteger NSUnderlineByWordMask;
|
||||
|
||||
enum {
|
||||
NSSpellingStateSpellingFlag = 0x01,
|
||||
NSSpellingStateGrammarFlag = 0x02,
|
||||
|
Loading…
Reference in New Issue
Block a user