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