@class NSString, TSDBezierPath, TSWPLayoutManager, TSPObject, TSDCanvas, NSMutableArray, TSDLayout; @protocol TSWPFootnoteHeightMeasurer, TSWPOffscreenColumn, TSDHint, TSWPFootnoteMarkProvider; @interface TSWPLayout : TSDLayout <TSWPLayoutTarget, TSWPLayoutOwner> { TSWPLayoutManager *_layoutManager; BOOL _textLayoutValid; } @property (readonly, nonatomic) TSWPLayoutManager *layoutManager; @property (readonly, nonatomic) BOOL textLayoutValid; @property (readonly, nonatomic) TSDBezierPath *interiorClippingPath; @property (readonly, nonatomic) BOOL shouldWrapAroundExternalDrawables; @property (readonly, nonatomic) unsigned int lineCount; @property (readonly, retain, nonatomic) NSMutableArray *columns; @property (readonly, retain, nonatomic) id<TSWPOffscreenColumn> previousTargetLastColumn; @property (readonly, nonatomic) const void *previousTargetTopicNumbers; @property (readonly, retain, nonatomic) id<TSWPOffscreenColumn> nextTargetFirstColumn; @property (readonly, nonatomic) const void *nextTargetTopicNumbers; @property (readonly, nonatomic) id<TSWPFootnoteHeightMeasurer> footnoteHeightMeasurer; @property (readonly, nonatomic) id<TSWPFootnoteMarkProvider> footnoteMarkProvider; @property (readonly, nonatomic) TSPObject<TSDHint> *nextTargetFirstChildHint; @property (readonly, nonatomic) struct CGSize { double x0; double x1; } minSize; @property (readonly, nonatomic) struct CGSize { double x0; double x1; } maxSize; @property (readonly, nonatomic) struct CGSize { double x0; double x1; } currentSize; @property (readonly, nonatomic) struct CGPoint { double x0; double x1; } position; @property (readonly, nonatomic) struct CGPoint { double x0; double x1; } anchorPoint; @property (readonly, nonatomic) unsigned int autosizeFlags; @property (readonly, nonatomic) unsigned int verticalAlignment; @property (readonly, nonatomic) unsigned int naturalAlignment; @property (readonly, nonatomic) int naturalDirection; @property (readonly, nonatomic) BOOL wantsLineFragments; @property (readonly, nonatomic) unsigned long long pageNumber; @property (readonly, nonatomic) unsigned long long pageCount; @property (readonly, nonatomic) BOOL textIsVertical; @property (readonly, nonatomic) BOOL layoutIsValid; @property (readonly, nonatomic) double maxAnchorY; @property (readonly, nonatomic) struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } maskRect; @property (retain, nonatomic) NSMutableArray *anchoredDrawablesForRelayout; @property (readonly, nonatomic) TSDCanvas *canvas; @property (readonly, nonatomic) TSDLayout *parentLayoutForInlineAttachments; @property (readonly, nonatomic) BOOL shouldHyphenate; @property (readonly, nonatomic) struct __CFLocale { } *hyphenationLocale; @property (readonly, nonatomic) BOOL allowsLastLineTruncation; @property (readonly, nonatomic) double reservedWidthWhenTruncating; @property (readonly, nonatomic) unsigned int maxLineCount; @property (readonly, nonatomic) BOOL ignoresEquationAlignment; @property (readonly, nonatomic) BOOL allowsDescendersToClip; @property (readonly, nonatomic) BOOL pushAscendersIntoColumn; @property (readonly, nonatomic) BOOL alwaysAllowWordSplit; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; - (void)validate; - (void)dealloc; - (id)initWithInfo:(id)a0; - (id)styleProvider; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })rectForSelection:(id)a0; - (void)invalidateSize; - (void)parentDidChange; - (void)addAttachmentLayout:(id)a0; - (struct CGPoint { double x0; double x1; })capturedInfoPositionForAttachment; - (id)columnMetricsForCharIndex:(unsigned long long)a0 outRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a1; - (id)computeLayoutGeometry; - (id)currentAnchoredDrawableLayouts; - (id)currentInlineDrawableLayouts; - (BOOL)invalidateForPageCountChange; - (void)invalidateTextLayout; - (BOOL)isLastTarget; - (BOOL)isLayoutOffscreen; - (unsigned long long)iterativeAttachmentPositioningMaxPassCount; - (id)layoutForInlineDrawable:(id)a0; - (id)layoutGeometryFromInfo; - (id)p_wpLayoutParent; - (Class)repClassOverride; - (void)setNeedsDisplayInTargetRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (BOOL)shouldDisplayGuides; - (BOOL)shouldPositionAttachmentsIteratively; - (BOOL)shouldProvideSizingGuides; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })targetRectForCanvasRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (id)textWrapper; - (id)validatedLayoutForAnchoredDrawable:(id)a0; - (void)wrappableChildInvalidated:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })frameForCulling; - (id)reliedOnLayouts; - (double)baselineForCharIndex:(unsigned int)a0; - (struct CGPoint { double x0; double x1; })calculatePointFromSearchReference:(id)a0; - (BOOL)caresAboutStorageChanges; - (id)dependentLayouts; - (id)initWithInfo:(id)a0 frame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1; - (void *)initialLayoutState; - (void)invalidateForFootnoteNumberingChange; - (void)invalidateMaxAutoGrowWidth; - (void)invalidateParentForAutosizing; - (void)layoutManager:(id)a0 didClearDirtyRangeWithDelta:(long long)a1 afterCharIndex:(unsigned long long)a2; - (void)layoutManagerNeedsLayout:(id)a0; - (void)layoutSearchForAnnotationWithHitBlock:(id /* block */)a0; - (void)layoutSearchForString:(id)a0 options:(unsigned long long)a1 hitBlock:(id /* block */)a2; - (id)lineHintsForTarget:(id)a0; - (id)p_firstAncestorRespondingToSelector:(SEL)a0; - (void)p_invalidateTextLayout; - (BOOL)p_parentAutosizes; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })p_protectedRectWithinLayoutForSelectionRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })p_rectForSelection:(id)a0 useParagraphModeRects:(BOOL)a1; - (void)p_validateTextLayout; - (void)parentWillChangeTo:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })rectForPresentingAnnotationPopoverForSelection:(id)a0; - (id)textColorOverride; @end