1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef _PPPOPTIMIZER_TOKEN_HXX
25 #define _PPPOPTIMIZER_TOKEN_HXX
26 
27 #include <rtl/ustring.hxx>
28 
29 enum PPPOptimizerTokenEnum
30 {
31 	TK_rdmNavi,
32 	TK_lnNavSep1,
33 	TK_lnNavSep2,
34 	TK_btnNavHelp,
35 	TK_btnNavBack,
36 	TK_btnNavNext,
37 	TK_btnNavFinish,
38 	TK_btnNavCancel,
39 
40 	TK_FixedText0Pg0,
41 	TK_FixedText1Pg0,
42 	TK_Separator1Pg0,
43 	TK_FixedText2Pg0,
44 	TK_ListBox0Pg0,
45 	TK_Button0Pg0,
46 	TK_RadioButton0Pg1,
47 	TK_RadioButton1Pg1,
48 	TK_FixedText0Pg1,
49 	TK_CheckBox1Pg1,
50 	TK_FixedText1Pg1,
51 	TK_FixedText2Pg1,
52 	TK_FormattedField0Pg1,
53 	TK_ComboBox0Pg1,
54 	TK_CheckBox2Pg1,
55 	TK_FixedText0Pg2,
56 	TK_FixedText1Pg2,
57 	TK_CheckBox0Pg2,
58 	TK_RadioButton0Pg2,
59 	TK_RadioButton1Pg2,
60 	TK_FixedText0Pg3,
61 	TK_CheckBox0Pg3,
62 	TK_FixedText1Pg3,
63 	TK_CheckBox1Pg3,
64 	TK_FixedText2Pg3,
65 	TK_CheckBox2Pg3,
66 	TK_CheckBox3Pg3,
67 	TK_ListBox0Pg3,
68 	TK_Separator0Pg4,
69 	TK_RadioButton0Pg4,
70 	TK_RadioButton1Pg4,
71 	TK_Separator1Pg4,
72 	TK_FixedText0Pg4,
73 	TK_FixedText1Pg4,
74 	TK_FixedText2Pg4,
75 	TK_FixedText3Pg4,
76 	TK_FixedText4Pg4,
77 	TK_FixedText5Pg4,
78 	TK_FixedText6Pg4,
79 	TK_FixedText7Pg4,
80 	TK_FixedText8Pg4,
81 	TK_CheckBox1Pg4,
82 	TK_ComboBox0Pg4,
83 
84 	TK__blank,
85 	TK__self,
86 	TK_Activated,
87 	TK_Align,
88 	TK_Alpha,
89 	TK_Animated,
90 	TK_Background,
91 	TK_Border,
92 	TK_Closeable,
93 	TK_ColorMode,
94 	TK_Complete,
95 	TK_Compression,
96 	TK_CurrentItemID,
97 	TK_DefaultButton,
98 	TK_DocumentService,
99 	TK_Dropdown,
100 	TK_EffectiveValue,
101 	TK_EffectiveMin,
102 	TK_EffectiveMax,
103 	TK_Enabled,
104 	TK_Extensions,
105 	TK_FileSizeDestination,
106 	TK_FileSizeSource,
107 	TK_FillBitmap,
108 	TK_FillBitmapLogicalSize,
109 	TK_FillBitmapMode,
110 	TK_FillBitmapSizeX,
111 	TK_FillBitmapSizeY,
112 	TK_FillBitmapURL,
113 	TK_FillStyle,
114 	TK_FilterData,
115 	TK_FilterName,
116 	TK_Flags,
117 	TK_FontDescriptor,
118 	TK_Graphic,
119 	TK_GraphicCrop,
120 	TK_GraphicCropLogic,
121 	TK_GraphicURL,
122 	TK_GraphicStreamURL,
123 	TK_Height,
124     TK_HelpURL,
125 	TK_Hidden,
126 	TK_ID,
127 	TK_ImageURL,
128 	TK_ParentWindow,
129 	TK_InputStream,
130 	TK_Interlaced,
131 	TK_IsInternal,
132 	TK_Label,
133 	TK_LineCount,
134 	TK_LogicalHeight,
135 	TK_LogicalWidth,
136 	TK_LogicalSize,
137 	TK_MimeType,
138 	TK_Moveable,
139 	TK_MultiLine,
140 	TK_MultiSelection,
141 	TK_Name,
142 	TK_Orientation,
143 	TK_OutputStream,
144 	TK_PixelHeight,
145 	TK_PixelWidth,
146 	TK_PositionX,
147 	TK_PositionY,
148 	TK_Progress,
149 	TK_ProgressValue,
150 	TK_ProgressValueMax,
151 	TK_ProgressValueMin,
152 	TK_PushButtonType,
153 	TK_Quality,
154 	TK_ReadOnly,
155 	TK_Repeat,
156 	TK_ScaleImage,
157 	TK_SelectedItems,
158 	TK_Settings,
159 	TK_Size100thMM,
160 	TK_SizePixel,
161 	TK_Spin,
162 	TK_Step,
163 	TK_State,
164 	TK_StatusListener,
165 	TK_StringItemList,
166 	TK_Strings,
167 	TK_TabIndex,
168 	TK_Template,
169 	TK_Text,
170 	TK_Title,
171 	TK_Transparent,
172 	TK_Type,
173 	TK_UIName,
174 	TK_Value,
175 	TK_Width,
176 	TK_ZOrder,
177 
178 	TK_LastUsedSettings,
179 	TK_Settings_Templates,
180 	TK_Settings_Templates_,
181 	TK_JPEGCompression,
182 	TK_JPEGQuality,
183 	TK_RemoveCropArea,
184 	TK_ImageResolution,
185 	TK_EmbedLinkedGraphics,
186 	TK_OLEOptimization,
187 	TK_OLEOptimizationType,
188 	TK_DeleteUnusedMasterPages,
189 	TK_DeleteHiddenSlides,
190 	TK_DeleteNotesPages,
191 	TK_CustomShowName,
192 	TK_SaveAs,
193 	TK_SaveAsURL,
194 	TK_OpenNewDocument,
195 	TK_EstimatedFileSize,
196 
197 	TK_Status,
198 	TK_Pages,
199 	TK_CurrentPage,
200 	TK_GraphicObjects,
201 	TK_CurrentGraphicObject,
202 	TK_OLEObjects,
203 	TK_CurrentOLEObject,
204 #if 0
205 	STR_PRESENTATION_MINIMIZER,
206 	STR_STEPS,
207 	STR_HELP,
208 	STR_BACK,
209 	STR_NEXT,
210 	STR_FINISH,
211 	STR_CANCEL,
212 	STR_INTRODUCTION,
213 	STR_INTRODUCTION_T,
214 	STR_CHOSE_SETTINGS,
215 	STR_REMOVE,
216 	STR_GRAPHIC_OPTIMIZATION,
217 	STR_IMAGE_OPTIMIZATION,
218 	STR_LOSSLESS_COMPRESSION,
219 	STR_JPEG_COMPRESSION,
220 	STR_QUALITY,
221 	STR_REMOVE_CROP_AREA,
222 	STR_IMAGE_RESOLUTION,
223 	STR_IMAGE_RESOLUTION_0,
224 	STR_IMAGE_RESOLUTION_1,
225 	STR_IMAGE_RESOLUTION_2,
226 	STR_IMAGE_RESOLUTION_3,
227 	STR_EMBED_LINKED_GRAPHICS,
228 	STR_OLE_OBJECTS,
229 	STR_OLE_OPTIMIZATION,
230 	STR_OLE_REPLACE,
231 	STR_ALL_OLE_OBJECTS,
232 	STR_ALIEN_OLE_OBJECTS_ONLY,
233 	STR_OLE_OBJECTS_DESC,
234 	STR_NO_OLE_OBJECTS_DESC,
235 	STR_SLIDES,
236 	STR_CHOOSE_SLIDES,
237 	STR_MASTER_PAGES,
238 	STR_DELETE_MASTER_PAGES,
239 	STR_DELETE_NOTES_PAGES,
240 	STR_DELETE_HIDDEN_SLIDES,
241 	STR_CUSTOM_SHOW,
242 	STR_SUMMARY,
243 	STR_SUMMARY_TITLE,
244 	STR_PROGRESS,
245 	STR_OBJECTS_OPTIMIZED,
246 	STR_APPLY_TO_CURRENT,
247 	STR_AUTOMATICALLY_OPEN,
248 	STR_SAVE_SETTINGS,
249 	STR_SAVE_AS,
250 	STR_DELETE_SLIDES,
251 	STR_OPTIMIZE_IMAGES,
252 	STR_CREATE_REPLACEMENT,
253 	STR_CURRENT_FILESIZE,
254 	STR_ESTIMATED_FILESIZE,
255 	STR_MB,
256 	STR_MY_SETTINGS,
257 	STR_DEFAULT_SESSION,
258 	STR_MODIFY_WARNING,
259 	STR_YES,
260 	STR_OK,
261 	STR_INFO_1,
262 	STR_INFO_2,
263 	STR_INFO_3,
264 	STR_INFO_4,
265 	STR_DUPLICATING_PRESENTATION,
266 	STR_DELETING_SLIDES,
267 	STR_OPTIMIZING_GRAPHICS,
268 	STR_CREATING_OLE_REPLACEMENTS,
269 	STR_FILESIZESEPARATOR,
270 #endif
271 	TK_Last,
272 	TK_NotFound
273 };
274 
275 PPPOptimizerTokenEnum TKGet( const rtl::OUString& );
276 rtl::OUString TKGet( const PPPOptimizerTokenEnum );
277 
278 #endif
279