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