InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PreflightStringConstants.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Matt Phillips
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 
25 // The purpose of this file is to define constants that are used at the model and UI level
26 // in many places so any typos will end up being hard-to-find bugs. I'm not suggesting we put
27 // all UI strings in here, just the ones that are used in many places.
28 
29 // The default name for a newly created profile.
30 static const PMString kNewProfileName("kNewProfileName");
31 
32 // The name of the default profile (ie the one that is required to be there).
33 static const PMString kDefaultProfileName("kDefaultProfileName");
34 
35 // The description of the default profile.
36 static const PMString kDefaultProfileDescription("kDefaultProfileDescription");
37 
38 // The string that appears when there's no profile active: [None]
39 static const PMString kNoPreflightProfile("kNoPreflightProfile");
40 
42 static const char* kCategoryLinks = "kLinksRuleCategory";
43 static const char* kCategoryObjects = "kObjectsRuleCategory";
44 static const char* kCategoryText = "kTextRuleCategory";
45 static const char* kCategoryColor = "kColorRuleCategory";
46 static const char* kCategoryDocument = "kDocumentRuleCategory";
47 static const char* kCategoryTest = "kTestRuleCategory";
48 
49 // The following strings defines the data parameter keys for the native c++ rules.
50 // Blank pages
51 static const char* kParamIgnoreMaster = "ignore_master";
52 static const char* kParamIgnoreNonprinting = "ignore_nonprinting";
53 
54 // Bleed and slug
55 static const char* kParamSlugEnabled = "slug_enabled";
56 static const char* kParamSlugComparisonType = "slug_comparison_type";
57 static const char* kParamSlugL = "slug_l";
58 static const char* kParamSlugR = "slug_r";
59 static const char* kParamSlugT = "slug_t";
60 static const char* kParamSlugB = "slug_b";
61 static const char* kParamSlugL2 = "slug_l_aux";
62 static const char* kParamSlugR2 = "slug_r_aux";
63 static const char* kParamSlugT2 = "slug_t_aux";
64 static const char* kParamSlugB2 = "slug_b_aux";
65 static const char* kParamBleedEnabled = "bleed_enabled";
66 static const char* kParamBleedComparisonType = "bleed_comparison_type";
67 static const char* kParamBleedL = "bleed_l";
68 static const char* kParamBleedR = "bleed_r";
69 static const char* kParamBleedT = "bleed_t";
70 static const char* kParamBleedB = "bleed_b";
71 static const char* kParamBleedL2 = "bleed_l_aux";
72 static const char* kParamBleedR2 = "bleed_r_aux";
73 static const char* kParamBleedT2 = "bleed_t_aux";
74 static const char* kParamBleedB2 = "bleed_b_aux";
75 
76 // Bleed/Trim Hazard
77 static const char* kParamLiveAreaL = "live_l";
78 static const char* kParamLiveAreaR = "live_r";
79 static const char* kParamLiveAreaT = "live_t";
80 static const char* kParamLiveAreaB = "live_b";
81 static const char* kParamBindingEnabled = "binding_enabled";
82 static const char* kParamBindingSafeZoneWidth = "binding_width";
83 // Also uses kParamTolerance
84 
85 
86 // CMY plates
87 // None so far
88 
89 // Colorspaces
90 static const char* kParamNoRGB = "no_rgb";
91 static const char* kParamNoCMYK = "no_cmyk";
92 static const char* kParamNoGray = "no_gray";
93 static const char* kParamNoLAB = "no_lab";
94 static const char* kParamNoSpot = "no_spot";
95 static const char* kParamNoHSB = "no_hsb";
96 
97 // Cross-References
98 static const char* kParamXRefsOutOfDate = "xrefs_out_of_date";
99 static const char* kParamXRefsUnresolved = "xrefs_unresolved";
100 
101 // DPOE
102 // None so far
103 
104 // Font usages
105 static const char* kParamNoOpenTypeCFF = "no_OpenTypeCFF";
106 static const char* kParamNoOpenTypeCID = "no_OpenTypeCID";
107 static const char* kParamNoOpenTypeTT = "no_OpenTypeTT";
108 static const char* kParamNoMultipleMaster = "no_MultipleMaster";
109 static const char* kParamNoType1 = "no_Type1";
110 static const char* kParamNoTrueType = "no_TrueType";
111 static const char* kParamNoCID = "no_CID";
112 static const char* kParamNoATC = "no_ATC";
113 static const char* kParamNoBitmap = "no_Bitmap";
114 static const char* kParamNoType3 = "no_Type3";
115 static const char* kParamNoProtected = "no_protected";
116 static const char* kObsoleteParamNoSVG = "no_SVG";
117 
118 // Image color management
119 static const char* kParamNoImageOverrides = "no_image_overrides";
120 static const char* kParamOverrideExcludeUncal = "overrides_exclude_uncal";
121 static const char* kParamNoCMYKProfiles = "no_cmyk_profiles";
122 
123 // Image resolution
124 static const char* kParamColorMinEnabled = "color_min_enabled";
125 static const char* kParamColorMinRes = "color_min_res";
126 static const char* kParamColorMaxEnabled = "color_max_enabled";
127 static const char* kParamColorMaxRes = "color_max_res";
128 static const char* kParamGrayMinEnabled = "gray_min_enabled";
129 static const char* kParamGrayMinRes = "gray_min_res";
130 static const char* kParamGrayMaxEnabled = "gray_max_enabled";
131 static const char* kParamGrayMaxRes = "gray_max_res";
132 static const char* kParamBWMinEnabled = "bw_min_enabled";
133 static const char* kParamBWMinRes = "bw_min_res";
134 static const char* kParamBWMaxEnabled = "bw_max_enabled";
135 static const char* kParamBWMaxRes = "bw_max_res";
136 
137 // Interactive content
138 static const char* kParamNoVideo = "no_Video";
139 static const char* kParamNoAudio = "no_Audio";
140 static const char* kParamNoAnimatedObject = "no_AnimatedObject";
141 static const char* kParamNoMSO = "no_MSO";
142 static const char* kParamNoButton = "no_Button";
143 static const char* kParamNoFlashIncompatible = "no_FlashIncompatible";
144 static const char* kParamNoFormField = "no_FormField";
145 
146 // Missing fonts
147 // None so far
148 
149 // Links
150 static const char* kParamLinkMissing = "missing";
151 static const char* kParamLinkModified = "modified";
152 
153 // OPI
154 // None so far
155 
156 // Overset text
157 // None so far
158 
159 // Page count
160 static const char* kParamCountComparisonType = "comparison_type";
161 static const char* kParamCountComparisonValue = "comparison_value";
162 static const char* kParamCountComparisonValue2 = "comparison_value_aux";
163 
164 // Page size orientation
165 static const char* kParamTolerance = "tolerance";
166 static const char* kParamWidth = "width";
167 static const char* kParamHeight = "height";
168 static const char* kParamIgnoreOrientation = "ignore_orientation";
169 
170 // Placed content
171 static const char* kParamMaxDeltaE = "max_delta_e";
172 static const char* kParamNoSpaceMismatch = "no_space_mismatch";
173 
174 // Placed EPS
175 // None so far
176 
177 // Placed PDF
178 // None so far
179 
180 // Rich black
181 static const char* kBlackThreshold = "black_threshold";
182 static const char* kIndivThreshold = "indiv_threshold";
183 static const char* kTotalThreshold = "total_threshold";
184 
185 // Scaled type
186 static const char* kParamMaxScale = "max_scale";
187 static const char* kParamIgnoreJustificationScaling = "ignore_justification";
188 
189 // Small text
190 static const char* kParamMinSize = "minSize";
191 static const char* kParamMinSizeTrapSafeOnly = "minSize_trap_safe_only";
192 // static const char* kParamMinSizeTrapSafe = "min_size_trap_safe";
193 
194 // Spot color setup
195 static const char* kParamMaxSpotsEnabled = "max_spots_enabled";
196 static const char* kParamMaxSpots = "max_spots";
197 static const char* kParamLABSpotsEnabled = "lab_spots_enabled";
198 static const char* kParamLABSpots = "lab_spots";
199 // static const char* kParamPrefixEnabled = "spot_name_prefix_enabled";
200 // static const char* kParamPrefix = "spot_name_prefix";
201 // static const char* kParamSuffixEnabled = "spot_name_suffix_enabled";
202 // static const char* kParamSuffix = "spot_name_suffix";
203 // static const char* kParamMinSpotsEnabled = "min_spots_enabled";
204 // static const char* kParamMinSpots = "min_spots";
205 
206 // Stroke requirements
207 static const char* kParamMinWidth = "min_width";
208 static const char* kParamMinWidthTrapSafeOnly = "min_width_trap_safe_only";
209 // static const char* kParamMinWidthEnabled = "min_width_enabled";
210 // static const char* kParamMaxWidthEnabled = "max_width_enabled";
211 // static const char* kParamMaxWidth = "max_width";
212 // static const char* kParamMinWidthTrapSafeEnabled = "min_width_trap_safe_enabled";
213 // static const char* kParamMinWidthTrapSafe = "min_width_trap_safe";
214 
215 // Testing helper
216 // None so far
217 
218 // Text overrides
219 static const char* kParamIgnoreFontOverrides = "ignore_font_overrides";
220 static const char* kParamIgnoreLanguageOverrides = "ignore_language_overrides";
221 static const char* kParamIgnoreKernTrackingOverrides = "ignore_kerning_tracking_overrides";
222 static const char* kParamIgnoreColorOverrides = "ignore_color_overrides";
223 
224 // Text and transparency
225 // None so far
226 
227 // Transparency blending
228 static const char* kParamSpace = "space";
229 
230 // Transparency usage
231 // None so far
232 
233 // Unused colors
234 // None so far
235 
236 // White overprint
237 // None so far