1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 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. 14 * 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). 20 * 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. 25 * 26 ************************************************************************/ 27 28 // include --------------------------------------------------------------- 29#include <sfx2/sfx.hrc> 30#include <cuires.hrc> 31#include "helpid.hrc" 32#include "optsave.hrc" 33 34 // SID_SFXPAGE_SAVE ------------------------------------------------------ 35#define TEXT_SAVEPAGE \ 36 Text [ en-US ] = "Save" ;\ 37 38TabPage RID_SFXPAGE_SAVE 39{ 40 HelpId = HID_OPTIONS_SAVE ; 41 OutputSize = TRUE ; 42 SVLook = TRUE ; 43 Hide = TRUE ; 44 TEXT_SAVEPAGE 45 Size = MAP_APPFONT ( 260 , 185 ) ; 46 FixedLine LB_LOAD 47 { 48 Pos = MAP_APPFONT ( 6 , 2 ) ; 49 Size = MAP_APPFONT ( 248 , 8 ) ; 50 Text [ en-US ] = "Load"; 51 }; 52 CheckBox CB_LOAD_SETTINGS 53 { 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"; 58 }; 59 CheckBox CB_LOAD_DOCPRINTER 60 { 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"; 65 }; 66 FixedLine GB_SAVE 67 { 68 Pos = MAP_APPFONT ( 6 , 32 ) ; 69 Size = MAP_APPFONT ( 248 , 8 ) ; 70 Text [ en-US ] = "Save" ; 71 }; 72 CheckBox BTN_DOCINFO 73 { 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" ; 78 TabStop = TRUE ; 79 }; 80 FixedImage FI_BACKUP 81 { 82 Pos = MAP_APPFONT ( 5, 53 ) ; 83 Size = MAP_APPFONT ( 6 , 6 ) ; 84 Hide = TRUE; 85 }; 86 CheckBox BTN_BACKUP 87 { 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" ; 92 }; 93 CheckBox BTN_AUTOSAVE 94 { 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" ; 99 }; 100 NumericField ED_AUTOSAVE 101 { 102 HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE"; 103 Border = TRUE ; 104 Pos = MAP_APPFONT ( 180 , 62 ) ; 105 Size = MAP_APPFONT ( 21 , 12 ) ; 106 Left = TRUE ; 107 Repeat = TRUE ; 108 Spin = TRUE ; 109 Minimum = 1 ; 110 Maximum = 60 ; 111 StrictFormat = TRUE ; 112 First = 1 ; 113 Last = 60 ; 114 SpinSize = 1 ; 115 TabStop = TRUE ; 116 }; 117 FixedText FT_MINUTE 118 { 119 Pos = MAP_APPFONT ( 204 , 63 ) ; 120 Size = MAP_APPFONT ( 35 , 8 ) ; 121 Text [ en-US ] = "Minutes" ; 122 }; 123 CheckBox BTN_RELATIVE_FSYS 124 { 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" ; 129 }; 130 CheckBox BTN_RELATIVE_INET 131 { 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" ; 136 }; 137 FixedLine FL_FILTER 138 { 139 Pos = MAP_APPFONT ( 6 , 97 ) ; 140 Size = MAP_APPFONT ( 248 , 8 ) ; 141 Text [ en-US ] = "Default file format and ODF settings" ; 142 }; 143 FixedText FT_ODF_VERSION 144 { 145 Pos = MAP_APPFONT ( 12 , 107 ) ; 146 Size = MAP_APPFONT ( 121 , 8 ) ; 147 Text [ en-US ] = "ODF format version" ; 148 }; 149 ListBox LB_ODF_VERSION 150 { 151 HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION"; 152 Pos = MAP_APPFONT ( 136 , 105 ) ; 153 Size = MAP_APPFONT ( 108 , 58 ) ; 154 Border = TRUE; 155 DropDown = TRUE; 156 StringList [ en-US ] = 157 { 158 < "1.0/1.1" ; 2 ; > ; 159 < "1.2" ; 4 ; > ; 160 < "1.2 Extended (recommended)"; 0x7fffffff ; > ; 161 }; 162 }; 163 CheckBox BTN_NOPRETTYPRINTING 164 { 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" ; 169 }; 170 CheckBox BTN_WARNALIENFORMAT 171 { 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" ; 176 }; 177 FixedText FT_APP 178 { 179 Pos = MAP_APPFONT ( 12 , 142 ) ; 180 Size = MAP_APPFONT ( 120 , 8 ) ; 181 Text [ en-US ] = "D~ocument type"; 182 }; 183 FixedText FT_FILTER 184 { 185 Pos = MAP_APPFONT ( 136 , 142 ) ; 186 Size = MAP_APPFONT ( 120 , 8 ) ; 187 Text [ en-US ] = "Always sa~ve as"; 188 }; 189 ListBox LB_APP 190 { 191 HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP"; 192 Pos = MAP_APPFONT ( 12 , 153 ) ; 193 Size = MAP_APPFONT ( 108 , 58 ) ; 194 Border = TRUE; 195 DropDown = TRUE; 196 StringList [ en-US ] = 197 { 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 ; > ; 205 }; 206 }; 207 FixedImage FI_FILTER 208 { 209 Pos = MAP_APPFONT ( 129, 154 ) ; 210 Size = MAP_APPFONT ( 6 , 6 ) ; 211 Hide = TRUE; 212 }; 213 ListBox LB_FILTER 214 { 215 HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER"; 216 Pos = MAP_APPFONT ( 136 , 153 ) ; 217 Size = MAP_APPFONT ( 108 , 58 ) ; 218 Border = TRUE; 219 Sort = TRUE; 220 DropDown = TRUE; 221 }; 222 FixedImage FI_ODF_WARNING 223 { 224 Pos = MAP_APPFONT ( 12, 169 ) ; 225 Size = MAP_APPFONT ( 8 , 8 ) ; 226 Hide = TRUE; 227 }; 228 FixedText FT_WARN 229 { 230 Pos = MAP_APPFONT ( 23 , 169 ) ; 231 Size = MAP_APPFONT ( 239 , 8 ) ; 232 Hide = TRUE; 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."; 235 }; 236 Image IMG_ODF_WARNING 237 { 238 ImageBitmap = Bitmap 239 { 240 File = "odfwarning.png"; 241 }; 242 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; }; 243 }; 244 Image IMG_ODF_WARNING_HC 245 { 246 ImageBitmap = Bitmap 247 { 248 File = "odfwarning_h.png"; 249 }; 250 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; }; 251 }; 252}; 253 254ModalDialog RID_SVXDLG_FILTER_WARNING 255{ 256 HelpID = HID_SVXDLG_FILTER_WARNING; 257 OutputSize = TRUE ; 258 Moveable = TRUE ; 259 Closeable = TRUE ; 260 Sizeable = FALSE ; 261 Border = TRUE ; 262 SVLook = TRUE ; 263 Size = MAP_APPFONT( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 ); 264 Text = "%PRODUCTNAME %PRODUCTVERSION" ; 265 FixedImage IMG_WARNING 266 { 267 Pos = MAP_APPFONT( 6, 6 ); 268 Size = MAP_APPFONT( 30, 30 ); 269 }; 270 FixedText FT_FILTER_WARNING 271 { 272 Pos = MAP_APPFONT( 39, 6 ); 273 Size = MAP_APPFONT( 175, 4 * 9 ); 274 Wordbreak = TRUE; 275 Text [ en-US ] = "Using \"%1\" as default file format may cause information loss.\n"; 276 }; 277 OKButton PB_OK 278 { 279 Pos = MAP_APPFONT( 60, (4 * 9)/*+ 12*/ + 13 ); 280 Size = MAP_APPFONT( 50, 14 ); 281 DefButton = TRUE; 282 }; 283 CancelButton PB_CANCEL 284 { 285 Pos = MAP_APPFONT( 120, (4 * 9)/*+ 12*/ + 13 ); 286 Size = MAP_APPFONT( 50, 14 ); 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 332 333 334 335 336