![]() |
AISVGAction.hGo to the documentation of this file.00001 #ifndef _AISVGACTION_H_ 00002 #define _AISVGACTION_H_ 00003 00004 /* 00005 * Name: AISVGAction.h 00006 * $Revision: 1 $ 00007 * Author: 00008 * Date: 00009 * Purpose: Adobe Illustrator SVG Action Parameters. 00010 * 00011 * ADOBE SYSTEMS INCORPORATED 00012 * Copyright 1986-2014 Adobe Systems Incorporated. 00013 * All rights reserved. 00014 * 00015 * NOTICE: Adobe permits you to use, modify, and distribute this file 00016 * in accordance with the terms of the Adobe license agreement 00017 * accompanying it. If you have received this file from a source other 00018 * than Adobe, then your use, modification, or distribution of it 00019 * requires the prior written permission of Adobe. 00020 * 00021 */ 00022 00023 #include "AIDocumentAction.h" 00024 #include "AISVGTypes.h" 00025 00026 00027 // ----------------------------------------------------------------------------- 00028 // The following parameters can be specified when saving to SVG. To save a file 00029 // as SVG issue an export action (kAISaveDocumentAsAction). Specify one of the 00030 // formats and extensions below for the format key. 00031 // ----------------------------------------------------------------------------- 00032 00036 #define kAISVGFileFormat "svg file format" 00037 00040 #define kAISVGFileFormatExtension "svg" 00041 00045 #define kAISVGCompressedFileFormat "svg compressed file format" 00046 00049 #define kAISVGCompressedFileFormatExtension "svgz" 00050 00051 // Standard SVG Options 00054 const ActionParamKeyID kAISVGImageFormatKey = 'iFmt'; // enum AIImageFormats 00057 const ActionParamKeyID kAISVGPrecisionKey = 'Prcs'; // enum AISVGCoordinatePrecision 00060 const ActionParamKeyID kAISVGRenderingKey = 'Rndr'; // enum AISVGRendering 00062 const ActionParamKeyID kAISVGZoomKey = 'ZooM'; // bool 00064 const ActionParamKeyID kAISVGSystemFontKey = 'SYFt'; // bool 00067 const ActionParamKeyID kAISVGFontSubsettingKey = 'FSbs'; // enum AISVGFontSubsetting 00070 const ActionParamKeyID kAISVGFontLocationKey = 'FLct'; // enum AISVGFileLocation 00073 const ActionParamKeyID kAISVGEncodingKey = 'Encd'; // enum AISVGDocumentEncoding 00076 const ActionParamKeyID kAISVGCompressionKey = 'Cmzn'; // enum AISVGFileCompression 00079 const ActionParamKeyID kAISVGStyleTypeKey = 'StTp'; // enum AISVGStyle 00082 const ActionParamKeyID kAISVGFontFormatKey = 'fFmt'; // enum AISVGFontType 00083 00084 00085 00086 // Illustrator-specific SVG Options 00087 00090 const ActionParamKeyID kAISVGWidthUnitKey = 'WunT'; // enum AISVGUnits 00093 const ActionParamKeyID kAISVGHeightUnitKey = 'HunT'; // enum AISVGUnits 00096 const ActionParamKeyID kAISVGResolutionUnitKey = 'RzUt'; // enum AISVGResolution 00099 const ActionParamKeyID kAISVGEmbedFontFormatsKey = 'EFFt'; // enum AISVGEmbedFontFormats 00102 const ActionParamKeyID kAISVGEmbedRasterLocationKey = 'RLoc'; // enum AISVGRasterLocation 00105 const ActionParamKeyID kAISVGRasterResolutionKey = 'RsRl'; // integer 00108 const ActionParamKeyID kAISVGGradientTolerenceKey = 'GrTl'; // real 00111 const ActionParamKeyID kAISVGTextOnPathKey = 'ToPt'; // enum AISVGTextOnPath 00114 const ActionParamKeyID kAISVGExportConstrainProportionsKey = 'Cstp'; // bool 00117 const ActionParamKeyID kAISVGExportClipToArtboardKey = 'CTab'; // bool 00120 const ActionParamKeyID kAISVGExportRoundTripKey = 'Rrtr'; // bool 00123 const ActionParamKeyID kAISVGIncludeAdobeNameSpaceKey = 'Anxp'; // bool 00126 const ActionParamKeyID kAISVGIncludeTemplateKey = 'Temt'; // bool 00129 const ActionParamKeyID kAISVGViewBoxKey = 'VieW'; // data AISVGRect 00132 const ActionParamKeyID kAISVGIncludePGFKey = 'Ipgf'; // bool 00135 const ActionParamKeyID kAISVGIncludeXAPKey = 'IXAP'; // bool 00138 const ActionParamKeyID kAISVGIncludeSlicesKey = 'ISlc'; // bool 00141 const ActionParamKeyID kAISVGDTDKey = 'DTDt'; // enum AISVGDTD 00144 const ActionParamKeyID kAISVGFontTypeKey = 'FTKt'; // enum AISVGFontType 00147 const ActionParamKeyID kAISVGDisbleAutoKerningKey = 'IDAK'; // bool 00150 const ActionParamKeyID kAISVGUseSVGTextOnPathKey = 'ITOP'; // bool 00153 const ActionParamKeyID kCopyingSVG = 'Copy'; //bool 00156 const ActionParamKeyID kAISVGIncludeUnusedStylesKey = 'IUSt'; // bool 00159 const ActionParamKeyID kAISVGGenerateResponsiveSVGKey = 'GRSv'; // bool 00162 const ActionParamKeyID kAISVGIdTypeKey = 'IdTK'; // enum AISVGIdType 00165 const ActionParamKeyID kAISVGMinifyKey = 'mnfy'; // bool 00168 const ActionParamKeyID kAISVGResponsiveKey = 'rpsv'; // bool 00171 const ActionParamKeyID kAISVGExportActionKey = 'SiEK'; //bool 00172 00173 #endif // _AISVGACTION_H_ |
||||||
|
![]() |
|