/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ // include --------------------------------------------------------------- #include #include #include "helpid.hrc" #include "optsave.hrc" // SID_SFXPAGE_SAVE ------------------------------------------------------ #define TEXT_SAVEPAGE \ Text [ en-US ] = "Save" ;\ TabPage RID_SFXPAGE_SAVE { HelpId = HID_OPTIONS_SAVE ; OutputSize = TRUE ; SVLook = TRUE ; Hide = TRUE ; TEXT_SAVEPAGE Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine LB_LOAD { Pos = MAP_APPFONT ( 6 , 2 ) ; Size = MAP_APPFONT ( 248 , 8 ) ; Text [ en-US ] = "Load"; }; CheckBox CB_LOAD_SETTINGS { HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_SETTINGS"; Pos = MAP_APPFONT ( 12 , 11 ) ; Size = MAP_APPFONT ( 236 , 10 ) ; Text [ en-US ] = "Load user-specific settings with the document"; }; CheckBox CB_LOAD_DOCPRINTER { HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_DOCPRINTER"; Pos = MAP_APPFONT ( 12 , 22 ) ; Size = MAP_APPFONT ( 236 , 10 ) ; Text [ en-US ] = "Load printer settings with the document"; }; FixedLine GB_SAVE { Pos = MAP_APPFONT ( 6 , 32 ) ; Size = MAP_APPFONT ( 248 , 8 ) ; Text [ en-US ] = "Save" ; }; CheckBox BTN_DOCINFO { HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_DOCINFO"; Pos = MAP_APPFONT ( 12 , 41 ) ; Size = MAP_APPFONT ( 236 , 10 ) ; Text [ en-US ] = "~Edit document properties before saving" ; TabStop = TRUE ; }; FixedImage FI_BACKUP { Pos = MAP_APPFONT ( 5, 53 ) ; Size = MAP_APPFONT ( 6 , 6 ) ; Hide = TRUE; }; CheckBox BTN_BACKUP { HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_BACKUP"; Pos = MAP_APPFONT ( 12 , 52 ) ; Size = MAP_APPFONT ( 236 , 10 ) ; Text [ en-US ] = "Al~ways create backup copy" ; }; CheckBox BTN_AUTOSAVE { HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_AUTOSAVE"; Pos = MAP_APPFONT ( 12 , 63 ) ; Size = MAP_APPFONT ( 163 , 10 ) ; Text [ en-US ] = "Save ~AutoRecovery information every" ; }; NumericField ED_AUTOSAVE { HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE"; Border = TRUE ; Pos = MAP_APPFONT ( 180 , 62 ) ; Size = MAP_APPFONT ( 21 , 12 ) ; Left = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 60 ; StrictFormat = TRUE ; First = 1 ; Last = 60 ; SpinSize = 1 ; TabStop = TRUE ; }; FixedText FT_MINUTE { Pos = MAP_APPFONT ( 204 , 64 ) ; Size = MAP_APPFONT ( 65 , 8 ) ; Text [ en-US ] = "Minutes" ; }; CheckBox BTN_RELATIVE_FSYS { HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_FSYS"; Pos = MAP_APPFONT ( 12 , 74 ) ; Size = MAP_APPFONT ( 236 , 10 ) ; Text [ en-US ] = "Save URLs relative to file system" ; }; CheckBox BTN_RELATIVE_INET { HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_INET"; Pos = MAP_APPFONT ( 12 , 85 ) ; Size = MAP_APPFONT ( 248 , 10 ) ; Text [ en-US ] = "Save URLs relative to internet" ; }; FixedLine FL_FILTER { Pos = MAP_APPFONT ( 6 , 97 ) ; Size = MAP_APPFONT ( 248 , 8 ) ; Text [ en-US ] = "Default file format and ODF settings" ; }; FixedText FT_ODF_VERSION { Pos = MAP_APPFONT ( 12 , 107 ) ; Size = MAP_APPFONT ( 121 , 8 ) ; Text [ en-US ] = "ODF format version" ; }; ListBox LB_ODF_VERSION { HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION"; Pos = MAP_APPFONT ( 136 , 105 ) ; Size = MAP_APPFONT ( 108 , 58 ) ; Border = TRUE; DropDown = TRUE; StringList [ en-US ] = { < "1.0/1.1" ; 2 ; > ; < "1.2" ; 4 ; > ; < "1.2 Extended (compat mode)"; 8 ; > ; < "1.2 Extended (recommended)"; 0x7fffffff ; > ; }; }; CheckBox BTN_NOPRETTYPRINTING { HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_NOPRETTYPRINTING"; Pos = MAP_APPFONT ( 12 , 120 ) ; Size = MAP_APPFONT ( 248 , 10 ) ; Text [ en-US ] = "Size optimization for ODF format" ; }; CheckBox BTN_WARNALIENFORMAT { HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_WARNALIENFORMAT"; Pos = MAP_APPFONT ( 12 , 131 ) ; Size = MAP_APPFONT ( 248 , 10 ) ; Text [ en-US ] = "Warn when not saving in ODF or default format" ; }; FixedText FT_APP { Pos = MAP_APPFONT ( 12 , 142 ) ; Size = MAP_APPFONT ( 120 , 8 ) ; Text [ en-US ] = "D~ocument type"; }; FixedText FT_FILTER { Pos = MAP_APPFONT ( 136 , 142 ) ; Size = MAP_APPFONT ( 120 , 8 ) ; Text [ en-US ] = "Always sa~ve as"; }; ListBox LB_APP { HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP"; Pos = MAP_APPFONT ( 12 , 153 ) ; Size = MAP_APPFONT ( 108 , 58 ) ; Border = TRUE; DropDown = TRUE; StringList [ en-US ] = { < "Text document" ; APP_WRITER ; > ; < "HTML document" ; APP_WRITER_WEB; > ; < "Master document" ; APP_WRITER_GLOBAL; > ; < "Spreadsheet" ; APP_CALC ; > ; < "Presentation" ; APP_IMPRESS ; > ; < "Drawing" ; APP_DRAW ; > ; < "Formula" ; APP_MATH ; > ; }; }; FixedImage FI_FILTER { Pos = MAP_APPFONT ( 129, 154 ) ; Size = MAP_APPFONT ( 6 , 6 ) ; Hide = TRUE; }; ListBox LB_FILTER { HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER"; Pos = MAP_APPFONT ( 136 , 153 ) ; Size = MAP_APPFONT ( 108 , 58 ) ; Border = TRUE; Sort = TRUE; DropDown = TRUE; }; FixedImage FI_ODF_WARNING { Pos = MAP_APPFONT ( 12, 169 ) ; Size = MAP_APPFONT ( 8 , 8 ) ; Hide = TRUE; }; FixedText FT_WARN { Pos = MAP_APPFONT ( 23 , 169 ) ; Size = MAP_APPFONT ( 239 , 8 ) ; Hide = TRUE; Text [ en-US ] = "Not using ODF 1.2 Extended may cause information to be lost."; Text [ x-comment ] = "EN-US, the term 'extended' must not be translated."; }; Image IMG_ODF_WARNING { ImageBitmap = Bitmap { File = "odfwarning.png"; }; MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; }; }; }; ModalDialog RID_SVXDLG_FILTER_WARNING { HelpID = HID_SVXDLG_FILTER_WARNING; OutputSize = TRUE ; Moveable = TRUE ; Closeable = TRUE ; Sizeable = FALSE ; Border = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 ); Text = "%PRODUCTNAME %PRODUCTVERSION" ; FixedImage IMG_WARNING { Pos = MAP_APPFONT( 6, 6 ); Size = MAP_APPFONT( 30, 30 ); }; FixedText FT_FILTER_WARNING { Pos = MAP_APPFONT( 39, 6 ); Size = MAP_APPFONT( 175, 4 * 9 ); Wordbreak = TRUE; Text [ en-US ] = "Using \"%1\" as default file format may cause information loss.\n"; }; OKButton PB_OK { Pos = MAP_APPFONT( 60, (4 * 9)/*+ 12*/ + 13 ); Size = MAP_APPFONT( 50, 14 ); DefButton = TRUE; }; CancelButton PB_CANCEL { Pos = MAP_APPFONT( 120, (4 * 9)/*+ 12*/ + 13 ); Size = MAP_APPFONT( 50, 14 ); }; };