@class NSSet, NSString, NSMutableDictionary, NSMutableSet, TSTCustomFormatList, TSADrawableFactory; @protocol TSADocumentRootDelegate; @interface TSADocumentRoot : TSKDocumentRoot <TSKImportExportDelegate> { int _needsToCaptureViewState; NSMutableDictionary *_upgradeState; NSMutableSet *_warnings; NSString *_creationLanguage; unsigned long long _creationLanguageWritingDirection; TSTCustomFormatList *_tablesCustomFormatList; BOOL _needsMovieCompatibilityUpgrade; BOOL _isClosed; NSString *_templateIdentifier; } @property (nonatomic) BOOL hasPreUFFVersion; @property (readonly, nonatomic) NSSet *missingFontWarningMessages; @property (nonatomic) BOOL needsMovieCompatibilityUpgrade; @property (nonatomic) id<TSADocumentRootDelegate> delegate; @property (readonly, nonatomic) NSString *name; @property (readonly, nonatomic) NSString *defaultDraftName; @property (readonly, nonatomic, getter=isDocumentEditedSinceLastSave) BOOL documentEditedSinceLastSave; @property (copy, nonatomic) NSString *templateIdentifier; @property (readonly, nonatomic) TSADrawableFactory *drawableFactory; @property (readonly, nonatomic) BOOL importingDesignDemoDoc; @property (readonly, nonatomic) BOOL isBrowsingVersions; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (id)persistenceWarningsForData:(id)a0 isReadable:(BOOL)a1 isExternal:(BOOL)a2; - (void)willClose; - (id)init; - (void)dealloc; - (void)didEnterBackground; - (void)willEnterForeground; - (id)initWithContext:(id)a0; - (id)warnings; - (unsigned long long)writingDirection; - (id)upgradeState; - (void)documentDidLoad; - (void)p_removeStyles:(id)a0; - (void)documentDidSave; - (long long)addObserverForICloudTeardownWithBlock:(id /* block */)a0; - (void)addWarning:(id)a0; - (id)additionalDocumentPropertiesForWrite; - (void)changeDocumentCacheFileProtection:(id)a0; - (id)commandForPropagatingPresetChangeCommand:(id)a0 alwaysPreserveAppearance:(BOOL)a1; - (id)creationLanguage; - (id)customFormatList; - (id)dataFromDocumentCachePath:(id)a0; - (void)didDownloadDocumentResources:(id)a0 failedOrCancelledDocumentResources:(id)a1 error:(id)a2; - (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; - (BOOL)isMultiPageForQuickLook; - (id)newExporterForType:(id)a0 options:(id)a1 preferredType:(id *)a2; - (struct CGImageSource { } *)newImageSourceForDocumentCachePath:(id)a0; - (void)pUpgradeHyperlinks; - (void)pUpgradeHyperlinksInStorage:(id)a0; - (id)p_characterStyleWithProperties:(id)a0 stylesheet:(id)a1 override:(id)a2; - (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)p_updateBuildVersionHistoryWithVersionOfTemplateBundle:(id)a0; - (void)p_updateCreationLanguage; - (id)packageDataForWrite; - (void)performHyperlinkUpgradesIfNecessaryForVersion:(unsigned long long)a0; - (void)performStylesheetUpdatesIfNecessaryForVersion:(unsigned long long)a0; - (void)prepareForSavingAsTemplate; - (void)prepareNewDocumentWithTemplateBundle:(id)a0; - (id)protected_defaultTextPresetOrdering; - (id)referencedStylesOfClass:(Class)a0; - (void)removeWarning:(id)a0; - (void)resumeBackgroundActivities; - (void)resumeThumbnailing; - (void)setCreationLanguage:(id)a0; - (void)setCustomFormatList:(id)a0; - (BOOL)shouldAllowDrawableInGroups:(id)a0 forImport:(BOOL)a1; - (void)suspendBackgroundActivities; - (void)suspendThumbnailing; - (id)uniqueDocumentCachePathForProposedPath:(id)a0; - (void)updateWritingDirection:(unsigned long long)a0; - (BOOL)writeData:(id)a0 atDocumentCachePath:(id)a1; @end