Adobe.com
Contents Suites Classes Class Index Member Index

AIPreferenceKeys.h

Go to the documentation of this file.
00001 #ifndef __AIPreferenceKeys__
00002 #define __AIPreferenceKeys__
00003 
00004 /*
00005  *        Name: AIPreferenceKeys.h
00006  *     Purpose: To define shared preference keys, defaults, and other
00007  *              relevant information.
00008  *       Notes: When sharing preferences between plugins and the main app,
00009  *              either a) use a null prefix, or b) access the preferences from
00010  *              the main app via the AIPreference suite.
00011  *
00012  * ADOBE SYSTEMS INCORPORATED
00013  * Copyright 2001-2014 Adobe Systems Incorporated.
00014  * All rights reserved.
00015  *
00016  * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00017  * in accordance with the terms of the Adobe license agreement 
00018  * accompanying it. If you have received this file from a source other 
00019  * than Adobe, then your use, modification, or distribution of it 
00020  * requires the prior written permission of Adobe.
00021  *
00022  */
00023 
00025 #define kUseLowResProxyPrefix nullptr
00026 
00027 #define kUseLowResProxySuffix ((const char *)"useLowResProxy")
00028 
00029 const bool kUseLowResProxyDefault= false;
00030 
00031 
00033 #define kDisplayBitmapsAsAntiAliasedPixelPreviewPrefix nullptr
00034 
00035 #define kDisplayBitmapsAsAntiAliasedPixelPreviewSuffix ((const char *)"DisplayBitmapsAsAntiAliasedPixelPreview")
00036 
00037 const bool kDisplayBitmapsAsAntiAliasedPixelPreviewDefault= false;
00038 
00039 
00040 
00042 #define kEPSResolutionPrefix nullptr
00043 
00044 #define kEPSResolutionSuffix    ((const char *)"EPSResolution")
00045 
00046 const ai::int32 kEPSResolutionDefault = 300;
00047 
00049 #define kFileClipboardPrefix ((const char *)"FileClipboard")
00050 
00051 #define kLinkOptionsSuffix ((const char *)"linkoptions")
00052 
00053 enum UpdateLinkOptions {AUTO, MANUAL, ASKWHENMODIFIED};
00055 const UpdateLinkOptions kLinkOptionsDefault= ASKWHENMODIFIED;
00056 
00058 #define kEnableOPIPrefix nullptr
00059 
00060 #define kEnableOPISuffix        ((const char *)"enableOPI")
00061 
00062 const bool kEnableOPIDefault = false;
00063 
00065 #define kcopySVGCodeSuffix              "copySVGCode"
00066 
00067 #define kcopySVGCBFormatSuffix          "copySVGCBFormat"
00068 
00069 #define kcopyAsPDFSuffix                "copyAsPDF"
00070 
00071 #define kcopyAsAICBSuffix               "copyAsAICB"
00072 
00073 #define kappendExtensionSuffix  "appendExtension"
00074 
00075 #define klowerCaseSuffix                "lowerCase"
00076 
00077 #define kflattenSuffix                  "flatten"
00078 
00079 #define kAICBOptionSuffix           "AICBOption"
00080 
00081 
00082 
00084 enum  AICBOptions {PRESERVE_PATH, PRESERVE_APPEARANCE_OVERPRINT};
00086 const AICBOptions kAICBOptionsDefault= PRESERVE_APPEARANCE_OVERPRINT;
00087 
00090 #define kUseVersionCue                  "useVersionCue"
00091 
00098 #define kAIPrefKeyOnscreenBlackPres                     ((const char*) "blackPreservation/Onscreen")
00099 
00101 #define kAIPrefDefaultOnscreenBlackPres         true
00102 
00109 #define kAIPrefKeyExportBlackPres                       ((const char*) "blackPreservation/Export")
00110 
00112 #define kAIPrefDefaultExportBlackPres           true
00113 
00117 #define kAIPrefKeyGuideStyle ((const char*)"Guide/Style")
00118 
00120 #define kAIPrefGuideStyleSolid 0
00121 
00123 #define kAIPrefGuideStyleDashed 1
00124 
00126 #define kAIPrefDefaultGuideStyle kAIPrefGuideStyleSolid
00127 
00131 #define kAIPrefKeyGuideColorRed ((const char*)"Guide/Color/red")
00132 
00134 #define kAIPrefDefaultGuideColorRed             (0x4A3D/65535.0f)
00135 
00139 #define kAIPrefKeyGuideColorGreen ((const char*)"Guide/Color/green")
00140 
00142 #define kAIPrefDefaultGuideColorGreen           (1.0f)
00143 
00147 #define kAIPrefKeyGuideColorBlue ((const char*)"Guide/Color/blue")
00148 
00150 #define kAIPrefDefaultGuideColorBlue            (1.0f)
00151 
00155 #define kAIPrefKeySmartGuideColorRed ((const char*)"snapomatic/Color/red_19_2")
00156 
00158 #define kAIPrefDefaultSmartGuideColorRed                (1.0f)
00159 
00163 #define kAIPrefKeySmartGuideColorGreen ((const char*)"snapomatic/Color/green_19_2")
00164 
00166 #define kAIPrefDefaultSmartGuideColorGreen              (0x4A3D/65535.0f)
00167 
00171 #define kAIPrefKeySmartGuideColorBlue ((const char*)"snapomatic/Color/blue_19_2")
00172 
00174 #define kAIPrefDefaultSmartGuideColorBlue               (1.0f)
00175 
00179 #define kAIPrefKeyShowSliceNumbers ((const char*)"plugin/AdobeSlicingPlugin/showSliceNumbers")
00180 
00182 #define kAIPrefDefaultShowSliceNumbers                  true
00183 
00187 #define kAIPrefKeySlicingFeedbackColorRed ((const char*)"plugin/AdobeSlicingPlugin/feedback/red")
00188 
00190 #define kAIPrefDefaultSlicingFeedbackColorRed   (0xFFFF)
00191 
00195 #define kAIPrefKeySlicingFeedbackColorGreen ((const char*)"plugin/AdobeSlicingPlugin/feedback/green")
00196 
00198 #define kAIPrefDefaultSlicingFeedbackColorGreen (0x4A3D)
00199 
00203 #define kAIPrefKeySlicingFeedbackColorBlue ((const char*)"plugin/AdobeSlicingPlugin/feedback/blue")
00204 
00206 #define kAIPrefDefaultSlicingFeedbackColorBlue  (0x4A3D)
00207 
00212 #define kAIPrefKeyTextGreekingThreshold ((const char*)"text/greekingThreshold")
00213 
00215 #define kAIPrefDefaultTextGreekingThreshold             (6.0f)
00216 
00220 #define kAIPrefKeyTextFontEnglishName ((const char*)"text/useEnglishFontNames")
00221 
00223 const bool kAIPrefDefaultTextFontEnglishName = false;
00224 
00228 #define kAIPrefKeyTextFontFaceSize ((const char*)"text/fontMenu/faceSizeMultiplier")
00229 
00231 const  ai::int32 kAIPrefDefaultTextFontFaceSize = 1;
00232 
00236 #define kAIPrefKeyTextFontShowInFace ((const char*)"text/fontMenu/showInFace")
00237 
00239 const bool kAIPrefDefaultTextFontShowInFace = true;
00240 
00244 #define kAIPrefKeyTextFontGroupByLang ((const char*)"text/groupTypeMenuByLanguage")
00245 
00247 const bool kAIPrefDefaultTextFontGroupByLang = true;
00248 
00252 #define kAIPrefKeyTextFontSubMenuInFace ((const char*)"text/fontMenu/showSubMenusInFace")
00253 
00255 const bool kAIPrefDefaultTextFontSubMenuInFace = false;
00256 
00260 #define kAIPrefKeyLegacyGradientMeshConversionOptions ((const char*) "open/legacyGradientMeshConversion")
00261 
00263 enum  LegacyGradientMeshConversionOptions {MESH_UNKNOWN, MESH_PRESERVE_SPOT, MESH_PRESERVE_APPEARANCE};
00264 
00267 #define kAIPrefKeySelectionTolerance ((const char*) "selectionTolerance")
00268 
00270 #define  kAIPrefDefaultSelectionTolerance (3)
00271 
00274 #define kAIPrefKeyTWSSelectionTolerance ((const char*) "tws/SelectionTolerance")
00275 
00277 #define  kAIPrefDefaultTWSSelectionTolerance (10)
00278 
00281 #define  kAIPrefDefaultCornerAngleLimit (177.0)
00282 
00285 #define kAIPrefKeyScaleStrokesAndEffects                        ((const char*)"scaleLineWeight")
00286 
00288 #define kAIPrefKeyHighlightAnchorOnMouseover            ((const char*)"highlightAnchorOnMouseOver")
00289 
00291 const bool kAIPrefKeyHighlightAnchorOnMouseoverDefault = true;
00292 
00296 #define kShowArtboardConversionDialogKey                        ((const char*) "LegacyArtboardOptions/ShowDialog")
00297 
00300 #define kAIArtboardConversionDialogArtboardKey          ((const char*) "LegacyArtboardOptions/artboard")
00301 
00304 #define kAIArtboardConversionDialogCropAreaKey          ((const char*) "LegacyArtboardOptions/cropAreas")
00305 
00308 #define kAIArtboardConversionDialogTilesKey                     ((const char*) "LegacyArtboardOptions/pageTiles")
00309 
00312 #define kAIArtboardConversionDialogArtworkBoundsKey     ((const char*) "LegacyArtboardOptions/artworkBounds")
00313 
00317 #define kAIPrefKeyShowPixelGrid ((const char*)"Guide/ShowPixelGrid")
00318 
00320 #define kAIPrefDefaultShowPixelGrid             TRUE
00321 
00324 #define kAIPrefKeyShowLinkInfo          ((const char*)"showLinkInfo")
00325 
00327 const bool kAIPrefKeyShowLinkInfoDefault = false;
00328 
00332 #define kAIPrefCreativeCloudPreferences ((const char*)"CreativeCloud/preferences")
00333 
00335 #define kAIPrefDefaultCreativeCloudPreferences          TRUE
00336 
00340 #define kAIPrefCreativeCloudSwatches ((const char*)"CreativeCloud/Swatches")
00341 
00343 #define kAIPrefDefaultCreativeCloudSwatches             TRUE
00344 
00345 
00349 #define kAIPrefCreativeCloudPresets ((const char*)"CreativeCloud/Presets")
00350 
00352 #define kAIPrefDefaultCreativeCloudPresets              TRUE
00353 
00357 #define kAIPrefCreativeCloudSymbols ((const char*)"CreativeCloud/Symbols")
00358 
00360 #define kAIPrefDefaultCreativeCloudSymbols              TRUE
00361 
00365 #define kAIPrefCreativeCloudBrushes ((const char*)"CreativeCloud/Brushes")
00366 
00368 #define kAIPrefDefaultCreativeCloudBrushes              TRUE
00369 
00373 #define kAIPrefCreativeCloudGraphicStyles ((const char*)"CreativeCloud/GraphicStyles")
00374 
00376 #define kAIPrefDefaultCreativeCloudGraphicStyles                TRUE
00377 
00381 #define kAIPrefCreativeCloudWorkspaces ((const char*)"CreativeCloud/Workspaces")
00382 
00384 #define kAIPrefDefaultCreativeCloudWorkspaces           TRUE
00385 
00389 #define kAIPrefCreativeCloudKBS ((const char*)"CreativeCloud/KBS")
00390 
00392 #define kAIPrefDefaultCreativeCloudKBS          TRUE
00393 
00394 
00398 #define kAIPrefCreativeCloudAsianSettings ((const char*)"CreativeCloud/AsianSettings")
00399 
00401 #define kAIPrefDefaultCreativeCloudAsianSettings                TRUE
00402 
00406 #define kAIPrefCreativeCloudConflictHandling ((const char*)"CreativeCloud/ConflictHandling")
00407 
00409 #define kAIPrefDefaultCreativeCloudConflictHandling             AIPreferenceUtil::kAskMe
00410 
00414 #define kAIPrefCreativeCloudSyncPopup ((const char*)"CreativeCloud/SyncPopup")
00415 
00417 #define kAIPrefDefaultCreativeCloudSyncPopup            AIPreferenceUtil::kAllSettings
00418 
00422 #define kAIPrefLiveShapesConstrainDimensions            ((const char*)"LiveShapes/constrainDimensions")
00423 
00425 #define kAIPrefDefaultLiveShapesConstrainDimensions             TRUE
00426 
00430 #define kAIPrefLiveShapesConstrainRadii         ((const char*)"LiveShapes/constrainRadii")
00431 
00433 #define kAIPrefDefaultLiveShapesConstrainRadii          TRUE
00434 
00438 #define kAIPrefLiveShapesConstrainPieAngles     ((const char*)"LiveShapes/constrainPieAngles")
00439 
00441 #define kAIPrefDefaultLiveShapesConstrainPieAngles              FALSE
00442 
00446 #define kAIPrefLiveShapesAutoShowPropertiesUI           ((const char*)"LiveShapes/autoShowPropertiesUIOnCreatingShape")
00447 
00449 #define kAIPrefDefaultLiveShapesAutoShowPropertiesUI            FALSE
00450 
00454 #define kAIPrefLiveShapesHideWidgetsForShapeTools               ((const char*)"LiveShapes/hideWidgetsForShapeTools")
00455 
00457 #define kAIPrefDefaultLiveShapesHideWidgetsForShapeTools        FALSE
00458 
00462 #define kAIPrefPreserveCornersPolicy                                    ((const char*)"policyForPreservingCorners")
00463 
00465 enum CornerPreservePolicy { kAIPrefScaleCornersRadii = 1, kAIPrefMaintainCornersRadii };
00468 const CornerPreservePolicy kAIPrefDefaultPreserveCornersPolicy = kAIPrefMaintainCornersRadii;
00469 
00472 #define kAIPrefPerformanceGPUSupported ((const char*)"Performance/GPUSupported")
00473 
00475 #define kAIPrefPerformanceEnableGPU ((const char*)"Performance/EnableGPU_Ver19_2")
00476 
00479 #define kAIPrefPerformanceAnimZoom ((const char*)"Performance/AnimZoom")
00480 
00483 #define kAIPrefPerformanceEnableThinFilledPaths ((const char*)"Performance/EnableThinFilledPaths")
00484 
00486 #define kAIPrefDefaultPerformanceEnableThinFilledPaths          false
00487 
00490 #define kAIPrefPerformanceEnableCMYK ((const char*)"Performance/EnableCMYK")
00491 
00493 #define kAIPrefDefaultPerformanceEnableCMYK             false
00494 
00497 #define kAIPrefPerformanceDisplaySetting ((const char*)"Performance/DisplaySetting")
00498 
00500 #define kAIPrefDefaultPerformanceDisplaySetting         (0)
00501 
00504 #define kAIPrefPerformanceMSAAValue ((const char*)"Performance/MSAAValue")
00505 
00507 #define kAIPrefDefaultPerformanceMSAAValue              (0)
00508 
00511 #define kAIPrefCrashRecoveryAutomaticallySave ((const char*)"CrashRecovery/AutomaticallySave")
00512 
00515 #define kAIPrefCrashRecoveryIdleLoopTimeInterval ((const char*)"CrashRecovery/IdleLoopTimeInterval")
00516 
00519 #define kAIPrefCrashRecoveryFolderLocation      ((const char*)"CrashRecovery/RecoveryFolderLocation")
00520 
00523 #define kAIPrefCrashRecoveryTurnOffForComplexDocument   ((const char*)"CrashRecovery/TurnOffForComplexDocument")
00524 
00527 #define kAIPrefScaleUI ((const char*)"UIPreferences/scaleUI")
00528 
00530 #define kAIPrefDefaultScaleUI           true
00531 
00534 #define kAIPrefWorkspaceTabsSize ((const char*)"UIPreferences/workspaceTabsSize")
00535 
00537 enum WorkspaceTabSize { kAIPrefTabSize_Small = 1, kAIPrefTabSize_Large };
00540 const WorkspaceTabSize kAIPrefDefaultTabSize = kAIPrefTabSize_Large;
00541 
00544 #define kAIPrefSnapUIScaleFactor ((const char*)"UIPreferences/snapUIScaleFactor")
00545 
00547 #define kAIPrefDefaultSnapUIScaleFactor         1
00548 
00552 #define kAIPrefTWSKeyboardDetach ((const char*)"TouchPreferenceUI/TWSKeyboardDetach")
00553 
00555 #define kAIPrefDefaultTWSKeyboardDetach         true
00556 
00559 #define kAIPrefPreciseCursors ((const char*)"TouchPreferenceUI/PreciseCursor")
00560 
00562 #define kAIPrefDefaultPreciseCursors    true
00563 
00565 #define kAIPrefShaperConstrainScale                     ((const char*)"shaper/constrainScaling")
00566 
00568 #define kAIPrefShaperConstrainScaleDefault  false
00569 
00572 #define kAIPrefSoftMessageDuration ((const char*)"TouchPreferenceUI/SoftMessageDuration")
00573 
00575 #define kAIPrefDefaultSoftMessageDuration (4.0f)
00576 
00580 #define kAIPrefEnableCCCharts ((const char*)"ExpFeaturesPreferenceUI/EnableCCCharts")
00581 
00583 #define kAIPrefDefaultEnableCCCharts    false
00584 
00587 #define kAIPrefTextBoxAutoSizing ((const char*)"text/autoSizing")
00588 
00590 #define kAIPrefTextBoxAutoSizingDefaultValue    false
00591 
00594 #define kAIPrefFillWithDefaultText ((const char*)"text/fillWithDefaultText")
00595 
00597 #define kAIPrefFillWithDefaultTextDefaultValue  true
00598                 
00601 #define kAIPrefDontShowMissingFontDlg           ((const char*)"DontShowMissingFontDialogPreference")
00602 
00604 const bool kAIPrefDontShowMissingFontDlgDefault = false;
00605 
00608 #define kAIPrefAutoAssignUIDsForDocCreated              ((const char*)"AutoAssignUIDsForDocCreatedPreference")
00609 
00611 const bool kAIPrefAutoAssignUIDsForDocCreatedDefault = false;
00612 
00615 #define kAIPrefAutoAssignUIDsForDocOpened               ((const char*)"AutoAssignUIDsForDocOpenedPreference")
00616 
00618 const bool kAIPrefAutoAssignUIDsForDocOpenedDefault = false;
00619 
00622 #define kAIPrefHideCornerWidgetBasedOnAngle             ((const char*)"liveCorners/hideCornerWidgetBasedOnAngle")
00623 
00625 const bool kAIPrefHideCornerWidgetBasedOnAngleDefault = true;
00626 
00629 #define kAIPrefCornerAngleLimit                                 ((const char*)"liveCorners/cornerAngleLimit")
00630 
00633 #define kAIPrefShowBoundingBox                                  ((const char*)"showBoundingBox")
00634 
00635 
00636 #define kShowRecentFileWSKey                                    ((const char*)"Hello/RecentFileWS")
00637 
00639 const bool kAIPrefShowRecentFileWSDefault = false;
00640 
00641 #define kShowNewDocDialogKey                                    ((const char*)"Hello/NewDoc")
00642 
00644 const bool kAIPrefShowNewDocDialogDefault = false;
00645 
00646 #define kShowHomeScreenWSKey                                    ((const char*)"Hello/ShowHomeScreenWS")
00647 
00649 const bool kAIPrefShowHomeScreenWSDefault = true;
00650 
00653 #define kAISnappingPrefShowToolGuides                   ((const char*)"smartGuides/showToolGuides")
00654 
00656 const bool kAISnappingPrefShowToolGuidesDefault = false;
00657 
00659 #define kAIRecentFileNumberPrefix nullptr
00660 
00661 #define kAIRecentFileNumberSuffix ((const char *)"RecentFileNumber")
00662 
00663 const unsigned int kAIRecentFileNumberDefault = 20;
00664 
00667 #define kAISnappingPrefAngularTolerance                 ((const char*)"smartGuides/angularTolerance")
00668 
00670 const ai::int32 kAISnappingPrefAngularToleranceDefault = 2;
00671 
00675 #define kAIPrefCreateLiveShapes                                 ((const char*)"LiveShapes/createLiveShapes")
00676 
00678 #define kAIPrefDefaultCreateLiveShapes                  TRUE
00679 
00683 #define kAIPrefWindowsUseUNCPath                                        ((const char*)"FilePath/WindowsUseUNCPath")
00684 
00686 #define kAIPrefDefaultWindowsUseUNCPath                 FALSE
00687 
00689 const unsigned int kRecentPresetsNumberDefault = 20;
00690 
00693 #define kApplicationBarSearchOption             ((const char*) "layout/0/ApplicationBarOption")
00694 
00696 #define kAIRecentFontNumberPrefix nullptr
00697 
00698 #define kAIRecentFontNumberSuffix ((const char *)"text/recentFontMenu/showNEntries")
00699 
00700 const unsigned int kAIRecentFontNumberDefault = 10;
00701 
00704 #define kAIPrefKeyMissingGlyphPrefix nullptr
00705 
00707 #define kAIPrefKeyTextMissingGlyphSuffix ((const char*)"text/doFontLocking")
00708 
00710 const bool kAIPrefDefaultTextMissingGlyph = true;
00711 
00712 
00713 #endif


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks