@class NSManagedObjectContext, ICTextAttachmentLocationCache, ICNAEventReporter, NSSet, NSMutableDictionary, NSDictionary, ICSelectorDelayer, ICSearchResultRegexMatchFinder; @protocol ICAttachmentViewDelegate; @interface ICLayoutManager : ICBaseLayoutManager <ICTrackedAttributeDelegate> @property (retain, nonatomic) NSMutableDictionary *todoButtonsByTrackingUUID; @property (nonatomic) struct CGPoint { double x; double y; } cachedOrigin; @property (retain, nonatomic) NSMutableDictionary *activeSupplementalViews; @property (retain, nonatomic) NSMutableDictionary *hiddenSupplementalViews; @property (retain, nonatomic) NSMutableDictionary *supplementalViewControllers; @property (retain, nonatomic) ICTextAttachmentLocationCache *inlineAttachmentLocationCache; @property (retain, nonatomic) NSMutableDictionary *supplementalViewProviders; @property (nonatomic) struct CGSize { double width; double height; } cachedTextContainerSize; @property (retain, nonatomic) ICSelectorDelayer *updateHiddenViewsSelectorDelayer; @property (retain, nonatomic) NSMutableDictionary *delayedScrollOutViewDictionary; @property (retain, nonatomic) NSManagedObjectContext *workerContext; @property (nonatomic) struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } layoutEnsuredBounds; @property (retain, nonatomic) ICNAEventReporter *eventReporter; @property (retain, nonatomic) NSSet *hiddenTodosForManualLayout; @property (nonatomic) BOOL isZooming; @property (nonatomic) BOOL isUpdatingForAttachmentViewTypeChange; @property (nonatomic) BOOL lineHeightIncludeParagraphSpacing; @property (nonatomic) BOOL shouldManuallyRenderSeparateSubviews; @property (nonatomic) BOOL shouldAdjustTodoButtonFramesForPrinting; @property (nonatomic) BOOL isRenderingPreviewForDragAndDrop; @property (nonatomic) BOOL shouldIgnoreCachedOriginUpdates; @property (nonatomic) BOOL isRenderingImageForPrint; @property (nonatomic) BOOL isSettingLinkTextAttributes; @property (copy, nonatomic) NSDictionary *trackedToDoParagraphs; @property (weak, nonatomic) id<ICAttachmentViewDelegate> attachmentViewDelegate; @property (nonatomic) BOOL isDraggingChecklistItem; @property (retain, nonatomic) ICSearchResultRegexMatchFinder *highlightPatternRegexFinder; @property (nonatomic) BOOL needsClearRemovedAttachments; - (id)init; - (void)dealloc; - (void)contentSizeCategoryDidChange; - (void).cxx_destruct; - (id)linkAttributesForLink:(id)a0 forCharacterAtIndex:(unsigned long long)a1; - (void)ensureLayoutForTextContainer:(id)a0; - (void)processEditingForTextStorage:(id)a0 edited:(unsigned long long)a1 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2 changeInLength:(long long)a3 invalidatedRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a4; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })boundingRectForGlyphRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 inTextContainer:(id)a1; - (void)drawBackgroundForGlyphRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 atPoint:(struct CGPoint { double x0; double x1; })a1; - (void)drawGlyphsForGlyphRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 atPoint:(struct CGPoint { double x0; double x1; })a1; - (void)invalidateLayoutForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 actualCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a1; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })lineFragmentRectForGlyphAtIndex:(unsigned long long)a0 effectiveRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a1; - (void)textContainerChangedGeometry:(id)a0; - (id)textContainerForGlyphAtIndex:(unsigned long long)a0 effectiveRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a1; - (void)fillBackgroundRectArray:(const struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } *)a0 count:(unsigned long long)a1 forCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2 color:(id)a3; - (void)attachmentDidLoad:(id)a0; - (void)icReplaceTextStorage:(id)a0; - (void)mediaDidLoad:(id)a0; - (void)textController:(id)a0 addedTrackedAttribute:(id)a1; - (void)textController:(id)a0 removedTrackedAttribute:(id)a1; - (void)textController:(id)a0 updatedTrackedAttribute:(id)a1; - (id)viewForTextAttachmentNoCreate:(id)a0; - (void)eventReporterLostSession:(id)a0; - (void)cleanupStaleTodoButtonsAndUpdateSupplementalViewsForDictionary:(id)a0; - (void)ensureLayoutForSurroundingPages; - (void)clearRemovedAttachmentsIfNeeded; - (void)_clearRemovedAttachments; - (void)attachmentInlineDrawingMergeableDataDidChange:(id)a0; - (void)cleanUpAfterScreenshot; - (void)cleanupStaleTodoButtons; - (void)clearAllSupplementalViews; - (void)clearAllTodoSupplementalViews; - (void)clearAllTodos; - (void)clearLayoutEnsuredBounds; - (void)clearSupplementalViewForIdentifier:(id)a0; - (void)clearViewForTextAttachment:(id)a0; - (void)clearViewsForAllTextAttachmentsThatSupportThumbnailMode; - (void)didAddViewForTextAttachment:(id)a0; - (void)didPressTodoButton:(id)a0; - (void)drawGlyphsForGlyphRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 atPoint:(struct CGPoint { double x0; double x1; })a1 updateAttachments:(BOOL)a2; - (void)drawSearchHighlightRectsIndexes:(id)a0 inGlyphRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 offset:(struct CGPoint { double x0; double x1; })a2; - (id)drawTodoViewForListRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 paragraphStyle:(id)a1 checkmarkHighlightValue:(id)a2 atPoint:(struct CGPoint { double x0; double x1; })a3; - (void)ensureViewIsAddedForAttachment:(id)a0 inCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (void)enumerateAttachmentViewsInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 usingBlock:(id /* block */)a1; - (void)filterAttachmentsInTextStorage:(id)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 targetAttachment:(id)a2; - (id)glyphIndexesForMatchesInTextStorage:(id)a0 regexFinder:(id)a1 glyphRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2; - (void)handleTodoButtonPress:(id)a0; - (void)hideSupplementalView:(id)a0 forIdentifier:(id)a1; - (void)hideVisibleTodoButtons; - (id)icTextView; - (id)icaxTodoButtonForParagraphStyle:(id)a0; - (id)initForTemporaryProcessing:(BOOL)a0; - (void)invalidateLayoutAfterAttachmentViewTypeChange; - (void)invalidateLayoutAfterAttachmentViewTypeChangeIfNecessary; - (void)invalidateLayoutForAttachment:(id)a0; - (void)layoutViewForInlineTextAttachment:(id)a0 atCharacterIndex:(unsigned long long)a1; - (unsigned long long)lineCountForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })lineRectForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)manuallyRenderSubviewsForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (id)paragraphStyleForCharacterIndex:(unsigned long long)a0; - (void)prepareForScreenshotWithVisibleRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })rangeForAttachment:(id)a0 withTextAttachment:(id *)a1; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })rangeForBaseAttachment:(id)a0 withTextAttachment:(id *)a1; - (void)receivedMemoryWarning:(id)a0; - (void)removeClearingControllerForView:(id)a0; - (void)removeClearingControllerForView:(id)a0 viewIdentifier:(id)a1; - (BOOL)selectedRangesIntersectWithRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (id)supplementalViewForIdentifier:(id)a0 allowHiddenViews:(BOOL)a1; - (void)textStorageDidEndEditingNotification:(id)a0; - (id)todoButtonForTrackedParagraphIfExists:(id)a0; - (id)todoButtonsForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (id)trackedTodoParagraphAtIndexIfExists:(unsigned long long)a0; - (void)unHideVisibleTodoButtons; - (BOOL)unhideSupplementalView:(id)a0 forIdentifier:(id)a1; - (void)updateHiddenSupplementalViews; - (void)updateInlineDrawingViews; - (void)updateSubviewsForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)updateSubviewsForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 atPoint:(struct CGPoint { double x0; double x1; })a1; - (void)updateVisibleSupplementalViews; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })usedLineRectForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (id)viewControllerForTextAttachment:(id)a0; - (id)viewControllerForTextAttachment:(id)a0 createIfNeeded:(BOOL)a1; - (id)viewControllerForTextAttachmentNoCreate:(id)a0; - (id)viewForBaseTextAttachmentNoCreate:(id)a0; - (id)viewForTextAttachment:(id)a0; - (id)viewForTextAttachment:(id)a0 initialCharacterIndex:(unsigned long long)a1; - (id)viewProviderForTextAttachment:(id)a0 parentView:(id)a1 characterIndex:(unsigned long long)a2; - (void)willPlaceView:(id)a0 forTextAttachment:(id)a1; - (void)zoomFactorOrInsetsDidChange; @end