luxlabs header browser preview


@class DOMDocument, NSData, NSURL, DOMRange, NSString, NSMutableDictionary, NSDictionary, WebView, NSMutableArray, NSMutableAttributedString, WebDataSource;

@interface NSHTMLReader : NSObject {
    NSMutableAttributedString *_attrStr;
    NSMutableDictionary *_documentAttrs;
    NSData *_data;
    NSURL *_baseURL;
    NSDictionary *_options;
    WebView *_webView;
    id _webDelegate;
    DOMDocument *_document;
    DOMRange *_domRange;
    NSMutableArray *_domStartAncestors;
    WebDataSource *_dataSource;
    NSString *_standardFontFamily;
    double _textSizeMultiplier;
    double _webViewTextSizeMultiplier;
    double _defaultTabInterval;
    double _defaultFontSize;
    double _minimumFontSize;
    NSMutableArray *_textLists;
    NSMutableArray *_textBlocks;
    NSMutableArray *_textTables;
    NSMutableDictionary *_textTableFooters;
    NSMutableArray *_textTableSpacings;
    NSMutableArray *_textTablePaddings;
    NSMutableArray *_textTableRows;
    NSMutableArray *_textTableRowArrays;
    NSMutableArray *_textTableRowBackgroundColors;
    NSMutableDictionary *_computedStylesForElements;
    NSMutableDictionary *_specifiedStylesForElements;
    NSMutableDictionary *_stringsForNodes;
    NSMutableDictionary *_floatsForNodes;
    NSMutableDictionary *_colorsForNodes;
    NSMutableDictionary *_attributesForElements;
    NSMutableDictionary *_elementIsBlockLevel;
    NSMutableDictionary *_fontCache;
    NSMutableArray *_writingDirectionArray;
    long long _domRangeStartIndex;
    long long _indexingLimit;
    long long _thumbnailLimit;
    long long _errorCode;
    long long _quoteLevel;
    struct { unsigned char isSoft : 1; unsigned char reachedStart : 1; unsigned char reachedEnd : 1; unsigned char isIndexing : 1; unsigned char isTesting : 1; unsigned char hasTrailingNewline : 1; unsigned int pad : 26; } _flags;
}

+ (void)initialize;
+ (id)defaultParagraphStyle;
+ (BOOL)_usesLibXML2ForOptions:(id)a0;
+ (BOOL)allowsAttributedStringAgentForOptions:(id)a0;

- (void)dealloc;
- (void)_load;
- (id)attributedString;
- (id)initWithData:(id)a0 options:(id)a1;
- (id)initWithDOMRange:(id)a0;
- (id)_webPreferences;
- (id)_computedColorForNode:(id)a0 property:(id)a1;
- (Class)_DOMHTMLTableCellElementClass;
- (BOOL)_addAttachmentForElement:(id)a0 URL:(id)a1 needsParagraph:(BOOL)a2 usePlaceholder:(BOOL)a3;
- (void)_addMarkersToList:(id)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1;
- (void)_addQuoteForElement:(id)a0 opening:(BOOL)a1 level:(long long)a2;
- (void)_addTableCellForElement:(id)a0;
- (void)_addTableForElement:(id)a0;
- (void)_addValue:(id)a0 forElement:(id)a1;
- (void)_adjustTrailingNewline;
- (id)_attributesForElement:(id)a0;
- (id)_blockLevelElementForNode:(id)a0;
- (id)_childrenForNode:(id)a0;
- (id)_colorForNode:(id)a0 property:(id)a1;
- (id)_computedAttributesForElement:(id)a0;
- (id)_computedStringForNode:(id)a0 property:(id)a1;
- (id)_computedStyleForElement:(id)a0;
- (id)_createWebArchiveForData:(id)a0;
- (BOOL)_elementHasOwnBackgroundColor:(id)a0;
- (BOOL)_elementIsBlockLevel:(id)a0;
- (BOOL)_enterElement:(id)a0 tag:(id)a1 display:(id)a2 depth:(long long)a3 embedded:(BOOL)a4;
- (void)_exitElement:(id)a0 tag:(id)a1 display:(id)a2 depth:(long long)a3 startIndex:(unsigned long long)a4;
- (void)_fillInBlock:(id)a0 forElement:(id)a1 backgroundColor:(id)a2 extraMargin:(double)a3 extraPadding:(double)a4 isTable:(BOOL)a5;
- (BOOL)_getComputedFloat:(double *)a0 forNode:(id)a1 property:(id)a2;
- (BOOL)_getFloat:(double *)a0 forNode:(id)a1 property:(id)a2;
- (void)_loadFromDOMRange;
- (void)_loadUsingWebKit;
- (void)_loadUsingWebKitOnMainThread;
- (void)_newLineForElement:(id)a0;
- (void)_newParagraphForElement:(id)a0 tag:(id)a1 allowEmpty:(BOOL)a2 suppressTrailingSpace:(BOOL)a3 isEntering:(BOOL)a4;
- (void)_newTabForElement:(id)a0;
- (void)_parseNode:(id)a0;
- (BOOL)_processElement:(id)a0 tag:(id)a1 display:(id)a2 depth:(long long)a3;
- (void)_processHeadElement:(id)a0;
- (void)_processMetaElementWithName:(id)a0 content:(id)a1;
- (void)_processText:(id)a0;
- (BOOL)_sanitizeWebArchiveArray:(id)a0;
- (BOOL)_sanitizeWebArchiveDictionary:(id)a0;
- (id)_specifiedStyleForElement:(id)a0;
- (id)_stringForNode:(id)a0 property:(id)a1;
- (void)_traverseFooterNode:(id)a0 depth:(long long)a1;
- (void)_traverseNode:(id)a0 depth:(long long)a1 embedded:(BOOL)a2;
- (Class)_webArchiveClass;
- (Class)_webViewClass;
- (id)documentAttributes;
- (id)initWithPath:(id)a0 options:(id)a1;
- (void)setMutableAttributedString:(id)a0;

@end