Adobe.com
Contents Suites Classes Class Index Member Index

AIPDFFormatAction.h

Go to the documentation of this file.
00001 #ifndef _AIPDFFORMATACTION_H_
00002 #define _AIPDFFORMATACTION_H_
00003 
00004 /*
00005  *        Name: AIPDFFormatAction.h
00006  *   $Revision: 1 $
00007  *      Author: Hiromi M. Watanabe
00008  *        Date: 7/24/2002
00009  *     Purpose: Adobe Illustrator PDF Action Parameters.
00010  *
00011  * ADOBE SYSTEMS INCORPORATED
00012  * Copyright 1986-2007 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 #ifndef __AIActionManager_h__
00024 #include "AIActionManager.h"
00025 #endif
00026 
00027 // -----------------------------------------------------------------------------
00028 //      Types.
00029 // -----------------------------------------------------------------------------
00030 
00032 typedef enum _AIPDFOptionSet
00033 {
00034         kAIPDFOptionSetCustom  = 0
00035 
00036 } AIPDFOptionSet;
00037 
00039 typedef enum _AIPDFFlattenStyle
00040 {
00041         kAIPDFFlattenStyleCustom  = 0
00042 
00043 } AIPDFFlattenStyle;
00044 
00045 
00046 
00048 typedef enum _AIPDFCompatibility
00049 {
00050         kAIPDFCompatibility13  = 0x0013, // Acrobat 4, PDF 1.3
00051         kAIPDFCompatibility14  = 0x0014,  // Acrobat 5, PDF 1.4
00052         kAIPDFCompatibility15  = 0x0015,  // Acrobat 6, PDF 1.5
00053         kAIPDFCompatibility16  = 0x0016,  // Acrobat 7, PDF 1.6
00054         kAIPDFCompatibility17  = 0x0017  // Acrobat 8, PDF 1.7
00055 } AIPDFCompatibility;
00056 
00057 
00059 typedef enum _AIPDFImageCompression
00060 {
00061         kAIPDFImageNoCompression = 0,
00062         kAIPDFImageCompressionAutomaticJPEGMinimum,
00063         kAIPDFImageCompressionAutomaticJPEGLow,
00064         kAIPDFImageCompressionAutomaticJPEGMedium,
00065         kAIPDFImageCompressionAutomaticJPEGHigh,
00066         kAIPDFImageCompressionAutomaticJPEGMaximum,
00067         kAIPDFImageCompressionJPEGMinimum,
00068         kAIPDFImageCompressionJPEGLow,
00069         kAIPDFImageCompressionJPEGMedium,
00070         kAIPDFImageCompressionJPEGHigh,
00071         kAIPDFImageCompressionJPEGMaximum,
00072         kAIPDFImageCompressionAutomaticJPEG2000Minimum,
00073         kAIPDFImageCompressionAutomaticJPEG2000Low,
00074         kAIPDFImageCompressionAutomaticJPEG2000Medium,
00075         kAIPDFImageCompressionAutomaticJPEG2000High,
00076         kAIPDFImageCompressionAutomaticJPEG2000Maximum,
00077         kAIPDFImageCompressionAutomaticJPEG2000Lossless,
00078         kAIPDFImageCompressionJPEG2000Minimum,
00079         kAIPDFImageCompressionJPEG2000Low,
00080         kAIPDFImageCompressionJPEG2000Medium,
00081         kAIPDFImageCompressionJPEG2000High,
00082         kAIPDFImageCompressionJPEG2000Maximum,
00083         kAIPDFImageCompressionJPEG2000Lossless,
00084         kAIPDFImageCompressionZIP8bit,
00085         kAIPDFImageCompressionZIP4bit
00086 
00087 } AIPDFImageCompression;
00088 
00089 
00090 
00092 typedef enum _AIPDFMonochromeImageCompression
00093 {
00094         kAIPDFMonochromeImageNoCompression = 0,
00095         kAIPDFMonochromeImageCompressionCCITTG3,
00096         kAIPDFMonochromeImageCompressionCCITTG4,
00097         kAIPDFMonochromeImageCompressionZIP,
00098         kAIPDFMonochromeImageCompressionRunLength
00099 
00100 } AIPDFMonochromeImageCompression;
00101 
00102 
00103 
00105 typedef enum _AIPDFDownsampling
00106 {
00107         kAIPDFNoDownsampling = 1,
00108         kAIPDFAverageDownsampling,
00109         kAIPDFSubsampling,
00110         kAIPDFBicubicsampling
00111 
00112 } AIPDFDownsampling;
00113 
00115 typedef enum _AIPDFEncryptionLevel
00116 {
00117         kAIPDF40bitEncryption = 1,
00118         kAIPDF128bitEncryption
00119 
00120 } AIPDFEncryptionLevel;
00121 
00123 typedef enum _AIPDFOverprintOptions
00124 {
00125         kAIPDFOPPreserve = 1,
00126         kAIPDFOPDiscard
00127 
00128 } AIPDFOverprintOptions;
00129 
00131 typedef enum _AIPDFPrinterType
00132 {
00133         kAIPDFPrintMarksStandard = 1,
00134         kAIPDFPrintMarksJapanese
00135 
00136 } AIPDFPrinterType;
00137 
00139 typedef enum _AIPDFPrinterMarkWeight
00140 {
00141         kAIPDFPrintMarksWeight0125 = 1,
00142         kAIPDFPrintMarksWeight025,
00143         kAIPDFPrintMarksWeight05
00144 
00145 } AIPDFPrinterMarkWeight;
00146 
00148 typedef enum _AIPDFPrintingPermit
00149 {
00150         kAIPDFPrint128NoneIndex = 1,
00151         kAIPDFPrint128LowResIndex,
00152         kAIPDFPrint128HighResIndex,
00153         kAIPDFPrint40NoneIndex,
00154         kAIPDFPrint40HighResIndex
00155 
00156 } AIPDFPrintingPermit;
00157 
00159 typedef enum _AIPDFChangesPermit
00160 {
00161         kAIPDFChanges128NoneIndex = 1,
00162         kAIPDFChanges128EditPageIndex,
00163         kAIPDFChanges128FillFormIndex,
00164         kAIPDFChanges128CommentIndex,
00165         kAIPDFChanges128AnyIndex,
00166         kAIPDFChanges40NoneIndex,
00167         kAIPDFChanges40CommentIndex,
00168         kAIPDFChanges40PageLayoutIndex,
00169         kAIPDFChanges40AnyIndex
00170 
00171 } AIPDFChangesPermit;
00172 
00174 typedef ai::int32 AIPDFBoxType;
00175 enum {
00176         kAIPDFArtBox,
00177         kAIPDFCropBox,
00178         kAIPDFTrimBox,
00179         kAIPDFBleedBox,
00180         kAIPDFMediaBox,
00181         kAIPDFBoundingBox
00182 };
00183 
00184 
00188 #define kAIPDFFileFormat                                                                        "PDF File Format"
00189 
00192 #define kAIPDFFileFormatExtension                                                       "pdf"
00193 
00195 const ActionParamKeyID kAIPDFPageIndexKey                                       = 'page'; // integer, page index
00197 const ActionParamKeyID kAIPDFCropToKey                                          = 'crop'; // enum, AIPDFBoxType
00198 
00200 const ActionParamKeyID kAIPDFPageCountKey                                       = 'pgct'; // integer, page count
00201 
00203 const ActionParamKeyID kAIPDFOptionSetKey                                       = 'optn'; // integer, option set index.
00205 const ActionParamKeyID kAIPDFOptionSetNameKey                           = 'opnm'; // string, option set entry name
00206 
00208 const ActionParamKeyID kAIPDFCompatibilityKey                           = 'comp'; // enum AIPDFCompatibility, compatibility
00210 const ActionParamKeyID kAIPDFRoundTripKey                                       = 'rdtr'; // bool, include round trip information, aka PGF
00212 const ActionParamKeyID kAIPDFGenerateThumbnailsKey                      = 'thum'; // bool, generate thumbnails
00214 const ActionParamKeyID kAIPDFViewPDFFileKey                                     = 'vpdf'; // bool, view PDF file after saving
00216 const ActionParamKeyID kAIPDFFastWebViewKey                                     = 'fwev'; // bool, optimize for fast web view
00217 
00219 const ActionParamKeyID kAIPDFColorImageCompressionKindKey       = 'cknd'; // enum AIPDFImageCompression, color image compression kind
00221 const ActionParamKeyID kAIPDFColorImageTileKey                          = 'ctil'; // int, color image tile size
00223 const ActionParamKeyID kAIPDFColorImageResampleKindKey          = 'crsl'; // enum, color image resample kind
00225 const ActionParamKeyID kAIPDFColorImageResolutionKey            = 'cres'; // int, color image resolution (dpi)
00227 const ActionParamKeyID kAIPDFColorImageResampleAboveKey         = 'crab'; // int, resample color image above resolution (dpi)
00228 
00230 const ActionParamKeyID kAIPDFGrayscaleImageCompressionKindKey = 'gknd'; // enum AIPDFImageCompression, gray scale image compression kind
00232 const ActionParamKeyID kAIPDFGrayscaleImageTileKey                      = 'gtil'; // int, grayscale image tile size
00234 const ActionParamKeyID kAIPDFGrayscaleImageResampleKindKey      = 'grsl'; // enum, grayscale image resample
00236 const ActionParamKeyID kAIPDFGrayscaleImageResolutionKey        = 'gres'; // int, grayscale image resolution
00238 const ActionParamKeyID kAIPDFGrayImageResampleAboveKey          = 'grab'; // int, resample grayscale image above resolution (dpi)
00239 
00241 const ActionParamKeyID kAIPDFMonochromeImageCompressionKindKey  = 'mknd'; // enum AIPDFMonochromeImageCompression, monochrome image kind
00243 const ActionParamKeyID kAIPDFMonochromeImageResampleKindKey     = 'mrsl'; // enum, monochrome image resample
00245 const ActionParamKeyID kAIPDFMonochromeImageResolutionKey       = 'mres'; // int, monochrome image resolution
00247 const ActionParamKeyID kAIPDFMonochromeImageResampleAboveKey= 'mrab'; // int, resample monochrome image above resolution (dpi)
00248 
00250 const ActionParamKeyID kAIPDFCompressArtKey                                     = 'cart'; // bool, compress art
00251 
00253 const ActionParamKeyID kAIPDFTrimMarksKey                                       = 'ptrm'; // bool, Trim Marks
00255 const ActionParamKeyID kAIPDFRegMarksKey                                        = 'preg'; // bool, Registration Marks
00257 const ActionParamKeyID kAIPDFColorBarsKey                                       = 'pclb'; // bool, Color Bars
00259 const ActionParamKeyID kAIPDFPageInfoKey                                        = 'ppgi'; // bool, Page Info
00261 const ActionParamKeyID kAIPDFPrinterMarkTypeKey                         = 'pmtp'; // enum, printer mark type
00263 const ActionParamKeyID kAIPDFTrimMarkWeightKey                          = 'ptmw'; // enum, Trim Marks weight
00265 const ActionParamKeyID kAIPDFOffsetFromArtworkKey                       = 'post'; // int, offset from artwork
00267 const ActionParamKeyID kAIPDFBleedTopKey                                        = 'btop'; // int, bleed top
00269 const ActionParamKeyID kAIPDFBleedBottomKey                                     = 'bbtm'; // int, bleed bottom
00271 const ActionParamKeyID kAIPDFBleedLeftKey                                       = 'blft'; // int, bleed left
00273 const ActionParamKeyID kAIPDFBleedRightKey                                      = 'brht'; // int, bleed right
00276 const ActionParamKeyID kAIPDFBleedLinkKey                                       = 'blnk'; // bool, bleed link
00278 const ActionParamKeyID kAIPDFDocBleedKey                                        = 'bdoc'; // bool, doc bleed
00279 
00281 const ActionParamKeyID kAIPDFEmbedICCProfilesKey                        = 'emic'; // bool, embed ICC profiles
00283 const ActionParamKeyID kAIPDFEmbedFontsKey                                      = 'embd'; // bool, embed fonts  **TO BE REMOVED**
00285 const ActionParamKeyID kAIPDFSubsetFontsKey                                     = 'sbst'; // bool, subset fonts **TO BE REMOVED**
00287 const ActionParamKeyID kAIPDFSubsetFontsRatioKey                        = 'rato'; // real, subset fonts ratio
00288 
00290 const ActionParamKeyID kAIPDFGenerateAcrobatLayersKey           = 'aclr'; // bool, generate Acrobat layers
00292 const ActionParamKeyID kAIPDFOverprintKey                                       = 'pvop'; // enum, overprint
00294 const ActionParamKeyID kAIPDFFlatteningStyleKey                         = 'flsy'; // enum, AIPDFFlatteningStyle
00296 const ActionParamKeyID kAIPDFFlatteningStyleNameKey             = 'flsn'; // string, descriptive
00297 
00299 const ActionParamKeyID kAIPDFFlattenMaxResolutionKey            = 'fmax'; // real, flattening style max resolution
00301 const ActionParamKeyID kAIPDFFlattenMinResolutionKey            = 'fmin'; // real, flattening style min resolution
00303 const ActionParamKeyID kAIPDFFlattenVectorBalanceKey            = 'fvba'; // int, flattening style vector balance
00305 const ActionParamKeyID kAIPDFFlattenClipComplexRegionsKey       = 'fccr'; // bool, flattening style clip complex regions
00307 const ActionParamKeyID kAIPDFFlattenAntiAliasKey                        = 'fcaa'; // bool, flattening style anti alias option
00309 const ActionParamKeyID kAIPDFFlattenOutlineStrokesKey           = 'fosk'; // bool, flattening style outline strokes
00311 const ActionParamKeyID kAIPDFFlattenOutlineTextKey                      = 'fotx'; // bool, flattening style outline text
00313 const ActionParamKeyID kAIPDFFlattenPrinterResolutionKey        = 'fprs'; // real, flattening style printer resolution
00314 
00316 const ActionParamKeyID kAIPDFUserPasswordRequiredKey            = 'usrq'; // bool, user password
00318 const ActionParamKeyID kAIPDFUserPasswordKey                            = 'usps'; // string, user password
00320 const ActionParamKeyID kAIPDFMasterPasswordRequiredKey          = 'msrq'; // bool, master password
00322 const ActionParamKeyID kAIPDFMasterPasswordKey                          = 'msps'; // string, master password
00323 
00325 const ActionParamKeyID kAIPDFPrintingPermKey                            = 'pmpr'; // enum, Printing Allowed
00327 const ActionParamKeyID kAIPDFChangesPermKey                             = 'pmch'; // enum, Changes Allowed
00328 
00330 const ActionParamKeyID kAIPDFEnableCopyKey                                      = 'ebcp'; // bool, Enable copying  (128-bit)
00332 const ActionParamKeyID kAIPDFEnableAccessKey                            = 'ebac'; // bool, Enable access  (128-bit)
00334 const ActionParamKeyID kAIPDFEnableCopyAccessKey                        = 'ebca'; // bool, Enable copying and access  (40-bit)
00336 const ActionParamKeyID kAIPDFEnablePlaintextMetaKey                     = 'ebpt'; // bool, Enable Plaintext Metadata
00337 
00339 const ActionParamKeyID kAIPDFIncludeLinkedFilesKey                      = 'link'; // bool, include linked files
00340 
00341 
00342 #endif //_AIPDFFORMATACTION_H_


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