xref: /trunk/main/cui/source/options/optsave.src (revision 07a3d7f1)
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 // include ---------------------------------------------------------------
25#include <sfx2/sfx.hrc>
26#include <cuires.hrc>
27#include "helpid.hrc"
28#include "optsave.hrc"
29
30 // SID_SFXPAGE_SAVE ------------------------------------------------------
31#define TEXT_SAVEPAGE \
32    Text [ en-US ] = "Save" ;\
33
34TabPage RID_SFXPAGE_SAVE
35{
36	HelpId = HID_OPTIONS_SAVE ;
37	OutputSize = TRUE ;
38	SVLook = TRUE ;
39	Hide = TRUE ;
40	TEXT_SAVEPAGE
41	Size = MAP_APPFONT ( 260 , 185 ) ;
42    FixedLine LB_LOAD
43    {
44        Pos = MAP_APPFONT ( 6 , 2 ) ;
45        Size = MAP_APPFONT ( 248 , 8 ) ;
46    	Text [ en-US ] = "Load";
47	};
48    CheckBox CB_LOAD_SETTINGS
49    {
50        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_SETTINGS";
51        Pos = MAP_APPFONT ( 12 , 11 ) ;
52        Size = MAP_APPFONT ( 236 , 10 ) ;
53    	Text [ en-US ] = "Load user-specific settings with the document";
54	};
55    CheckBox CB_LOAD_DOCPRINTER
56    {
57        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_DOCPRINTER";
58        Pos = MAP_APPFONT ( 12 , 22 ) ;
59        Size = MAP_APPFONT ( 236 , 10 ) ;
60    	Text [ en-US ] = "Load printer settings with the document";
61	};
62    FixedLine GB_SAVE
63	{
64        Pos = MAP_APPFONT ( 6 , 32 ) ;
65        Size = MAP_APPFONT ( 248 , 8 ) ;
66		Text [ en-US ] = "Save" ;
67	};
68    CheckBox BTN_DOCINFO
69	{
70        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_DOCINFO";
71        Pos = MAP_APPFONT ( 12 , 41 ) ;
72        Size = MAP_APPFONT ( 236 , 10 ) ;
73		Text [ en-US ] = "~Edit document properties before saving" ;
74		TabStop = TRUE ;
75	};
76    FixedImage FI_BACKUP
77    {
78        Pos = MAP_APPFONT ( 5, 53 ) ;
79        Size = MAP_APPFONT ( 6 , 6 ) ;
80        Hide = TRUE;
81    };
82    CheckBox BTN_BACKUP
83	{
84        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_BACKUP";
85        Pos = MAP_APPFONT ( 12 , 52 ) ;
86        Size = MAP_APPFONT ( 236 , 10 ) ;
87		Text [ en-US ] = "Al~ways create backup copy" ;
88	};
89    CheckBox BTN_AUTOSAVE
90	{
91        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_AUTOSAVE";
92        Pos = MAP_APPFONT ( 12 , 63 ) ;
93		Size = MAP_APPFONT ( 150 , 10 ) ;
94		Text [ en-US ] = "Save ~AutoRecovery information every" ;
95	};
96	NumericField ED_AUTOSAVE
97	{
98	    HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE";
99		Border = TRUE ;
100        Pos = MAP_APPFONT ( 180 , 62 ) ;
101		Size = MAP_APPFONT ( 21 , 12 ) ;
102		Left = TRUE ;
103		Repeat = TRUE ;
104		Spin = TRUE ;
105		Minimum = 1 ;
106		Maximum = 60 ;
107		StrictFormat = TRUE ;
108		First = 1 ;
109		Last = 60 ;
110		SpinSize = 1 ;
111		TabStop = TRUE ;
112	};
113	FixedText FT_MINUTE
114	{
115        Pos = MAP_APPFONT ( 204 , 63 ) ;
116		Size = MAP_APPFONT ( 35 , 8 ) ;
117		Text [ en-US ] = "Minutes" ;
118	};
119    CheckBox BTN_RELATIVE_FSYS
120	{
121        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_FSYS";
122        Pos = MAP_APPFONT ( 12 , 74 ) ;
123        Size = MAP_APPFONT ( 236 , 10 ) ;
124        Text [ en-US ] = "Save URLs relative to file system" ;
125	};
126    CheckBox BTN_RELATIVE_INET
127	{
128        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_INET";
129        Pos = MAP_APPFONT ( 12 , 85 ) ;
130        Size = MAP_APPFONT ( 248 , 10 ) ;
131        Text [ en-US ] = "Save URLs relative to internet" ;
132	};
133    FixedLine FL_FILTER
134	{
135        Pos = MAP_APPFONT ( 6 , 97 ) ;
136        Size = MAP_APPFONT ( 248 , 8 ) ;
137        Text [ en-US ] = "Default file format and ODF settings" ;
138	};
139    FixedText FT_ODF_VERSION
140    {
141        Pos = MAP_APPFONT ( 12 , 107 ) ;
142        Size = MAP_APPFONT ( 121 , 8 ) ;
143        Text [ en-US ] = "ODF format version" ;
144    };
145    ListBox LB_ODF_VERSION
146    {
147        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION";
148        Pos = MAP_APPFONT ( 136 , 105 ) ;
149        Size = MAP_APPFONT ( 108 , 58 ) ;
150        Border = TRUE;
151        DropDown = TRUE;
152        StringList [ en-US ] =
153        {
154            < "1.0/1.1" ;  2 ; > ;
155            < "1.2" ;      4 ;  > ;
156			< "1.2 Extended (recommended)"; 0x7fffffff ; > ;
157        };
158    };
159    CheckBox BTN_NOPRETTYPRINTING
160    {
161        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_NOPRETTYPRINTING";
162        Pos = MAP_APPFONT ( 12 , 120 ) ;
163        Size = MAP_APPFONT ( 248 , 10 ) ;
164        Text [ en-US ] = "Size optimization for ODF format" ;
165    };
166    CheckBox BTN_WARNALIENFORMAT
167    {
168        HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_WARNALIENFORMAT";
169        Pos = MAP_APPFONT ( 12 , 131 ) ;
170        Size = MAP_APPFONT ( 248 , 10 ) ;
171        Text [ en-US ] = "Warn when not saving in ODF or default format" ;
172    };
173    FixedText FT_APP
174    {
175        Pos = MAP_APPFONT ( 12 , 142 ) ;
176        Size = MAP_APPFONT ( 120 , 8 ) ;
177    	Text [ en-US ] = "D~ocument type";
178	};
179    FixedText FT_FILTER
180    {
181        Pos = MAP_APPFONT ( 136 , 142 ) ;
182        Size = MAP_APPFONT ( 120 , 8 ) ;
183    	Text [ en-US ] = "Always sa~ve as";
184	};
185    ListBox LB_APP
186    {
187        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP";
188        Pos = MAP_APPFONT ( 12 , 153 ) ;
189        Size = MAP_APPFONT ( 108 , 58 ) ;
190        Border = TRUE;
191        DropDown = TRUE;
192		StringList [ en-US ] =
193		{
194            < "Text document" ;     APP_WRITER    ; > ;
195            < "HTML document" ;     APP_WRITER_WEB;  > ;
196            < "Master document" ;   APP_WRITER_GLOBAL;  > ;
197            < "Spreadsheet" ;       APP_CALC      ; > ;
198            < "Presentation" ;      APP_IMPRESS   ; > ;
199            < "Drawing" ;           APP_DRAW      ; > ;
200			< "Formula" ;           APP_MATH      ; > ;
201		};
202	};
203    FixedImage FI_FILTER
204    {
205        Pos = MAP_APPFONT ( 129, 154 ) ;
206        Size = MAP_APPFONT ( 6 , 6 ) ;
207        Hide = TRUE;
208    };
209    ListBox LB_FILTER
210    {
211        HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER";
212        Pos = MAP_APPFONT ( 136 , 153 ) ;
213        Size = MAP_APPFONT ( 108 , 58 ) ;
214        Border = TRUE;
215        Sort = TRUE;
216        DropDown = TRUE;
217    };
218    FixedImage FI_ODF_WARNING
219    {
220        Pos = MAP_APPFONT ( 12, 169 ) ;
221        Size = MAP_APPFONT ( 8 , 8 ) ;
222        Hide = TRUE;
223    };
224    FixedText FT_WARN
225    {
226        Pos = MAP_APPFONT ( 23 , 169 ) ;
227        Size = MAP_APPFONT ( 239 , 8 ) ;
228        Hide = TRUE;
229        Text [ en-US ] = "Not using ODF 1.2 Extended may cause information to be lost.";
230    };
231    Image IMG_ODF_WARNING
232    {
233        ImageBitmap = Bitmap
234        {
235            File = "odfwarning.png";
236        };
237        MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
238    };
239    Image IMG_ODF_WARNING_HC
240    {
241        ImageBitmap = Bitmap
242        {
243            File = "odfwarning_h.png";
244        };
245        MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
246    };
247};
248
249ModalDialog RID_SVXDLG_FILTER_WARNING
250{
251    HelpID = HID_SVXDLG_FILTER_WARNING;
252	OutputSize = TRUE ;
253	Moveable = TRUE ;
254    Closeable = TRUE ;
255	Sizeable = FALSE ;
256	Border = TRUE ;
257	SVLook = TRUE ;
258    Size = MAP_APPFONT( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 );
259    Text = "%PRODUCTNAME %PRODUCTVERSION" ;
260    FixedImage IMG_WARNING
261	{
262		Pos = MAP_APPFONT( 6, 6 );
263		Size = MAP_APPFONT( 30, 30 );
264	};
265    FixedText FT_FILTER_WARNING
266    {
267        Pos = MAP_APPFONT( 39, 6 );
268        Size = MAP_APPFONT( 175, 4 * 9 );
269        Wordbreak = TRUE;
270    	Text [ en-US ] = "Using \"%1\" as default file format may cause information loss.\n";
271	};
272    OKButton PB_OK
273    {
274        Pos = MAP_APPFONT( 60, (4 * 9)/*+ 12*/ + 13 );
275		Size = MAP_APPFONT( 50, 14 );
276        DefButton = TRUE;
277    };
278    CancelButton PB_CANCEL
279	{
280        Pos = MAP_APPFONT( 120, (4 * 9)/*+ 12*/ + 13 );
281		Size = MAP_APPFONT( 50, 14 );
282	};
283};
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331