1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 // include ---------------------------------------------------------------
29 #include <sfx2/sfx.hrc>
32 #include "optsave.hrc"
34 // SID_SFXPAGE_SAVE ------------------------------------------------------
35 #define TEXT_SAVEPAGE \
36 Text [ en-US ] = "Save" ;\
38 TabPage RID_SFXPAGE_SAVE
40 HelpId = HID_OPTIONS_SAVE ;
45 Size = MAP_APPFONT ( 260 , 185 ) ;
48 Pos = MAP_APPFONT ( 6 , 2 ) ;
49 Size = MAP_APPFONT ( 248 , 8 ) ;
50 Text [ en-US ] = "Load";
52 CheckBox CB_LOAD_SETTINGS
54 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_SETTINGS";
55 Pos = MAP_APPFONT ( 12 , 11 ) ;
56 Size = MAP_APPFONT ( 236 , 10 ) ;
57 Text [ en-US ] = "Load user-specific settings with the document";
59 CheckBox CB_LOAD_DOCPRINTER
61 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_DOCPRINTER";
62 Pos = MAP_APPFONT ( 12 , 22 ) ;
63 Size = MAP_APPFONT ( 236 , 10 ) ;
64 Text [ en-US ] = "Load printer settings with the document";
68 Pos = MAP_APPFONT ( 6 , 32 ) ;
69 Size = MAP_APPFONT ( 248 , 8 ) ;
70 Text [ en-US ] = "Save" ;
74 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_DOCINFO";
75 Pos = MAP_APPFONT ( 12 , 41 ) ;
76 Size = MAP_APPFONT ( 236 , 10 ) ;
77 Text [ en-US ] = "~Edit document properties before saving" ;
82 Pos = MAP_APPFONT ( 5, 53 ) ;
83 Size = MAP_APPFONT ( 6 , 6 ) ;
88 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_BACKUP";
89 Pos = MAP_APPFONT ( 12 , 52 ) ;
90 Size = MAP_APPFONT ( 236 , 10 ) ;
91 Text [ en-US ] = "Al~ways create backup copy" ;
95 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_AUTOSAVE";
96 Pos = MAP_APPFONT ( 12 , 63 ) ;
97 Size = MAP_APPFONT ( 150 , 10 ) ;
98 Text [ en-US ] = "Save ~AutoRecovery information every" ;
100 NumericField ED_AUTOSAVE
102 HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE";
104 Pos = MAP_APPFONT ( 180 , 62 ) ;
105 Size = MAP_APPFONT ( 21 , 12 ) ;
111 StrictFormat = TRUE ;
119 Pos = MAP_APPFONT ( 204 , 63 ) ;
120 Size = MAP_APPFONT ( 35 , 8 ) ;
121 Text [ en-US ] = "Minutes" ;
123 CheckBox BTN_RELATIVE_FSYS
125 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_FSYS";
126 Pos = MAP_APPFONT ( 12 , 74 ) ;
127 Size = MAP_APPFONT ( 236 , 10 ) ;
128 Text [ en-US ] = "Save URLs relative to file system" ;
130 CheckBox BTN_RELATIVE_INET
132 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_INET";
133 Pos = MAP_APPFONT ( 12 , 85 ) ;
134 Size = MAP_APPFONT ( 248 , 10 ) ;
135 Text [ en-US ] = "Save URLs relative to internet" ;
139 Pos = MAP_APPFONT ( 6 , 97 ) ;
140 Size = MAP_APPFONT ( 248 , 8 ) ;
141 Text [ en-US ] = "Default file format and ODF settings" ;
143 FixedText FT_ODF_VERSION
145 Pos = MAP_APPFONT ( 12 , 107 ) ;
146 Size = MAP_APPFONT ( 121 , 8 ) ;
147 Text [ en-US ] = "ODF format version" ;
149 ListBox LB_ODF_VERSION
151 HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION";
152 Pos = MAP_APPFONT ( 136 , 105 ) ;
153 Size = MAP_APPFONT ( 108 , 58 ) ;
156 StringList [ en-US ] =
158 < "1.0/1.1" ; 2 ; > ;
160 < "1.2 Extended (recommended)"; 0x7fffffff ; > ;
163 CheckBox BTN_NOPRETTYPRINTING
165 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_NOPRETTYPRINTING";
166 Pos = MAP_APPFONT ( 12 , 120 ) ;
167 Size = MAP_APPFONT ( 248 , 10 ) ;
168 Text [ en-US ] = "Size optimization for ODF format" ;
170 CheckBox BTN_WARNALIENFORMAT
172 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_WARNALIENFORMAT";
173 Pos = MAP_APPFONT ( 12 , 131 ) ;
174 Size = MAP_APPFONT ( 248 , 10 ) ;
175 Text [ en-US ] = "Warn when not saving in ODF or default format" ;
179 Pos = MAP_APPFONT ( 12 , 142 ) ;
180 Size = MAP_APPFONT ( 120 , 8 ) ;
181 Text [ en-US ] = "D~ocument type";
185 Pos = MAP_APPFONT ( 136 , 142 ) ;
186 Size = MAP_APPFONT ( 120 , 8 ) ;
187 Text [ en-US ] = "Always sa~ve as";
191 HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP";
192 Pos = MAP_APPFONT ( 12 , 153 ) ;
193 Size = MAP_APPFONT ( 108 , 58 ) ;
196 StringList [ en-US ] =
198 < "Text document" ; APP_WRITER ; > ;
199 < "HTML document" ; APP_WRITER_WEB; > ;
200 < "Master document" ; APP_WRITER_GLOBAL; > ;
201 < "Spreadsheet" ; APP_CALC ; > ;
202 < "Presentation" ; APP_IMPRESS ; > ;
203 < "Drawing" ; APP_DRAW ; > ;
204 < "Formula" ; APP_MATH ; > ;
209 Pos = MAP_APPFONT ( 129, 154 ) ;
210 Size = MAP_APPFONT ( 6 , 6 ) ;
215 HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER";
216 Pos = MAP_APPFONT ( 136 , 153 ) ;
217 Size = MAP_APPFONT ( 108 , 58 ) ;
222 FixedImage FI_ODF_WARNING
224 Pos = MAP_APPFONT ( 12, 169 ) ;
225 Size = MAP_APPFONT ( 8 , 8 ) ;
230 Pos = MAP_APPFONT ( 23 , 169 ) ;
231 Size = MAP_APPFONT ( 239 , 8 ) ;
233 Text [ en-US ] = "Not using ODF 1.2 Extended may cause infomation to be lost.";
234 Text [ x-comment ] = "EN-US, the term 'extended' must not be translated.";
236 Image IMG_ODF_WARNING
240 File = "odfwarning.png";
242 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
244 Image IMG_ODF_WARNING_HC
248 File = "odfwarning_h.png";
250 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
254 ModalDialog RID_SVXDLG_FILTER_WARNING
256 HelpID = HID_SVXDLG_FILTER_WARNING;
263 Size = MAP_APPFONT( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 );
264 Text = "%PRODUCTNAME %PRODUCTVERSION" ;
265 FixedImage IMG_WARNING
267 Pos = MAP_APPFONT( 6, 6 );
268 Size = MAP_APPFONT( 30, 30 );
270 FixedText FT_FILTER_WARNING
272 Pos = MAP_APPFONT( 39, 6 );
273 Size = MAP_APPFONT( 175, 4 * 9 );
275 Text [ en-US ] = "Using \"%1\" as default file format may cause information loss.\n";
279 Pos = MAP_APPFONT( 60, (4 * 9)/*+ 12*/ + 13 );
280 Size = MAP_APPFONT( 50, 14 );
283 CancelButton PB_CANCEL
285 Pos = MAP_APPFONT( 120, (4 * 9)/*+ 12*/ + 13 );
286 Size = MAP_APPFONT( 50, 14 );