10e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 40e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 50e2af6afSAndrew Rist * distributed with this work for additional information 60e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 90e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 100e2af6afSAndrew Rist * 110e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 120e2af6afSAndrew Rist * 130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 140e2af6afSAndrew Rist * software distributed under the License is distributed on an 150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 160e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 170e2af6afSAndrew Rist * specific language governing permissions and limitations 180e2af6afSAndrew Rist * under the License. 190e2af6afSAndrew Rist * 200e2af6afSAndrew Rist *************************************************************/ 210e2af6afSAndrew Rist 220e2af6afSAndrew Rist 23cdf0e10cSrcweir 24*8001b48eSMatthias Seidel// include --------------------------------------------------------------- 25cdf0e10cSrcweir#include <sfx2/sfx.hrc> 26cdf0e10cSrcweir#include <cuires.hrc> 27cdf0e10cSrcweir#include "helpid.hrc" 28cdf0e10cSrcweir#include "optsave.hrc" 29cdf0e10cSrcweir 30*8001b48eSMatthias Seidel// SID_SFXPAGE_SAVE ------------------------------------------------------ 31cdf0e10cSrcweir#define TEXT_SAVEPAGE \ 32*8001b48eSMatthias Seidel Text [ en-US ] = "Save" ;\ 33cdf0e10cSrcweir 34cdf0e10cSrcweirTabPage RID_SFXPAGE_SAVE 35cdf0e10cSrcweir{ 36cdf0e10cSrcweir HelpId = HID_OPTIONS_SAVE ; 37cdf0e10cSrcweir OutputSize = TRUE ; 38cdf0e10cSrcweir SVLook = TRUE ; 39cdf0e10cSrcweir Hide = TRUE ; 40cdf0e10cSrcweir TEXT_SAVEPAGE 41*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 260, 185 ) ; 42*8001b48eSMatthias Seidel FixedLine LB_LOAD 43*8001b48eSMatthias Seidel { 44*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 6, 2 ) ; 45*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 248, 8 ) ; 46*8001b48eSMatthias Seidel Text [ en-US ] = "Load" ; 47cdf0e10cSrcweir }; 48*8001b48eSMatthias Seidel CheckBox CB_LOAD_SETTINGS 49*8001b48eSMatthias Seidel { 50*8001b48eSMatthias Seidel HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_SETTINGS"; 51*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 11 ) ; 52*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 236, 10 ) ; 53*8001b48eSMatthias Seidel Text [ en-US ] = "Load user-specific settings with the document" ; 54cdf0e10cSrcweir }; 55*8001b48eSMatthias Seidel CheckBox CB_LOAD_DOCPRINTER 56*8001b48eSMatthias Seidel { 57*8001b48eSMatthias Seidel HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_DOCPRINTER"; 58*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 22 ) ; 59*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 236, 10 ) ; 60*8001b48eSMatthias Seidel Text [ en-US ] = "Load printer settings with the document" ; 61cdf0e10cSrcweir }; 62*8001b48eSMatthias Seidel FixedLine GB_SAVE 63cdf0e10cSrcweir { 64*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 6, 32 ) ; 65*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 248, 8 ) ; 66cdf0e10cSrcweir Text [ en-US ] = "Save" ; 67cdf0e10cSrcweir }; 68*8001b48eSMatthias Seidel CheckBox BTN_DOCINFO 69cdf0e10cSrcweir { 70*8001b48eSMatthias Seidel HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_DOCINFO"; 71*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 41 ) ; 72*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 236, 10 ) ; 73cdf0e10cSrcweir Text [ en-US ] = "~Edit document properties before saving" ; 74cdf0e10cSrcweir TabStop = TRUE ; 75cdf0e10cSrcweir }; 76*8001b48eSMatthias Seidel FixedImage FI_BACKUP 77cdf0e10cSrcweir { 78*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 5, 53 ) ; 79*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 6, 6 ) ; 80*8001b48eSMatthias Seidel Hide = TRUE ; 81*8001b48eSMatthias Seidel }; 82*8001b48eSMatthias Seidel CheckBox BTN_BACKUP 83*8001b48eSMatthias Seidel { 84*8001b48eSMatthias Seidel HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_BACKUP"; 85*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 52 ) ; 86*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 236, 10 ) ; 87cdf0e10cSrcweir Text [ en-US ] = "Al~ways create backup copy" ; 88cdf0e10cSrcweir }; 89*8001b48eSMatthias Seidel CheckBox BTN_AUTOSAVE 90cdf0e10cSrcweir { 91*8001b48eSMatthias Seidel HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_AUTOSAVE"; 92*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 63 ) ; 93*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 150, 10 ) ; 94cdf0e10cSrcweir Text [ en-US ] = "Save ~AutoRecovery information every" ; 95cdf0e10cSrcweir }; 96cdf0e10cSrcweir NumericField ED_AUTOSAVE 97cdf0e10cSrcweir { 98*8001b48eSMatthias Seidel HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE"; 99cdf0e10cSrcweir Border = TRUE ; 100*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 180, 62 ) ; 101*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 21, 12 ) ; 102cdf0e10cSrcweir Left = TRUE ; 103cdf0e10cSrcweir Repeat = TRUE ; 104cdf0e10cSrcweir Spin = TRUE ; 105cdf0e10cSrcweir Minimum = 1 ; 106cdf0e10cSrcweir Maximum = 60 ; 107cdf0e10cSrcweir StrictFormat = TRUE ; 108cdf0e10cSrcweir First = 1 ; 109cdf0e10cSrcweir Last = 60 ; 110cdf0e10cSrcweir SpinSize = 1 ; 111cdf0e10cSrcweir TabStop = TRUE ; 112cdf0e10cSrcweir }; 113cdf0e10cSrcweir FixedText FT_MINUTE 114cdf0e10cSrcweir { 115*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 204, 63 ) ; 116*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 35, 8 ) ; 117cdf0e10cSrcweir Text [ en-US ] = "Minutes" ; 118cdf0e10cSrcweir }; 119*8001b48eSMatthias Seidel CheckBox BTN_RELATIVE_FSYS 120cdf0e10cSrcweir { 121*8001b48eSMatthias Seidel HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_FSYS"; 122*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 74 ) ; 123*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 236, 10 ) ; 124*8001b48eSMatthias Seidel Text [ en-US ] = "Save URLs relative to file system" ; 125cdf0e10cSrcweir }; 126*8001b48eSMatthias Seidel CheckBox BTN_RELATIVE_INET 127cdf0e10cSrcweir { 128*8001b48eSMatthias Seidel HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_INET"; 129*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 85 ) ; 130*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 248, 10 ) ; 131*8001b48eSMatthias Seidel Text [ en-US ] = "Save URLs relative to internet" ; 132cdf0e10cSrcweir }; 133*8001b48eSMatthias Seidel FixedLine FL_FILTER 134cdf0e10cSrcweir { 135*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 6, 97 ) ; 136*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 248, 8 ) ; 137*8001b48eSMatthias Seidel Text [ en-US ] = "Default file format and ODF settings" ; 138cdf0e10cSrcweir }; 139*8001b48eSMatthias Seidel FixedText FT_ODF_VERSION 140*8001b48eSMatthias Seidel { 141*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 107 ) ; 142*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 121, 8 ) ; 143*8001b48eSMatthias Seidel Text [ en-US ] = "ODF format version" ; 144cdf0e10cSrcweir }; 145*8001b48eSMatthias Seidel ListBox LB_ODF_VERSION 146*8001b48eSMatthias Seidel { 147*8001b48eSMatthias Seidel HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION"; 148*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 136, 105 ) ; 149*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 108, 58 ) ; 150*8001b48eSMatthias Seidel Border = TRUE ; 151*8001b48eSMatthias Seidel DropDown = TRUE ; 152*8001b48eSMatthias Seidel StringList [ en-US ] = 153*8001b48eSMatthias Seidel { 154*8001b48eSMatthias Seidel < "1.0/1.1" ; 2 ; > ; 155*8001b48eSMatthias Seidel < "1.2" ; 4 ; > ; 156*8001b48eSMatthias Seidel < "1.2 Extended (recommended)" ; 0x7fffffff ; > ; 157*8001b48eSMatthias Seidel }; 158cdf0e10cSrcweir }; 159*8001b48eSMatthias Seidel CheckBox BTN_ODFENCRYPTION 160*8001b48eSMatthias Seidel { 161*8001b48eSMatthias Seidel HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_ODFENCRYPTION"; 162*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 120 ) ; 163*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 248, 10 ) ; 164*8001b48eSMatthias Seidel Text [ en-US ] = "Enable AES-256 encryption (ODF 1.2)" ; 165*8001b48eSMatthias Seidel }; 166*8001b48eSMatthias Seidel CheckBox BTN_NOPRETTYPRINTING 167*8001b48eSMatthias Seidel { 168*8001b48eSMatthias Seidel HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_NOPRETTYPRINTING"; 169*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 131 ) ; 170*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 248, 10 ) ; 171*8001b48eSMatthias Seidel Text [ en-US ] = "Size optimization for ODF format" ; 172*8001b48eSMatthias Seidel }; 173*8001b48eSMatthias Seidel CheckBox BTN_WARNALIENFORMAT 174*8001b48eSMatthias Seidel { 175*8001b48eSMatthias Seidel HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_WARNALIENFORMAT"; 176*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 142 ) ; 177*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 248, 10 ) ; 178*8001b48eSMatthias Seidel Text [ en-US ] = "Warn when not saving in ODF or default format" ; 179*8001b48eSMatthias Seidel }; 180*8001b48eSMatthias Seidel FixedText FT_APP 181*8001b48eSMatthias Seidel { 182*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 153 ) ; 183*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 120, 8 ) ; 184*8001b48eSMatthias Seidel Text [ en-US ] = "D~ocument type" ; 185*8001b48eSMatthias Seidel }; 186*8001b48eSMatthias Seidel FixedText FT_FILTER 187*8001b48eSMatthias Seidel { 188*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 136, 153 ) ; 189*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 120, 8 ) ; 190*8001b48eSMatthias Seidel Text [ en-US ] = "Always sa~ve as" ; 191*8001b48eSMatthias Seidel }; 192*8001b48eSMatthias Seidel ListBox LB_APP 193*8001b48eSMatthias Seidel { 194*8001b48eSMatthias Seidel HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP"; 195*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 164 ) ; 196*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 108, 58 ) ; 197*8001b48eSMatthias Seidel Border = TRUE ; 198*8001b48eSMatthias Seidel DropDown = TRUE ; 199cdf0e10cSrcweir StringList [ en-US ] = 200cdf0e10cSrcweir { 201*8001b48eSMatthias Seidel < "Text document" ; APP_WRITER ; > ; 202*8001b48eSMatthias Seidel < "HTML document" ; APP_WRITER_WEB ; > ; 203*8001b48eSMatthias Seidel < "Master document" ; APP_WRITER_GLOBAL ; > ; 204*8001b48eSMatthias Seidel < "Spreadsheet" ; APP_CALC ; > ; 205*8001b48eSMatthias Seidel < "Presentation" ; APP_IMPRESS ; > ; 206*8001b48eSMatthias Seidel < "Drawing" ; APP_DRAW ; > ; 207*8001b48eSMatthias Seidel < "Formula" ; APP_MATH ; > ; 208*8001b48eSMatthias Seidel }; 209*8001b48eSMatthias Seidel }; 210*8001b48eSMatthias Seidel FixedImage FI_FILTER 211*8001b48eSMatthias Seidel { 212*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 129, 153 ) ; 213*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 6, 6 ) ; 214*8001b48eSMatthias Seidel Hide = TRUE ; 215*8001b48eSMatthias Seidel }; 216*8001b48eSMatthias Seidel ListBox LB_FILTER 217*8001b48eSMatthias Seidel { 218*8001b48eSMatthias Seidel HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER"; 219*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 136, 164 ) ; 220*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 108, 58 ) ; 221*8001b48eSMatthias Seidel Border = TRUE ; 222*8001b48eSMatthias Seidel Sort = TRUE ; 223*8001b48eSMatthias Seidel DropDown = TRUE ; 224*8001b48eSMatthias Seidel }; 225*8001b48eSMatthias Seidel FixedImage FI_ODF_WARNING 226*8001b48eSMatthias Seidel { 227*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 12, 180 ) ; 228*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 8, 8 ) ; 229*8001b48eSMatthias Seidel Hide = TRUE ; 230*8001b48eSMatthias Seidel }; 231*8001b48eSMatthias Seidel FixedText FT_WARN 232*8001b48eSMatthias Seidel { 233*8001b48eSMatthias Seidel Pos = MAP_APPFONT ( 23, 180 ) ; 234*8001b48eSMatthias Seidel Size = MAP_APPFONT ( 239, 8 ) ; 235*8001b48eSMatthias Seidel Hide = TRUE ; 236*8001b48eSMatthias Seidel Text [ en-US ] = "Not using ODF 1.2 Extended may cause information to be lost!" ; 237*8001b48eSMatthias Seidel }; 238*8001b48eSMatthias Seidel Image IMG_ODF_WARNING 239*8001b48eSMatthias Seidel { 240*8001b48eSMatthias Seidel ImageBitmap = Bitmap 241*8001b48eSMatthias Seidel { 242*8001b48eSMatthias Seidel File = "odfwarning.png"; 243*8001b48eSMatthias Seidel }; 244*8001b48eSMatthias Seidel }; 245*8001b48eSMatthias Seidel Image IMG_ODF_WARNING_HC 246*8001b48eSMatthias Seidel { 247*8001b48eSMatthias Seidel ImageBitmap = Bitmap 248*8001b48eSMatthias Seidel { 249*8001b48eSMatthias Seidel File = "odfwarning_h.png"; 250cdf0e10cSrcweir }; 251cdf0e10cSrcweir }; 252cdf0e10cSrcweir}; 253cdf0e10cSrcweir 254cdf0e10cSrcweirModalDialog RID_SVXDLG_FILTER_WARNING 255cdf0e10cSrcweir{ 256*8001b48eSMatthias Seidel HelpID = HID_SVXDLG_FILTER_WARNING; 257cdf0e10cSrcweir OutputSize = TRUE ; 258cdf0e10cSrcweir Moveable = TRUE ; 259*8001b48eSMatthias Seidel Closeable = TRUE ; 260cdf0e10cSrcweir Sizeable = FALSE ; 261cdf0e10cSrcweir Border = TRUE ; 262cdf0e10cSrcweir SVLook = TRUE ; 263*8001b48eSMatthias Seidel Size = MAP_APPFONT( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 ); 264*8001b48eSMatthias Seidel Text = "%PRODUCTNAME %PRODUCTVERSION" ; 265*8001b48eSMatthias Seidel FixedImage IMG_WARNING 266cdf0e10cSrcweir { 267cdf0e10cSrcweir Pos = MAP_APPFONT( 6, 6 ); 268cdf0e10cSrcweir Size = MAP_APPFONT( 30, 30 ); 269cdf0e10cSrcweir }; 270*8001b48eSMatthias Seidel FixedText FT_FILTER_WARNING 271*8001b48eSMatthias Seidel { 272*8001b48eSMatthias Seidel Pos = MAP_APPFONT( 39, 6 ); 273*8001b48eSMatthias Seidel Size = MAP_APPFONT( 175, 4 * 9 ); 274*8001b48eSMatthias Seidel Wordbreak = TRUE ; 275*8001b48eSMatthias Seidel Text [ en-US ] = "Using \"%1\" as default file format may cause information loss.\n" ; 276cdf0e10cSrcweir }; 277*8001b48eSMatthias Seidel OKButton PB_OK 278*8001b48eSMatthias Seidel { 279*8001b48eSMatthias Seidel Pos = MAP_APPFONT( 60, (4 * 9)/*+ 12*/ + 13 ); 280cdf0e10cSrcweir Size = MAP_APPFONT( 50, 14 ); 281*8001b48eSMatthias Seidel DefButton = TRUE ; 282*8001b48eSMatthias Seidel }; 283*8001b48eSMatthias Seidel CancelButton PB_CANCEL 284cdf0e10cSrcweir { 285*8001b48eSMatthias Seidel Pos = MAP_APPFONT( 120, (4 * 9)/*+ 12*/ + 13 ); 286cdf0e10cSrcweir Size = MAP_APPFONT( 50, 14 ); 287cdf0e10cSrcweir }; 288cdf0e10cSrcweir}; 289cdf0e10cSrcweir 290