@class TSDCanvas, NSString, NSMutableSet, TSDLayout, TSUBezierPath, NSObject, TSWPLayoutManager, TSWPStorage, TSPObject, NSMutableArray; @protocol TSWPFootnoteHeightMeasurer, TSWPOffscreenColumn, TSWPLayoutParent, TSWPTopicNumberHints, TSWPFootnoteMarkProvider, TSDHint; @interface TSWPLayout : TSDLayout { TSWPLayoutManager *_layoutManager; BOOL _textLayoutValid; unsigned long long _lastLayoutMgrChangeCount; TSDLayout *_wpLayoutParent; NSMutableSet *_markedHiddenInlineDrawableLayouts; } @property (nonatomic) BOOL isLayingOutIntoTarget; @property (readonly, nonatomic) TSWPLayoutManager *layoutManager; @property (readonly, nonatomic) BOOL textLayoutValid; @property (readonly, nonatomic) TSUBezierPath *interiorClippingPath; @property (readonly, nonatomic) BOOL shouldWrapAroundExternalDrawables; @property (readonly, nonatomic) TSWPStorage *storage; @property (readonly, nonatomic) struct _NSRange { unsigned long long x0; unsigned long long x1; } containedTextRange; @property (readonly, nonatomic) BOOL isLinked; @property (readonly, nonatomic) BOOL isOverflowing; @property (nonatomic) BOOL useBlackTextColor; @property (readonly, nonatomic) BOOL textIsHidden; @property (readonly, nonatomic) struct _NSRange { unsigned long long x0; unsigned long long x1; } restrictedLayoutCharRange; @property (readonly, nonatomic) Class inlineTableOfContentsLayoutClass; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (readonly, nonatomic) NSMutableArray *columns; @property (readonly, nonatomic) id previousTargetLastColumn; @property (readonly, nonatomic) id nextTargetFirstColumn; @property (readonly, nonatomic) NSObject *nextTargetTopicNumberHints; @property (readonly, nonatomic) id footnoteHeightMeasurer; @property (readonly, nonatomic) id footnoteMarkProvider; @property (readonly, nonatomic) TSPObject *nextTargetFirstChildHint; @property (readonly, nonatomic) BOOL isInstructional; @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 long long autosizeFlags; @property (readonly, nonatomic) int verticalAlignment; @property (readonly, nonatomic) long long naturalAlignment; @property (readonly, nonatomic) int naturalDirection; @property (readonly, nonatomic) BOOL wantsLineFragments; @property (readonly, nonatomic) BOOL textIsVertical; @property (readonly, nonatomic) BOOL layoutIsValid; @property (readonly, nonatomic) double maxAnchorInBlockDirection; @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) BOOL shouldHyphenate; @property (readonly, nonatomic) struct __CFLocale { } *hyphenationLocale; @property (readonly, nonatomic) BOOL shouldIgnoreAnchoredAttachments; @property (readonly, nonatomic) BOOL repShouldPreventCaret; @property (readonly, nonatomic) BOOL marginsAreMirrored; @property (readonly, nonatomic) BOOL alwaysIncludesSpaceBefore; @property (readonly, nonatomic) BOOL alwaysIncludesSpaceAfter; @property (readonly, nonatomic) unsigned long long pageNumber; @property (readonly, nonatomic) unsigned long long pageCount; @property (readonly, nonatomic) BOOL supportsPageNumbers; - (void)validate; - (void)invalidate; - (void).cxx_destruct; - (id)initWithInfo:(id)a0; - (id)styleProvider; - (void)invalidateSize; - (BOOL)shouldValidate; - (void)parentDidChange; - (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; - (id)layoutForInlineDrawable:(id)a0; - (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)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; - (void)updateChildrenFromInfo; - (id)validatedLayoutForAnchoredDrawable:(id)a0; - (void)wrappableChildInvalidated:(id)a0; - (id)reliedOnLayouts; - (id)additionalDependenciesForChildLayout:(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)invalidateParentForAutosizing; - (void)layoutManager:(id)a0 didClearDirtyRangeWithDelta:(long long)a1 afterCharIndex:(unsigned long long)a2; - (void)layoutManagerNeedsLayout:(id)a0; - (struct CGSize { double x0; double x1; })maximumFrameSizeForChild:(id)a0; - (id)p_firstAncestorRespondingToSelector:(SEL)a0; - (void)p_invalidateTextLayout; - (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; - (void)parentWillChangeTo:(id)a0; - (id)textColorOverride; - (void)willBeAddedToLayoutController:(id)a0; - (void)willBeRemovedFromLayoutController:(id)a0; - (BOOL)descendersCannotClip; - (id)styleProviderForTextLayout:(id)a0; - (BOOL)wantsToProvideStylesForTextLayout:(id)a0; - (BOOL)selectionMustBeEntirelyOnscreenToCountAsVisibleInSelectionPath:(id)a0; - (void)markHiddenInlineDrawableLayout:(id)a0; - (BOOL)parentAutosizes; - (id)addPartitionableAttachmentLayout:(id)a0; - (void)beginResizeWrapInvalidationCluster; - (BOOL)childLayoutIsCurrentlyHiddenWhileManipulating:(id)a0; - (void)clearHiddenInlineDrawableLayoutMarks; - (id)containedPencilAnnotations; - (BOOL)containsStartOfPencilAnnotation:(id)a0; - (BOOL)containsStartOfRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)didLayoutChangingDirtyRanges; - (void)didLayoutIntoTarget; - (void)didLayoutWithLayoutManager:(id)a0; - (void)endResizeWrapInvalidationCluster; - (void)i_setTextLayoutValid:(BOOL)a0; - (void)i_validateTextLayout; - (id)initWithInfo:(id)a0 storage:(id)a1 frame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a2; - (id)interiorWrapSegments; - (void)invalidateForChangedPrintingSettings; - (void)invalidateForcingFullReLayOut; - (BOOL)needsAdditionalOffsetBasedOnPartitioningOfParent; - (struct CGPoint { double x0; double x1; })p_calculateReferencePointFromSelection:(id)a0; - (void)p_clearOutLayoutManager; - (struct CGSize { double x0; double x1; })p_maximumFrameSizeForChild:(id)a0; - (struct CGSize { double x0; double x1; })p_maximumFrameSizeForChild:(id)a0 foundInColumn:(id *)a1; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })p_rectForSelectionPath:(id)a0 useParagraphModeRects:(BOOL)a1; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })p_rectInRootForSelectionPath:(id)a0 useParagraphModeRects:(BOOL)a1 forZoom:(BOOL)a2; - (BOOL)p_shouldAssertDependenciesAreCorrect; - (id)p_styleProvidingAncestor; - (id)pageAnchorDetailsForPencilAnnotationAtSelectionPath:(id)a0 attachedType:(long long)a1; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })rectInRootForPresentingAnnotationPopoverForSelectionPath:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })rectInRootForSelectionPath:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })rectInRootForZoomingToSelectionPath:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })rectInRootOfAutoZoomContextOfSelectionPath:(id)a0; - (BOOL)shouldInvalidateSizeWhenInvalidateSizeOfReliedOnLayout:(id)a0; - (double)textScaleForChild:(id)a0; - (id)unscaledContentRectsToAvoidPencilAnnotationOverlap; - (double)viewScaleForZoomingToSelectionPath:(id)a0 targetPointSize:(double)a1; - (void)willLayoutIntoTarget; @end