luxlabs header browser preview


@class TSKPencilAnnotationUIState, NSMutableDictionary, TSADrawableFactory, TSADocumentInfo, NSDictionary, NSMapTable, TSTCustomFormatList, TSKViewState, NSObject, SFUCryptoKey, TSAFunctionBrowserState, NSString, NSSet, TSCECalculationEngine, NSMutableSet, NSArray, TSDFreehandDrawingToolkitUIState, TSPLazyReference, TSKCustomFormatList, TSAShortcutController;
@protocol OS_dispatch_queue, TSAUIState;

@interface TSADocumentRoot : TSWPDocumentRoot <TSKPencilAnnotationSupportedDocument, TSDImportExportDelegate, TSDScrollingAwareChangeSource> {
    _Atomic int _needsToCaptureViewState;
    NSMutableDictionary *_upgradeState;
    TSPLazyReference *_viewStateReference;
    NSMutableSet *_warnings;
    NSString *_documentLanguage;
    unsigned long long _documentLanguageWritingDirection;
    TSCECalculationEngine *_calculationEngine;
    TSAFunctionBrowserState *_functionBrowserState;
    TSTCustomFormatList *_deprecatedTablesCustomFormatList;
    TSKCustomFormatList *_tablesCustomFormatList;
    TSAShortcutController *_shortcutController;
    BOOL _needsMediaCompatibilityUpgrade;
    BOOL _collaborativeMediaCompatibilityUpgradeDidFail;
    BOOL _canUseHEVC;
    BOOL _didPauseRecalculationForBackgroundDocument;
    BOOL _preparedForCollaborationSessionAfterConnecting;
    NSString *_templateIdentifier;
    NSObject<OS_dispatch_queue> *_accessQueue;
    SFUCryptoKey *_accessQueue_documentCacheDecryptionKey;
    NSObject<OS_dispatch_queue> *_fetchLatestRevisionQueue;
}

@property (class, readonly, nonatomic) BOOL doesTopMostContainerSupportRTLOrigin;
@property (class, readonly, nonatomic) BOOL shouldShowImportedDataNotificationsOnOpen;

@property (nonatomic) BOOL hasPreUFFVersion;
@property (nonatomic) BOOL didLoadDocumentFromTemplate;
@property (retain, nonatomic) id<TSAUIState> uiState;
@property (readonly, nonatomic) BOOL isMultiPageForQuickLook;
@property (nonatomic) BOOL didLoadDocumentFromRevert;
@property (readonly, nonatomic) NSDictionary *packageDataForWrite;
@property (readonly, nonatomic) BOOL isClosed;
@property (readonly, nonatomic) BOOL isLoaded;
@property (readonly, nonatomic) BOOL documentLocaleWasUpdated;
@property (readonly, nonatomic) BOOL hasFloatingLocale;
@property (retain, nonatomic) TSCECalculationEngine *calculationEngine;
@property (readonly, nonatomic) TSKViewState *viewState;
@property (readonly, nonatomic) NSSet *missingFontWarningMessages;
@property (readonly, nonatomic) NSDictionary *missingFontNamesAndWarningMessages;
@property (nonatomic) BOOL needsMediaCompatibilityUpgrade;
@property (nonatomic) BOOL collaborativeMediaCompatibilityUpgradeDidFail;
@property (readonly, nonatomic) NSString *name;
@property (readonly, nonatomic) NSString *defaultDraftName;
@property (readonly, nonatomic) TSADocumentInfo *documentInfo;
@property (copy, nonatomic) NSArray *buildVersionHistory;
@property (copy, nonatomic) NSString *templateIdentifier;
@property (readonly, nonatomic) TSADrawableFactory *drawableFactory;
@property (readonly, nonatomic) TSDFreehandDrawingToolkitUIState *freehandDrawingToolkitUIState;
@property (readonly, nonatomic) TSKPencilAnnotationUIState *pencilAnnotationUIState;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;
@property (readonly, nonatomic) NSMapTable *incompatibleMediaContainersWithDataUnsupportedOnThisDevice;
@property (readonly, nonatomic) NSMapTable *incompatibleMediaContainersWithDataUnsupportedOnAllDevices;
@property (readonly, nonatomic) BOOL isBrowsingVersions;

+ (void)localizeModelObject:(id)a0 withTemplateBundle:(id)a1 andLocale:(id)a2;
+ (id)localizedTemplateStringForKey:(id)a0 value:(id)a1 table:(id)a2 templateBundle:(id)a3 locale:(id)a4;
+ (struct CGSize { double x0; double x1; })previewImageMaxSizeForType:(unsigned long long)a0;
+ (struct CGSize { double x0; double x1; })previewImageSizeForType:(unsigned long long)a0;
+ (id)supportedPreviewImageExtensions;
+ (id)_localeForUnlocalizedValues;
+ (id)_localizedStringKeyForValue:(double)a0 templateName:(id)a1 tableInfo:(id)a2 unlocalizedTableName:(id)a3 cellAddress:(struct TSUCellCoord { unsigned int x0; unsigned short x1; BOOL x2; BOOL x3; })a4 defaultValue:(out id *)a5;
+ (id)buildVersionHistoryPath;
+ (id)buildVersionHistoryPathPreUFF;
+ (id)identifierForAttachmentNumber:(unsigned long long)a0;
+ (void)localizeChartInfo:(id)a0 withTemplateBundle:(id)a1 andLocale:(id)a2;
+ (void)localizeDropCapsInStorage:(id)a0 withLocale:(id)a1;
+ (void)localizePropertiesOfIdentifiedStyle:(id)a0 withMap:(id)a1;
+ (void)localizePropertiesOfNamedStyle:(id)a0 withMap:(id)a1;
+ (void)localizePropertiesOfStyle:(id)a0 withMap:(id)a1;
+ (void)localizePropertiesOfStylesInStylesheet:(id)a0 withMap:(id)a1;
+ (void)localizeTableInfo:(id)a0 templateBundle:(id)a1 andLocale:(id)a2;
+ (void)localizeTextStorage:(id)a0 withTemplateBundle:(id)a1 andLocale:(id)a2;
+ (id)localizedFontNameForFontName:(id)a0 withLocale:(id)a1;
+ (id)prelocalizedStringForStorage:(id)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 attachmentHandlingBlock:(id /* block */)a2;
+ (unsigned long long)previewTypeForCurrentDevice;
+ (void)removeExistingPreviewsForDocumentAtPath:(id)a0;
+ (void)replacePropertiesOfStyle:(id)a0 withMap:(id)a1;
+ (id)scaledPreviewImageForType:(unsigned long long)a0 scalableImage:(id)a1;
+ (id)supportedScalablePreviewNames;
+ (void)writePreviewImage:(id)a0 group:(id)a1 queue:(id)a2 dataConsumerProvider:(id /* block */)a3 completion:(id /* block */)a4;
+ (void)writePreviewImage:(id)a0 toPath:(id)a1 withIntermediateDirectories:(BOOL)a2 name:(id)a3 group:(id)a4 queue:(id)a5 completion:(id /* block */)a6;
+ (BOOL)writePreviewImagesToPackageDataWriter:(id)a0 scalableImage:(id)a1;
+ (BOOL)writePreviewImagesToPackageDataWriter:(id)a0 scalableImage:(id)a1 group:(id)a2 queue:(id)a3;
+ (BOOL)writePreviewImagesToPath:(id)a0 scalableImage:(id)a1;
+ (BOOL)writePreviewImagesToPath:(id)a0 scalableImage:(id)a1 group:(id)a2 queue:(id)a3;

- (void)willClose;
- (void)commonInit;
- (void)dealloc;
- (void)didEnterBackground;
- (void)willEnterForeground;
- (id)initWithContext:(id)a0;
- (void).cxx_destruct;
- (id)shortcutController;
- (id)warnings;
- (id)previewImage;
- (unsigned long long)writingDirection;
- (void)resetViewState;
- (id)upgradeState;
- (void)willUnload;
- (void)documentDidLoad;
- (void)p_removeStyles:(id)a0;
- (void)addWarning:(id)a0;
- (id)additionalDocumentPropertiesForWrite;
- (id)commandForPropagatingPresetChangeCommand:(id)a0 alwaysPreserveAppearance:(BOOL)a1;
- (id)customFormatList;
- (id)dataFromDocumentCachePath:(id)a0;
- (void)didSaveWithEncryptionChange;
- (id)documentCachePath;
- (BOOL)exportToPath:(id)a0 exporter:(id)a1 delegate:(id)a2 error:(id *)a3;
- (BOOL)exportToPath:(id)a0 exporter:(id)a1 error:(id *)a2;
- (void)fulfillPasteboardPromises;
- (BOOL)hasICloudConflict;
- (void)importerDidFinish:(id)a0;
- (void)initializeForImport;
- (void)insertTextPresetDisplayItemsPreservingGrouping:(id)a0 insertAtBeginningOfGroup:(BOOL)a1;
- (id)newExporterForType:(id)a0 options:(id)a1 preferredType:(id *)a2;
- (struct CGImageSource { } *)newImageSourceForDocumentCachePath:(id)a0;
- (void)pUpgradeHyperlinks;
- (void)pUpgradeHyperlinksInStorage:(id)a0;
- (id)p_parseNumberOutOfBasename:(id)a0 hasNumber:(BOOL *)a1 number:(unsigned long long *)a2;
- (void)p_registerAllFormulasAfterImport;
- (void)p_replaceStyle:(id)a0 andChildrenWithVariationOfStyle:(id)a1;
- (void)p_replaceStyles:(id)a0 andChildrenWithVariationOfStyle:(id)a1;
- (void)performHyperlinkUpgradesIfNecessaryForVersion:(unsigned long long)a0;
- (void)performStylesheetUpdatesIfNecessaryForVersion:(unsigned long long)a0;
- (void)prepareForSavingAsTemplate;
- (id)protected_defaultTextPresetOrdering;
- (id)referencedStylesOfClass:(Class)a0;
- (void)removeWarning:(id)a0;
- (void)resumeBackgroundActivities;
- (void)resumeThumbnailing;
- (void)suspendBackgroundActivities;
- (void)suspendThumbnailing;
- (id)uniqueDocumentCachePathForProposedPath:(id)a0;
- (void)updateWritingDirection:(unsigned long long)a0;
- (BOOL)writeData:(id)a0 atDocumentCachePath:(id)a1;
- (id)makeStyleMapper;
- (long long)compareLocationSortingInfo:(id)a0 toSortingInfo:(id)a1;
- (id)createViewStateRootForContinuation:(BOOL)a0;
- (void)invalidateViewState;
- (void)loadFromArchive:(const void *)a0 unarchiver:(id)a1;
- (void)presentDocumentWarnings;
- (void)saveToArchive:(void *)a0 archiver:(id)a1;
- (void)setCustomFormatListToUpgrade:(id)a0;
- (void)upgradeTextStylesForUnityAfterSingleStylesheetUpgrade;
- (id)warningLocationDescriptionForAffectedObjects:(id)a0 sortingInfo:(id *)a1;
- (BOOL)canBeAnnotatedWithPencil;
- (BOOL)childrenCanBeAnnotatedWithPencil;
- (id)documentLanguage;
- (void)enumeratePencilAnnotationsUsingBlock:(id /* block */)a0;
- (void)fontUpdatedForStyleClient:(id)a0;
- (BOOL)objectsNeedToBeMigrated:(id)a0;
- (void)removePencilAnnotations;
- (BOOL)validatedLoadFromUnarchiver:(id)a0;
- (void)prepareNewDocumentWithTemplateIdentifier:(id)a0 bundle:(id)a1 documentLocale:(id)a2;
- (void)pauseRecalculation;
- (id)previewImageForSize:(struct CGSize { double x0; double x1; })a0;
- (void)resumeRecalculation;
- (void)resumeRecalculationForBlock:(id /* block */)a0;
- (BOOL)shouldAllowDrawableInGroups:(id)a0;
- (void)applyViewState:(id)a0;
- (void)p_upgradeDocumentCreationLocale;
- (void)enumerateStylesheetsUsingBlock:(id /* block */)a0;
- (id)namedTextStyles;
- (id)additionalResourceRequestsForObjectContext:(id)a0;
- (id)allPencilAnnotations;
- (void)backgroundDocumentDidLoad;
- (void)blockForRecalcWithTimeout:(double)a0;
- (id)buildVersionHistoryTemplateNameForIdentifier:(id)a0;
- (id)captureViewState;
- (id)captureViewStateForImport;
- (void)captureViewStateIfNeeded;
- (void)cleanupForImportFailure;
- (id)consolidatedDocumentWarningsFromWarnings:(id)a0;
- (double)currentDesiredPencilAnnotationDrawingScale;
- (void)didDownloadDocumentResources:(id)a0;
- (void)didDownloadRemoteData:(id)a0;
- (id)documentCachePathWithRelativePath:(id)a0;
- (void)documentCacheWasInvalidated;
- (void)enumeratePencilAnnotationsFromRootObject:(id)a0 usingBlock:(id /* block */)a1;
- (void)finalizeFromSageImport;
- (id)functionBrowserState;
- (BOOL)hasExpandedTables;
- (BOOL)hasExpandedTablesForGilligan;
- (BOOL)hasPencilAnnotations;
- (BOOL)hasRemoteDataSource;
- (id)makeIsolatedStyleMapper;
- (void)p_addCaptionShapeStyles;
- (id)p_captureViewStateForImport:(BOOL)a0;
- (void)p_cleanupColumnStyles;
- (void)p_updateBuildVersionHistoryWithVersionOfTemplateIdentifier:(id)a0;
- (BOOL)p_updateDocumentLanguageToCurrentIfNeeded;
- (void)p_updateViewStateWithRoot:(id)a0;
- (void)p_upgradeCustomFormatList;
- (void)p_upgradeRemainingOutlinedTextStylesWithFileFormatVersion:(unsigned long long)a0;
- (void)p_verifyEntireDocument;
- (void)pauseRecalculationSometimeSoon;
- (id)pencilAnnotationEnumeratorFromRootObject:(id)a0;
- (void)prepareNewDocumentWithUserTemplateIdentifier:(id)a0;
- (void)prepareToGeneratePreview;
- (void)prepareUIStateForInitialViewing:(id)a0;
- (id)readBuildVersionHistoryFromDiskHasPreUFFVersion:(BOOL)a0;
- (void)removePencilAnnotationsFromDrawables:(id)a0;
- (void)removeRedundantStyleOverridesAndEnsureReferencedStylesAreInStylesheetWithFileFormatVersion:(unsigned long long)a0;
- (void)sendDocumentOpenedAnalyticsEventWithEventPayload:(id)a0;
- (void)setDocumentCreationLocale:(id)a0;
- (void)setDocumentLanguage:(id)a0;
- (void)setFunctionBrowserState:(id)a0;
- (void)setShortcutController:(id)a0;
- (BOOL)shouldCancelScrollingToSelectionPath:(id)a0 forChanges:(id)a1;
- (void)stashUpgradeState:(const void *)a0 unarchiver:(id)a1;
- (id)tableToShowImportedDataNotificationOnOpenFor;
- (id)tsa_delegate;
- (void)updateViewStateWithRoot:(id)a0;
- (void)upgradeCellStyles;
- (void)upgradeTextStylesForUnityBeforeSingleStylesheetUpgrade;
- (void)upgradeTextStylesForUnityPlusFromFileFormatVersion:(unsigned long long)a0;
- (void)upgradeTextboxPresets;
- (void)upgradeToFixNonVariationChildStylesWithFileFormatVersion:(unsigned long long)a0;
- (void)upgradeToSingleStylesheet;
- (id)warningsByCombiningSortedWarnings:(id)a0 withWarnings:(id)a1;

@end