luxlabs header browser preview


@class NSUUID, NSString, NSURL, TDCatalogGlobals, NSMutableDictionary, TDHistorian, TDThreadMOCOrganizer, NSMutableArray, TDDeviceTraits, NSManagedObjectModel, NSMutableSet;
@protocol TDCustomAssetProvider, TDAssetManagementDelegate;

@interface CoreThemeDocument : TDPersistentDocument {
    NSMutableDictionary *constantArrayControllers;
    NSMutableDictionary *cachedConstantArrays;
    long long cachedMaxIdentifierInUse;
    TDHistorian *m_historian;
    TDThreadMOCOrganizer *m_mocOrganizer;
    NSManagedObjectModel *m_managedObjectModel;
    NSString *_relativePathToProductionData;
    NSString *_targetPlatform;
    NSMutableDictionary *_packableRenditions;
    NSMutableDictionary *_explicitlyPackedIdentifiers;
    NSMutableDictionary *_explicitlyPackedPackings;
    NSMutableDictionary *_explicitlyPackedContents;
    BOOL m_didMigrate;
    int _updateVersionMetadataState;
    int _majorVersion;
    int _minorVersion;
    int _patchVersion;
    NSMutableArray *_deviceTraits;
    struct _renditionkeyfmt { unsigned int x0; unsigned int x1; unsigned int x2; unsigned int x3[0]; } *_keyFormat;
    TDCatalogGlobals *_catalogGlobals;
    NSMutableArray *_cachedAppearances;
    NSMutableSet *_cachedUnknownAppearanceIds;
    NSMutableArray *_cachedLocalizations;
    NSMutableSet *_cachedUnknownLocalizationIds;
    NSMutableArray *_cachedModelAssets;
    BOOL _donotstoreDocumentChecksum;
}

@property (copy) NSString *pathToRepresentedDocument;
@property (nonatomic) id<TDAssetManagementDelegate> assetManagementDelegate;
@property (nonatomic) id<TDCustomAssetProvider> customAssetProvider;
@property (retain, nonatomic) TDDeviceTraits *optimizeForDeviceTraits;
@property (copy, nonatomic) NSString *minimumDeploymentVersion;
@property (readonly, nonatomic) int majorVersion;
@property (readonly, nonatomic) int minorVersion;
@property (readonly, nonatomic) int patchVersion;
@property (copy, nonatomic) NSUUID *uuid;
@property long long targetPlatform;
@property (readonly) TDCatalogGlobals *catalogGlobals;
@property (readonly, nonatomic) NSURL *themeBitSourceURL;

+ (void)initialize;
+ (void)_addThemeDocument:(id)a0;
+ (id)_imageAssetURLsByCopyingFileURLs:(id)a0 toManagedLocationAtURL:(id)a1 error:(id *)a2;
+ (id)_sharedDocumentList;
+ (void)closeMigrationProgress;
+ (id)createConfiguredDocumentAtURL:(id)a0 error:(id *)a1;
+ (id)createConfiguredDocumentAtURL:(id)a0 targetPlatform:(long long)a1 error:(id *)a2;
+ (id)dataModelNameForVersion:(long long)a0;
+ (long long)dataModelVersion;
+ (long long)dataModelVersionFromMetadata:(id)a0;
+ (BOOL)deepmap2CompressionEnabled;
+ (BOOL)defaultAllowsExtendedRangePixelFormats;
+ (long long)defaultTargetPlatform;
+ (id)defaultThemeBitSourceURLForDocumentURL:(id)a0;
+ (void)doneWithColorConversion;
+ (int)maximumAreaOfPackableImageForScale:(unsigned long long)a0;
+ (id)migrateDocumentAtURL:(id)a0 ofType:(id)a1 error:(id *)a2;
+ (id)persistentStringForPlatform:(long long)a0;
+ (long long)platformForPersistentString:(id)a0;
+ (void)presentMigrationProgress;
+ (int)shouldConvertColorsFromColorSpaceWithIdentifier:(unsigned long long)a0 toIdentifier:(unsigned long long)a1 error:(id *)a2;
+ (unsigned long long)standardColorSpaceID;
+ (long long)targetPlatformForMOC:(id)a0;

- (unsigned long long)colorSpaceID;
- (BOOL)usesCUISystemThemeRenditionKey;
- (id)managedObjectModel;
- (const struct _renditionkeyfmt { unsigned int x0; unsigned int x1; unsigned int x2; unsigned int x3[0]; } *)renditionKeyFormat;
- (void)deleteObject:(id)a0;
- (id)init;
- (void)dealloc;
- (unsigned int)checksum;
- (id)appearanceWithIdentifier:(long long)a0;
- (id)elementWithIdentifier:(long long)a0;
- (id)persistentStoreTypeForFileType:(id)a0;
- (BOOL)configurePersistentStoreCoordinatorForURL:(id)a0 ofType:(id)a1 modelConfiguration:(id)a2 storeOptions:(id)a3 error:(id *)a4;
- (id)directions;
- (id)artworkFormat;
- (BOOL)_clampMetrics;
- (id)effectTypeWithIdentifier:(unsigned int)a0;
- (void)deleteObjects:(id)a0;
- (BOOL)allowsExtendedRangePixelFormats;
- (id)assetAtFileURL:(id)a0;
- (id)constantWithName:(id)a0 forIdentifier:(long long)a1;
- (BOOL)createPSDReferenceArtworkForRenditionGroup:(id)a0 atDestination:(id)a1 error:(id *)a2;
- (id)deviceTraitsUsedForOptimization;
- (BOOL)shouldSupportCompactCompression;
- (id)_namedImageEffectPartDefinition;
- (BOOL)_updateRenditionPackings:(id)a0 error:(id *)a1;
- (void)createNamedModelsForCustomInfos:(id)a0 referenceFiles:(BOOL)a1 bitSource:(id)a2 error:(id *)a3;
- (id)deploymentTargetWithIdentifier:(long long)a0;
- (BOOL)featureEnabled:(int)a0;
- (void)importNamedAssetsFromFileURLs:(id)a0 referenceFiles:(BOOL)a1 completionHandler:(id /* block */)a2;
- (id)namedArtworkProductionWithName:(id)a0;
- (id)renditionSubtypeWithIdentifier:(unsigned int)a0;
- (BOOL)shouldCreateForwardstopForLossy;
- (id)_addAssetsAtFileURLs:(id)a0 createProductions:(BOOL)a1 referenceFiles:(BOOL)a2 bitSource:(id)a3 customInfos:(id)a4 sortedCustomInfos:(id *)a5;
- (id)_addAssetsFromCustomAssetInfos:(id)a0 bitSource:(id)a1 error:(id *)a2;
- (void)_addResolvedLayerReferenceToFlattenedImageRendition:(id)a0 usingArtworkRendition:(id)a1 andLayerReference:(id)a2;
- (void)_automaticP3GenerationFromSRGB;
- (void)_automaticSRGBGenerationFromP3;
- (void)_backwardsCompatibilityPatchForLayoutDirection;
- (id)_cachedConstantsForEntity:(id)a0;
- (id)_cachedModelAssets;
- (BOOL)_canremoveKeyAttribte:(unsigned short)a0;
- (long long)_compareFlattenedKeySpec1:(id)a0 toKeySpec2:(id)a1;
- (void)_configureAfterFirstSave;
- (void)_createForwardstopRenditions;
- (id)_createNamedElementWithIdentifier:(long long)a0;
- (id)_createNamedElementWithNextAvailableIdentifier;
- (id)_createPhotoshopElementProductionWithAsset:(id)a0;
- (id)_customizedSchemaDefinitionsForEntity:(id)a0;
- (void)_delete:(id)a0 withRendition:(id)a1;
- (void)_generateWatchImages;
- (id)_genericPartDefinition;
- (void)_getFilename:(id *)a0 scaleFactor:(unsigned int *)a1 category:(id *)a2 bitSource:(id *)a3 forFileURL:(id)a4;
- (void)_groupPackableRenditions;
- (void)_insertRendition:(id)a0 forKey:(id)a1;
- (void)_makeRadiosityImages;
- (void)_makeSolidLayerStackTextures;
- (BOOL)_matchesAllExceptGamut:(id)a0 andKeySpec:(id)a1;
- (id)_namedImagePartDefinition;
- (id)_namedTextEffectPartDefinition;
- (void)_normalizeRenditionKeySpec:(id)a0 forSchemaRendition:(id)a1;
- (void)_optimizeForDeviceTraits;
- (id)_predicateForRenditionKeySpec:(id)a0;
- (void)_processModelProductions;
- (BOOL)_production:(id)a0 containsScale:(unsigned int)a1 andIdiom:(unsigned int)a2 andSubtype:(unsigned int)a3;
- (void)_removeRedundantPDFBasedRenditions:(id)a0;
- (void)_removeRedundantPDFBasedRenditionsForAssets:(id)a0;
- (id)_sizeIndexesByNameFromNamedAssetImportInfos:(id)a0;
- (void)_synchronousSave;
- (id)_themeBitSource:(id *)a0;
- (id)_themeBitSourceForReferencedFilesAtURLs:(id)a0 createIfNecessary:(BOOL)a1;
- (void)_tidyUpLayerStacks;
- (void)_tidyUpRecognitionImages;
- (void)_updateDeviceTraits;
- (void)_updateKeyFormatWithContext:(id)a0;
- (id)addAssetsAtFileURLs:(id)a0;
- (id)addAssetsAtFileURLs:(id)a0 createProductions:(BOOL)a1;
- (id)addAssetsAtFileURLs:(id)a0 createProductions:(BOOL)a1 referenceFiles:(BOOL)a2 bitSource:(id)a3 customInfos:(id)a4;
- (void)addDeviceTraitForOptimization:(id)a0;
- (void)addThemeBitSourceAtPath:(id)a0;
- (void)addThemeBitSourceAtPath:(id)a0 createProductions:(BOOL)a1;
- (id)allObjectsForEntity:(id)a0 withSortDescriptors:(id)a1;
- (id)allObjectsForEntity:(id)a0 withSortDescriptors:(id)a1 error:(id *)a2;
- (BOOL)allowMultipleInstancesOfElementID:(long long)a0;
- (id)appearanceWithIdentifier:(long long)a0 name:(id)a1 createIfNeeded:(BOOL)a2;
- (id)assetAtPath:(id)a0;
- (BOOL)buildModelError:(id *)a0;
- (BOOL)canImportNamedAssetImportInfo:(id)a0;
- (void)changedObjectsNotification:(id)a0;
- (BOOL)checkCompatibilityOfDocumentAtURL:(id)a0 ofType:(id)a1 error:(id *)a2;
- (void)checkVersionsAndUpdateIfNecessary;
- (id)compressionTypeWithIdentifier:(long long)a0;
- (id)compressionTypes;
- (void)convertColorsFromColorSpaceWithIdentifier:(unsigned long long)a0 toIdentifier:(unsigned long long)a1;
- (unsigned long long)countForEntity:(id)a0 withPredicate:(id)a1;
- (unsigned long long)countOfRenditionsMatchingRenditionKeySpec:(id)a0;
- (unsigned long long)countOfRenditionsMatchingRenditionKeySpecs:(id)a0;
- (id)createAssetWithName:(id)a0 fileType:(id)a1 scaleFactor:(unsigned int)a2 inCategory:(id)a3 forThemeBitSource:(id)a4;
- (id)createAssetWithName:(id)a0 inCategory:(id)a1 forThemeBitSource:(id)a2;
- (id)createAssetWithName:(id)a0 scaleFactor:(unsigned int)a1 inCategory:(id)a2 forThemeBitSource:(id)a3;
- (BOOL)createCustomArtworkProductionsForCustomAssets:(id)a0 withImportInfos:(id)a1 error:(id *)a2;
- (id)createEffectStyleProductionForPartDefinition:(id)a0;
- (id)createEffectStyleProductionForPartDefinition:(id)a0 withNameIdentifier:(id)a1;
- (id)createElementProductionWithAsset:(id)a0;
- (void)createForwardstops:(id)a0 withCompressionTypes:(id)a1 withDeploymentTargets:(id)a2;
- (id)createNamedArtworkProductionsForAssets:(id)a0 customInfos:(id)a1 error:(id *)a2;
- (id)createNamedColorProductionsForImportInfos:(id)a0 error:(id *)a1;
- (id)createNamedEffectProductionWithName:(id)a0 isText:(BOOL)a1;
- (void)createNamedGlyphVectorForCustomInfos:(id)a0 referenceFiles:(BOOL)a1 bitSource:(id)a2 error:(id *)a3;
- (void)createNamedRecognitionObjectsForAssets:(id)a0 customInfos:(id)a1 error:(id *)a2;
- (void)createNamedRenditionGroupProductionsForImportInfos:(id)a0 error:(id *)a1;
- (void)createNamedTexturesForCustomInfos:(id)a0 referenceFiles:(BOOL)a1 bitSource:(id)a2 error:(id *)a3;
- (id)createProductionWithRenditionGroup:(id)a0 forPartDefinition:(id)a1 artworkFormat:(id)a2 nameElement:(id)a3 shouldReplaceExisting:(BOOL)a4 error:(id *)a5;
- (id)createProductionWithRenditionGroup:(id)a0 forPartDefinition:(id)a1 artworkFormat:(id)a2 shouldReplaceExisting:(BOOL)a3 error:(id *)a4;
- (id)createReferencePNGForSchemaRendition:(id)a0 withPartDefinition:(id)a1 atLocation:(id)a2 error:(id *)a3;
- (id)createTextStyleProductionsForImportInfos:(id)a0 error:(id *)a1;
- (BOOL)customizationExistsForSchemaDefinition:(id)a0;
- (BOOL)customizeSchemaEffectDefinition:(id)a0 shouldReplaceExisting:(BOOL)a1 error:(id *)a2;
- (BOOL)customizeSchemaElementDefinition:(id)a0 usingArtworkFormat:(id)a1 shouldReplaceExisting:(BOOL)a2 error:(id *)a3;
- (BOOL)customizeSchemaMaterialDefinition:(id)a0 shouldReplaceExisting:(BOOL)a1 error:(id *)a2;
- (BOOL)customizeSchemaPartDefinition:(id)a0 usingArtworkFormat:(id)a1 nameElement:(id)a2 shouldReplaceExisting:(BOOL)a3 error:(id *)a4;
- (id)customizedSchemaEffectDefinitions;
- (id)customizedSchemaElementDefinitions;
- (id)customizedSchemaMaterialDefinitions;
- (id)defaultBaseFileNameForSchemaRendition:(id)a0 withPartDefinition:(id)a1;
- (id)defaultPNGFileNameForSchemaRendition:(id)a0 withPartDefinition:(id)a1;
- (id)defaultPathComponentsForPartDefinition:(id)a0;
- (void)deleteNamedAssets:(id)a0 shouldDeleteAssetFiles:(BOOL)a1 completionHandler:(id /* block */)a2;
- (void)deleteProduction:(id)a0 shouldDeleteAssetFiles:(BOOL)a1;
- (void)deleteProductions:(id)a0 shouldDeleteAssetFiles:(BOOL)a1;
- (id)deploymentTargets;
- (BOOL)didMigrate;
- (id)directionWithIdentifier:(long long)a0;
- (id)displayGamutWithIdentifier:(long long)a0;
- (id)displayGamuts;
- (id)drawingLayerWithIdentifier:(long long)a0;
- (id)effectComponentWithType:(unsigned int)a0 inRendition:(id)a1 createIfNeeded:(BOOL)a2;
- (id)effectParameterTypeWithIdentifier:(unsigned int)a0;
- (id)effectParameterValueWithType:(unsigned int)a0 inComponent:(id)a1 createIfNeeded:(BOOL)a2;
- (id)elementProductionsWithName:(id)a0;
- (void)exportCursorsToURL:(id)a0;
- (id)featureSetClasses;
- (id)folderNameFromRenditionKey:(id)a0 forPartDefinition:(id)a1;
- (id)glyphRenderingModes;
- (id)glyphSizeWithIdentifier:(long long)a0;
- (id)glyphWeightWithIdentifier:(long long)a0;
- (id)glyphWeights;
- (id)glyphsSizes;
- (id)graphicsFeatureSetClassWithIdentifier:(long long)a0;
- (id)historian;
- (id)idiomWithIdentifier:(long long)a0;
- (id)idioms;
- (void)importCursorsFromURL:(id)a0 getUnusedImportedCursors:(id *)a1 getUnupdatedCursors:(id *)a2;
- (void)importCustomAssetsWithImportInfos:(id)a0 completionHandler:(id /* block */)a1;
- (void)importNamedAssetsWithImportInfos:(id)a0 referenceFiles:(BOOL)a1 completionHandler:(id /* block */)a2;
- (void)incrementallyPackRenditionsSinceDate:(id)a0 error:(id *)a1;
- (id)initWithContentsOfURL:(id)a0 ofType:(id)a1 error:(id *)a2;
- (id)initWithType:(id)a0 error:(id *)a1;
- (id)initWithType:(id)a0 targetPlatform:(long long)a1 error:(id *)a2;
- (BOOL)isArtworkRenditionEligibleForForwardstop:(id)a0;
- (BOOL)isCustomLook;
- (id)iterationTypeWithIdentifier:(int)a0;
- (id)localizationWithIdentifier:(long long)a0;
- (id)localizationWithIdentifier:(long long)a0 name:(id)a1 createIfNeeded:(BOOL)a2;
- (id)mappingForPhotoshopLayerIndex:(long long)a0 themeDrawingLayerIdentifier:(long long)a1;
- (id)metadatumForKey:(id)a0;
- (id)minimalDisplayNameForThemeConstant:(id)a0;
- (id)mocOrganizer;
- (id)namedArtworkProductions;
- (id)namedEffectProductionWithName:(id)a0;
- (id)namedEffectProductions;
- (id)namedElementWithName:(id)a0;
- (id)namedElementsForElementDefinition:(id)a0;
- (BOOL)needToCreateForwardstopFor2018DeploymentVariant:(id)a0 withCompressionTypes:(id)a1;
- (BOOL)needToCreateForwardstopFor2019DeploymentVariant:(id)a0 withCompressionTypes:(id)a1;
- (BOOL)needToCreateForwardstopForPlatform;
- (id)newObjectForEntity:(id)a0;
- (id)objectsForEntity:(id)a0 withPredicate:(id)a1 sortDescriptors:(id)a2;
- (id)objectsForEntity:(id)a0 withPredicate:(id)a1 sortDescriptors:(id)a2 error:(id *)a3;
- (id)objectsForEntity:(id)a0 withPredicate:(id)a1 sortDescriptors:(id)a2 withContext:(id)a3 error:(id *)a4;
- (void)packRenditionsError:(id *)a0;
- (id)partWithIdentifier:(long long)a0;
- (id)pathToAsset:(id)a0;
- (id)pixelFormatWithIdentifier:(long long)a0;
- (id)presentationStateWithIdentifier:(long long)a0;
- (id)previousStateWithIdentifier:(long long)a0;
- (id)previousValueWithIdentifier:(long long)a0;
- (void)primeArrayControllers;
- (id)psdImageRefForAsset:(id)a0;
- (BOOL)readFromURL:(id)a0 ofType:(id)a1 error:(id *)a2;
- (void)recacheThemeConstant:(id)a0;
- (id)relativePathToProductionData;
- (void)removeCustomizationForSchemaDefinition:(id)a0 shouldDeleteAssetFiles:(BOOL)a1;
- (void)removeDeviceTraitsForOptimization;
- (BOOL)renameThemeBitSourceFolderTo:(id)a0 error:(id *)a1;
- (int)renditionKeySemantics;
- (long long)renditionKeySpecAttributeCount;
- (id)renditionTypeWithIdentifier:(long long)a0;
- (id)renditionsMatchingRenditionKeySpec:(id)a0;
- (void)resetThemeConstants;
- (id)rootPathForProductionData;
- (id)schemaCategoryWithIdentifier:(long long)a0;
- (id)schemaDefinitionWithElementID:(long long)a0;
- (id)schemaPartDefinitionWithElementID:(long long)a0 partID:(long long)a1;
- (void)setAllowsExtendedRangePixelFormats:(BOOL)a0;
- (void)setArtworkFormat:(id)a0;
- (void)setMetadatum:(id)a0 forKey:(id)a1;
- (void)setRelativePathToProductionData:(id)a0;
- (BOOL)shouldAllowDeepmap2Compression;
- (BOOL)shouldAllowDeepmap2CompressionForDeploymentTarget:(unsigned int)a0;
- (BOOL)shouldAllowDeepmapCompression;
- (BOOL)shouldAllowDeepmapCompressionForDeploymentTarget:(unsigned int)a0;
- (BOOL)shouldAllowHevcCompression;
- (BOOL)shouldAllowHevcCompressionForDeploymentTarget:(unsigned int)a0;
- (BOOL)shouldAllowPaletteImageCompression;
- (BOOL)shouldAllowPaletteImageCompressionForDeploymentTarget:(unsigned int)a0;
- (BOOL)shouldCreate2018ForwardstopForLossless;
- (BOOL)shouldCreate2019ForwardstopForLossless;
- (BOOL)shouldGenerateDisplayGamut:(unsigned int)a0;
- (BOOL)shouldGenerateScale:(unsigned int)a0;
- (BOOL)shouldPerformHistogramBasedPacking;
- (id)sizeClassWithIdentifier:(long long)a0;
- (id)sizeClasses;
- (id)sizeWithIdentifier:(long long)a0;
- (id)slicesComputedForImageSize:(struct CGSize { double x0; double x1; })a0 usingSliceInsets:(struct { double x0; double x1; double x2; double x3; })a1 resizableSliceSize:(struct CGSize { double x0; double x1; })a2 withRenditionType:(long long)a3;
- (id)stateWithIdentifier:(long long)a0;
- (id)templateRenderingModeWithIdentifier:(long long)a0;
- (id)textureFaceWithIdentifier:(long long)a0;
- (id)textureFaces;
- (id)textureInterpretaitionWithIdentifier:(unsigned int)a0;
- (id)themeBitSourceFolderName;
- (id)themeConstant:(id)a0 withIdentifier:(long long)a1;
- (const struct _renditionkeyfmt { unsigned int x0; unsigned int x1; unsigned int x2; unsigned int x3[0]; } *)untrimmedRenditionKeyFormat;
- (id)updateAutomaticTexturesForCustomInfos:(id)a0 allTextureInfos:(id)a1;
- (void)updateRenditionSpec:(id)a0;
- (id)updateToEmbeddedSchemaVersion2AndReturnAlertString:(id *)a0;
- (id)updatedVersionsMetadataFromMetadata:(id)a0;
- (id)valueWithIdentifier:(long long)a0;
- (id)vectorGlyphRenderingModeWithIdentifier:(long long)a0;

@end