Objective-CclassNanoMailKitServer
NNMKContentAttributedStringHTMLParser
@interface NNMKContentAttributedStringHTMLParser : NNMKHTMLParser
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNNMKHTMLParser
Members 51
- method
+ (id)_scaleAndPrepareImageForClient:(id)arg0 maxWidth:(double)arg1 screenScale:(double)arg2; - method
+ (CGSize)_scaledDownSize:(CGSize)arg0 maxWidth:(double)arg1; - method
+ (id)adjustedImage:(id)arg0 maxWidth:(double)arg1 screenScale:(double)arg2; - method
+ (id)attachmentAttributedStringWithContentId:(id)arg0 mergingAttributes:(id)arg1; - method
+ (id)imageAttachmentAttributedStringWithContentId:(id)arg0 imageSize:(CGSize)arg1 mergingAttributes:(id)arg2; - method
+ (id)trimAttributedString:(id)arg0; - ivar
NSDataDetector *_dataDetector;+0x1b8 - ivar
NSMutableDictionary *_imageAtachmentsDataByContentId;+0x1b0 - ivar
NSLock *_lock;+0x188 - ivar
double _maxImageWidth;+0x1a0 - ivar
unsigned long long _maxLength;+0x198 - ivar
NSMutableAttributedString *_parsedAttributedString;+0x190 - ivar
BOOL *_partiallyParsed;+0x1a8 - method
- (void).cxx_destruct; - method
- (void)_addDataDetectionAttributes:(id)arg0; - method
- (void)_appendComponentWithKey:(id)arg0 from:(id)arg1 to:(id)arg2; - method
- (id)_parseHTMLBody:(id)arg0 encoding:(unsigned long long)arg1 maxLength:(unsigned long long)arg2 maxImageWidth:(double)arg3 partiallyParsed:(BOOL *)arg4 imageAttachmentsLoaded:(id *)arg5 urlsForValidation:(id)arg6 urlsFound:(id *)arg7; - method
- (id)_parsePlainTextBody:(id)arg0 encoding:(unsigned long long)arg1; - method
- (BOOL)_validateURLsAndHTMLTagsInParsedString:(id)arg0 urlsFound:(id *)arg1; - method
- (void)appendImageWithSource:(id)arg0 width:(double)arg1 height:(double)arg2 stringAttributes:(id)arg3; - method
- (void)appendString:(id)arg0 stringAttributes:(id)arg1; - method
- (id)dataDetector; - method
- (id)imageAtachmentsDataByContentId; - method
- (BOOL)isElementBlocked:(id)arg0 attributeQueryBlock:(id /* block */)arg1; - method
- (BOOL)isElementIgnorable:(id)arg0; - method
- (BOOL)isErrorTypeBlocked:(char *)arg0; - method
- (BOOL)isWebLink:(id)arg0; - method
- (id)lock; - method
- (double)maxImageWidth; - method
- (unsigned long long)maxLength; - method
- (id)parseHTMLBody:(id)arg0 encoding:(unsigned long long)arg1 maxLength:(unsigned long long)arg2 maxImageWidth:(double)arg3 partiallyParsed:(BOOL *)arg4 imageAttachmentsLoaded:(id *)arg5 urlsForValidation:(id)arg6; - method
- (id)parseHTMLBody:(id)arg0 encoding:(unsigned long long)arg1 maxLength:(unsigned long long)arg2 maxImageWidth:(double)arg3 partiallyParsed:(BOOL *)arg4 imageAttachmentsLoaded:(id *)arg5 urlsFound:(id *)arg6; - method
- (id)parseHTMLBody:(id)arg0 encoding:(unsigned long long)arg1 maxLength:(unsigned long long)arg2 maxImageWidth:(double)arg3 partiallyParsed:(BOOL *)arg4 urlsForValidation:(id)arg5; - method
- (id)parseHTMLBody:(id)arg0 encoding:(unsigned long long)arg1 maxLength:(unsigned long long)arg2 maxImageWidth:(double)arg3 partiallyParsed:(BOOL *)arg4 urlsFound:(id *)arg5; - method
- (id)parseTextBody:(id)arg0; - method
- (id)parsedAttributedString; - method
- (BOOL *)partiallyParsed; - method
- (void)setDataDetector:(id)arg0; - method
- (void)setImageAtachmentsDataByContentId:(id)arg0; - method
- (void)setLock:(id)arg0; - method
- (void)setMaxImageWidth:(double)arg0; - method
- (void)setMaxLength:(unsigned long long)arg0; - method
- (void)setParsedAttributedString:(id)arg0; - method
- (void)setPartiallyParsed:(BOOL *)arg0; - property
@property(retain, nonatomic) NSDataDetector *dataDetector; - property
@property(retain, nonatomic) NSMutableDictionary *imageAtachmentsDataByContentId; - property
@property(retain, nonatomic) NSLock *lock; - property
@property(nonatomic) double maxImageWidth; - property
@property(nonatomic) unsigned long long maxLength; - property
@property(retain, nonatomic) NSMutableAttributedString *parsedAttributedString; - property
@property(nonatomic) BOOL *partiallyParsed;
Header
@interface NNMKContentAttributedStringHTMLParser : NNMKHTMLParser { NSLock *_lock; NSMutableAttributedString *_parsedAttributedString; unsigned long long _maxLength; double _maxImageWidth; BOOL *_partiallyParsed; NSMutableDictionary *_imageAtachmentsDataByContentId; NSDataDetector *_dataDetector; } @property (nonatomic, strong) NSLock *lock; @property (nonatomic, strong) NSMutableAttributedString *parsedAttributedString; @property (nonatomic) unsigned long long maxLength; @property (nonatomic) double maxImageWidth; @property (nonatomic) BOOL *partiallyParsed; @property (nonatomic, strong) NSMutableDictionary *imageAtachmentsDataByContentId; @property (nonatomic, strong) NSDataDetector *dataDetector; + (id)trimAttributedString:(id)trimAttributedString; + (id)_scaleAndPrepareImageForClient:(id)client maxWidth:(double)maxWidth screenScale:(double)screenScale; + (struct CGSize)_scaledDownSize:(struct CGSize)_scaledDownSize maxWidth:(double)maxWidth; + (id)adjustedImage:(id)adjustedImage maxWidth:(double)maxWidth screenScale:(double)screenScale; + (id)attachmentAttributedStringWithContentId:(id)contentId mergingAttributes:(id)mergingAttributes; + (id)imageAttachmentAttributedStringWithContentId:(id)contentId imageSize:(struct CGSize)imageSize mergingAttributes:(id)mergingAttributes; - (void)setLock:(id)lock; - (id)lock; - (void).cxx_destruct; - (unsigned long long)maxLength; - (void)setMaxLength:(unsigned long long)maxLength; - (id)dataDetector; - (id)parseHTMLBody:(id)parseHTMLBody encoding:(unsigned long long)encoding maxLength:(unsigned long long)maxLength maxImageWidth:(double)maxImageWidth partiallyParsed:(BOOL *)partiallyParsed imageAttachmentsLoaded:(id *)imageAttachmentsLoaded urlsFound:(id *)urlsFound; - (void)setDataDetector:(id)dataDetector; - (BOOL *)partiallyParsed; - (void)_addDataDetectionAttributes:(id)_addDataDetectionAttributes; - (void)_appendComponentWithKey:(id)key from:(id)from to:(id)to; - (id)_parseHTMLBody:(id)_parseHTMLBody encoding:(unsigned long long)encoding maxLength:(unsigned long long)maxLength maxImageWidth:(double)maxImageWidth partiallyParsed:(BOOL *)partiallyParsed imageAttachmentsLoaded:(id *)imageAttachmentsLoaded urlsForValidation:(id)validation urlsFound:(id *)urlsFound; - (id)_parsePlainTextBody:(id)_parsePlainTextBody encoding:(unsigned long long)encoding; - (BOOL)_validateURLsAndHTMLTagsInParsedString:(id)parsedString urlsFound:(id *)urlsFound; - (void)appendImageWithSource:(id)source width:(double)width height:(double)height stringAttributes:(id)stringAttributes; - (void)appendString:(id)appendString stringAttributes:(id)stringAttributes; - (id)imageAtachmentsDataByContentId; - (BOOL)isElementBlocked:(id)isElementBlocked attributeQueryBlock:(id /* block */)attributeQueryBlock; - (BOOL)isElementIgnorable:(id)isElementIgnorable; - (BOOL)isErrorTypeBlocked:(char *)isErrorTypeBlocked; - (BOOL)isWebLink:(id)isWebLink; - (double)maxImageWidth; - (id)parseHTMLBody:(id)parseHTMLBody encoding:(unsigned long long)encoding maxLength:(unsigned long long)maxLength maxImageWidth:(double)maxImageWidth partiallyParsed:(BOOL *)partiallyParsed imageAttachmentsLoaded:(id *)imageAttachmentsLoaded urlsForValidation:(id)validation; - (id)parseHTMLBody:(id)parseHTMLBody encoding:(unsigned long long)encoding maxLength:(unsigned long long)maxLength maxImageWidth:(double)maxImageWidth partiallyParsed:(BOOL *)partiallyParsed urlsForValidation:(id)validation; - (id)parseHTMLBody:(id)parseHTMLBody encoding:(unsigned long long)encoding maxLength:(unsigned long long)maxLength maxImageWidth:(double)maxImageWidth partiallyParsed:(BOOL *)partiallyParsed urlsFound:(id *)urlsFound; - (id)parseTextBody:(id)parseTextBody; - (id)parsedAttributedString; - (void)setImageAtachmentsDataByContentId:(id)contentId; - (void)setMaxImageWidth:(double)maxImageWidth; - (void)setParsedAttributedString:(id)parsedAttributedString; - (void)setPartiallyParsed:(BOOL *)partiallyParsed; @end