Objective-CclassNanoMailKitServer

@interface NNMKContentAttributedStringHTMLParser : NNMKHTMLParser

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 51

  1. method+ (id)_scaleAndPrepareImageForClient:(id)arg0 maxWidth:(double)arg1 screenScale:(double)arg2;
  2. method+ (CGSize)_scaledDownSize:(CGSize)arg0 maxWidth:(double)arg1;
  3. method+ (id)adjustedImage:(id)arg0 maxWidth:(double)arg1 screenScale:(double)arg2;
  4. method+ (id)attachmentAttributedStringWithContentId:(id)arg0 mergingAttributes:(id)arg1;
  5. method+ (id)imageAttachmentAttributedStringWithContentId:(id)arg0 imageSize:(CGSize)arg1 mergingAttributes:(id)arg2;
  6. method+ (id)trimAttributedString:(id)arg0;
  7. ivarNSDataDetector *_dataDetector;+0x1b8
  8. ivarNSMutableDictionary *_imageAtachmentsDataByContentId;+0x1b0
  9. ivarNSLock *_lock;+0x188
  10. ivardouble _maxImageWidth;+0x1a0
  11. ivarunsigned long long _maxLength;+0x198
  12. ivarNSMutableAttributedString *_parsedAttributedString;+0x190
  13. ivarBOOL *_partiallyParsed;+0x1a8
  14. method- (void).cxx_destruct;
  15. method- (void)_addDataDetectionAttributes:(id)arg0;
  16. method- (void)_appendComponentWithKey:(id)arg0 from:(id)arg1 to:(id)arg2;
  17. 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;
  18. method- (id)_parsePlainTextBody:(id)arg0 encoding:(unsigned long long)arg1;
  19. method- (BOOL)_validateURLsAndHTMLTagsInParsedString:(id)arg0 urlsFound:(id *)arg1;
  20. method- (void)appendImageWithSource:(id)arg0 width:(double)arg1 height:(double)arg2 stringAttributes:(id)arg3;
  21. method- (void)appendString:(id)arg0 stringAttributes:(id)arg1;
  22. method- (id)dataDetector;
  23. method- (id)imageAtachmentsDataByContentId;
  24. method- (BOOL)isElementBlocked:(id)arg0 attributeQueryBlock:(id /* block */)arg1;
  25. method- (BOOL)isElementIgnorable:(id)arg0;
  26. method- (BOOL)isErrorTypeBlocked:(char *)arg0;
  27. method- (BOOL)isWebLink:(id)arg0;
  28. method- (id)lock;
  29. method- (double)maxImageWidth;
  30. method- (unsigned long long)maxLength;
  31. 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;
  32. 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;
  33. method- (id)parseHTMLBody:(id)arg0 encoding:(unsigned long long)arg1 maxLength:(unsigned long long)arg2 maxImageWidth:(double)arg3 partiallyParsed:(BOOL *)arg4 urlsForValidation:(id)arg5;
  34. method- (id)parseHTMLBody:(id)arg0 encoding:(unsigned long long)arg1 maxLength:(unsigned long long)arg2 maxImageWidth:(double)arg3 partiallyParsed:(BOOL *)arg4 urlsFound:(id *)arg5;
  35. method- (id)parseTextBody:(id)arg0;
  36. method- (id)parsedAttributedString;
  37. method- (BOOL *)partiallyParsed;
  38. method- (void)setDataDetector:(id)arg0;
  39. method- (void)setImageAtachmentsDataByContentId:(id)arg0;
  40. method- (void)setLock:(id)arg0;
  41. method- (void)setMaxImageWidth:(double)arg0;
  42. method- (void)setMaxLength:(unsigned long long)arg0;
  43. method- (void)setParsedAttributedString:(id)arg0;
  44. method- (void)setPartiallyParsed:(BOOL *)arg0;
  45. property@property(retain, nonatomic) NSDataDetector *dataDetector;
  46. property@property(retain, nonatomic) NSMutableDictionary *imageAtachmentsDataByContentId;
  47. property@property(retain, nonatomic) NSLock *lock;
  48. property@property(nonatomic) double maxImageWidth;
  49. property@property(nonatomic) unsigned long long maxLength;
  50. property@property(retain, nonatomic) NSMutableAttributedString *parsedAttributedString;
  51. property@property(nonatomic) BOOL *partiallyParsed;
@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