Adobe.com
Contents Suites Classes Class Index Member Index

AIFlashPrefs.h

Go to the documentation of this file.
00001 /*
00002  *        Name: AIFlashPrefs.h
00003  *
00004  * ADOBE SYSTEMS INCORPORATED
00005  * Copyright 1999-2007 Adobe Systems Incorporated.
00006  * All rights reserved.
00007  *
00008  * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00009  * in accordance with the terms of the Adobe license agreement 
00010  * accompanying it. If you have received this file from a source other 
00011  * than Adobe, then your use, modification, or distribution of it 
00012  * requires the prior written permission of Adobe.
00013  *
00014  */
00015 
00016 //-----------------------------------------------------------------------------
00017 
00018 #ifndef AIFLASHPREFS_H
00019 #define AIFLASHPREFS_H
00020 
00021 #include "AIUnicodeString.h"
00022 #include "AIHeaderBegin.h"
00023 
00027 typedef enum _FlashExportOption
00028 {
00030         exportAIFileToSWFFile = 1,
00032         exportAILayersToSWFFrames,
00034         exportAILayersToSWFFiles,
00036         exportAILayersToSWFSymbols,
00038         exportMultipleArtboards
00039 } FlashExportOption;
00040 
00042  typedef enum _FlashExportVersion
00043  {
00044         swfVersion1 = 1,
00045         swfVersion2,
00046         swfVersion3,
00047         swfVersion4,
00048         swfVersion5,
00049         swfVersion6,
00050         swfVersion7,
00051         swfVersion8,
00052         swfVersion9
00053  } FlashExportVersion;
00054 
00056 typedef enum _FlashOutputSize
00057 {
00059         outputArtBounds = 1,
00061         outputCropAreaBounds,
00063         outputArtboardBounds
00064 } FlashOutputSize;
00065 
00067 typedef enum _FlashImageFormat
00068 {
00070         formatZLIB = 1,
00072         formatJPEG_
00073 } FlashImageFormat;
00074 
00076 typedef enum _FlashJPEGQuality
00077 {
00078         qualityLow = 1,
00079         qualityMedium,
00080         qualityHigh,
00081         qualityMaximum
00082 } FlashJPEGQuality;
00083 
00085 typedef enum _FlashJPEGMethod
00086 {
00087         methodBaseline = 1,
00088         methodOptimized
00089 } FlashJPEGMethod;
00090 
00092 typedef enum _FlashPlaybackSecurity
00093 {
00094         methodLocalFilesOnly = 1,
00095         methodNetworkFilesOnly
00096 } FlashPlaybackSecurity;
00097 
00098 
00100 typedef enum _FlashOverwriteOption
00101 {
00102         kAskBeforeReplacingFile = 1,
00103         kAlwaysReplaceExistingFile,
00104         kNeverReplaceExistingFile
00105 } FlashOverwriteOption;
00106 
00108 typedef enum _FlashAnimateBlendOption {
00109         kAnimateBlendNone = 0,
00110         kAnimateBlendInSequence = 1,
00111         kAnimateBlendInBuild
00112 } FlashAnimateBlendOption ;
00113 
00115 typedef struct _FlashOptions
00116 {
00118         ASUnicode                               m_presetName[256];
00120         FlashExportOption               m_exportOption;
00122         FlashExportVersion              m_exportVersion;
00125         AIReal                                  m_frameRate;
00127         AIBoolean                               m_looping;
00131         AIBoolean                               m_readOnly;
00133         FlashOutputSize                 m_outputSize;
00137         int                             m_curveQuality;
00139         FlashImageFormat                m_imageFormat;
00141         FlashJPEGQuality                m_jpegQuality;
00143         FlashJPEGMethod                 m_jpegMethod;
00145         AIReal                                  m_imageResolution;
00147         FlashOverwriteOption    m_overwriteOption;
00149         AIBoolean                               m_flattenArtwork;
00153         AIBoolean                               m_useBackground;
00157         ai::int32                               *m_bgLayerIndex;
00159         FlashAnimateBlendOption m_animateBlendOption;
00161         AIBoolean                               m_orderLayersTopDown;
00163         AIRGBColor                              m_backgoundColor;
00165         AIBoolean                               m_exportTextAsOutlines;
00167         AIBoolean                               m_compressFile;
00169         AIBoolean                               m_exportArtboardSymbols;
00171         AIBoolean                               m_ignoreTextKerning;
00173         FlashPlaybackSecurity   m_playbackSecurity;
00176         AIBoolean                               m_includeMetadata;
00177 } FlashOptions;
00178 
00179 //-----------------------------------------------------------------------------
00180 
00181 #define kFlashPrefPrefix                                        "FlashFormat"
00182 
00183 #define kFlashPrefPresetName                            "FlashExportPreset"
00184 
00185 #define kFlashPrefAdvancedOptions                       "FlashAdvancedOptions"
00186 #define kFlashPrefDefaultAdvancedOptions        false
00187 
00188 #define kFlashPrefExportOption                          "FlashExportOption"
00189 #define kFlashPrefDefaultExportOption           exportAIFileToSWFFile
00190 
00191 #define kFlashPrefExportVersion                         "FlashExportVersion"
00192 #define kFlashPrefDefaultExportVersion          swfVersion9
00193 
00194 #define kFlashPrefFrameRate                                     "FlashFrameRate"
00195 #define kFlashPrefDefaultFrameRate                      12.0
00196 
00197 #define kFlashPrefLooping                                       "FlashLooping"
00198 #define kFlashPrefDefaultLooping                        false
00199 
00200 #define kFlashPrefReadOnly                                      "FlashReadOnly"
00201 #define kFlashPrefDefaultReadOnly                       false
00202 
00203 #define kFlashPrefOutputSize                            "FlashOutputSize"
00204 #define kFlashPrefDefaultOutputSize                     outputArtBounds
00205 
00206 #define kFlashPrefCurveQuality                          "FlashCurveQuality"
00207 #define kFlashPrefDefaultCurveQuality           7
00208 
00209 #define kFlashPrefImageFormat                           "FlashImageFormat"
00210 #define kFlashPrefDefaultImageFormat            formatZLIB
00211 
00212 #define kFlashPrefJPEGQuality                           "FlashJPEGQuality"
00213 #define kFlashPrefDefaultJPEGQuality            (FlashJPEGQuality)3
00214 
00215 #define kFlashPrefJPEGMethod                            "FlashJPEGMethod"
00216 #define kFlashPrefDefaultJPEGMethod                     methodBaseline
00217 
00218 #define kFlashPrefImageResolution                       "FlashImageResolution"
00219 #define kFlashPrefDefaultImageResolution        72.0
00220 
00221 #define kFlashPrefOverwriteOption                       "FlashOverwriteOption"
00222 #define kFlashPrefDefaultOverwriteOption        kAskBeforeReplacingFile
00223 
00224 #define kFlashPrefPreserveAppearance            "FlashPreserveAppearance"
00225 #define kFlashPrefDefaultPreserveAppearance     false
00226 
00227 #define kFlashPrefUseBackground                         "FlashUseBackground"
00228 #define kFlashPrefDefaultUseBackground          false
00229 
00230 #define kFlashPrefAnimateBlendOption            "FlashAnimateBlendOption"
00231 #define kFlashPrefDefaultAnimateBlendOption kAnimateBlendNone
00232 
00233 #define kFlashPrefOrderLayersOption                     "FlashOrderLayersTopDown"
00234 #define kFlashPrefDefaultOrderLayersOption      false
00235 
00236 #define kFlashPrefTextAsOutlines                        "FlashTextAsOutlines"
00237 #define kFlashPrefDefaultTextAsOutlines         true
00238 
00239 #define kFlashPrefBackgroundColorRed            "FlashBackgroundColorRed"
00240 #define kFlashPrefDefaultBackGroundRed          0xFFFF
00241 
00242 #define kFlashPrefBackgroundColorGreen          "FlashBackgroundColorGreen"
00243 #define kFlashPrefDefaultBackGroundGreen        0xFFFF
00244 
00245 #define kFlashPrefBackgroundColorBlue           "FlashBackgroundColorBlue"
00246 #define kFlashPrefDefaultBackGroundBlue         0xFFFF
00247 
00248 #define kFlashPrefCompressFile                          "FlashCompressFile"
00249 #define kFlashPrefDefaultCompressFile           false
00250 
00251 
00252 #define kFlashPrefExportArtboardSymbols         "FlashArtboardSymbols"
00253 #define kFlashPrefDefaultExportArtboardSymbols false
00254 
00255 #define kFlashPrefIgnoreTextKerning                     "FlashIgnoreTextKerning"
00256 #define kFlashPrefDefaultIgnoreTextKerning      false
00257 
00258 #define kFlashPrefPlaybackSecurity                      "FlashLocalPlaybackSecurity"
00259 #define kFlashPrefDefaultPlaybackSecurity       methodLocalFilesOnly
00260 
00261 #define kFlashPrefIncludeMetadata                       "FlashXMPMetadata"
00262 #define kFlashPrefDefaultIncludeMetadata        false
00263 
00264 
00265 #include "AIHeaderEnd.h" // __cplusplus
00266 
00267 #endif


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