optsave.src (81ec2e1c) | optsave.src (3009d07a) |
---|---|
1/************************************************************** | 1/************************************************************** |
2 * | 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 | 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 * | 10 * |
11 * http://www.apache.org/licenses/LICENSE-2.0 | 11 * http://www.apache.org/licenses/LICENSE-2.0 |
12 * | 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. | 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 * | 19 * |
20 *************************************************************/ 21 | 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 \ --- 10 unchanged lines hidden (view full) --- 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 { | 22// include --------------------------------------------------------------- 23#include <sfx2/sfx.hrc> 24#include <cuires.hrc> 25#include "helpid.hrc" 26#include "optsave.hrc" 27 28// SID_SFXPAGE_SAVE ------------------------------------------------------ 29#define TEXT_SAVEPAGE \ --- 10 unchanged lines hidden (view full) --- 40 FixedLine LB_LOAD 41 { 42 Pos = MAP_APPFONT ( 6, 2 ) ; 43 Size = MAP_APPFONT ( 248, 8 ) ; 44 Text [ en-US ] = "Load" ; 45 }; 46 CheckBox CB_LOAD_SETTINGS 47 { |
50 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_SETTINGS"; | 48 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 { | 49 Pos = MAP_APPFONT ( 12, 11 ) ; 50 Size = MAP_APPFONT ( 236, 10 ) ; 51 Text [ en-US ] = "Load user-specific settings with the document" ; 52 }; 53 CheckBox CB_LOAD_DOCPRINTER 54 { |
57 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:CB_LOAD_DOCPRINTER"; | 55 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 { | 56 Pos = MAP_APPFONT ( 12, 22 ) ; 57 Size = MAP_APPFONT ( 236, 10 ) ; 58 Text [ en-US ] = "Load printer settings with the document" ; 59 }; 60 FixedLine GB_SAVE 61 { 62 Pos = MAP_APPFONT ( 6, 32 ) ; 63 Size = MAP_APPFONT ( 248, 8 ) ; 64 Text [ en-US ] = "Save" ; 65 }; 66 CheckBox BTN_DOCINFO 67 { |
70 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_DOCINFO"; | 68 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 { | 69 Pos = MAP_APPFONT ( 12, 41 ) ; 70 Size = MAP_APPFONT ( 236, 10 ) ; 71 Text [ en-US ] = "~Edit document properties before saving" ; 72 TabStop = TRUE ; 73 }; 74 FixedImage FI_BACKUP 75 { 76 Pos = MAP_APPFONT ( 5, 53 ) ; 77 Size = MAP_APPFONT ( 6, 6 ) ; 78 Hide = TRUE ; 79 }; 80 CheckBox BTN_BACKUP 81 { |
84 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_BACKUP"; | 82 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 { | 83 Pos = MAP_APPFONT ( 12, 52 ) ; 84 Size = MAP_APPFONT ( 236, 10 ) ; 85 Text [ en-US ] = "Al~ways create backup copy" ; 86 }; 87 CheckBox BTN_AUTOSAVE 88 { |
91 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_AUTOSAVE"; | 89 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 { | 90 Pos = MAP_APPFONT ( 12, 63 ) ; 91 Size = MAP_APPFONT ( 150, 10 ) ; 92 Text [ en-US ] = "Save ~AutoRecovery information every" ; 93 }; 94 NumericField ED_AUTOSAVE 95 { |
98 HelpID = "cui:NumericField:RID_SFXPAGE_SAVE:ED_AUTOSAVE"; | 96 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 ; --- 6 unchanged lines hidden (view full) --- 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 { | 97 Border = TRUE ; 98 Pos = MAP_APPFONT ( 180, 62 ) ; 99 Size = MAP_APPFONT ( 21, 12 ) ; 100 Left = TRUE ; 101 Repeat = TRUE ; 102 Spin = TRUE ; 103 Minimum = 1 ; 104 Maximum = 60 ; --- 6 unchanged lines hidden (view full) --- 111 FixedText FT_MINUTE 112 { 113 Pos = MAP_APPFONT ( 204, 63 ) ; 114 Size = MAP_APPFONT ( 35, 8 ) ; 115 Text [ en-US ] = "Minutes" ; 116 }; 117 CheckBox BTN_RELATIVE_FSYS 118 { |
121 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_FSYS"; | 119 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 { | 120 Pos = MAP_APPFONT ( 12, 74 ) ; 121 Size = MAP_APPFONT ( 236, 10 ) ; 122 Text [ en-US ] = "Save URLs relative to file system" ; 123 }; 124 CheckBox BTN_RELATIVE_INET 125 { |
128 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_RELATIVE_INET"; | 126 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 { | 127 Pos = MAP_APPFONT ( 12, 85 ) ; 128 Size = MAP_APPFONT ( 248, 10 ) ; 129 Text [ en-US ] = "Save URLs relative to internet" ; 130 }; 131 FixedLine FL_FILTER 132 { 133 Pos = MAP_APPFONT ( 6, 97 ) ; 134 Size = MAP_APPFONT ( 248, 8 ) ; 135 Text [ en-US ] = "Default file format and ODF settings" ; 136 }; 137 FixedText FT_ODF_VERSION 138 { 139 Pos = MAP_APPFONT ( 12, 107 ) ; 140 Size = MAP_APPFONT ( 121, 8 ) ; 141 Text [ en-US ] = "ODF format version" ; 142 }; 143 ListBox LB_ODF_VERSION 144 { |
147 HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_ODF_VERSION"; | 145 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 { | 146 Pos = MAP_APPFONT ( 136, 105 ) ; 147 Size = MAP_APPFONT ( 108, 58 ) ; 148 Border = TRUE ; 149 DropDown = TRUE ; 150 StringList [ en-US ] = 151 { 152 < "1.0/1.1" ; 2 ; > ; 153 < "1.2" ; 4 ; > ; 154 < "1.2 Extended (recommended)" ; 0x7fffffff ; > ; 155 }; 156 }; 157 CheckBox BTN_ODFENCRYPTION 158 { |
161 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_ODFENCRYPTION"; | 159 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 { | 160 Pos = MAP_APPFONT ( 12, 120 ) ; 161 Size = MAP_APPFONT ( 248, 10 ) ; 162 Text [ en-US ] = "Enable AES-256 encryption (ODF 1.2)" ; 163 }; 164 CheckBox BTN_NOPRETTYPRINTING 165 { |
168 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_NOPRETTYPRINTING"; | 166 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 { | 167 Pos = MAP_APPFONT ( 12, 131 ) ; 168 Size = MAP_APPFONT ( 248, 10 ) ; 169 Text [ en-US ] = "Size optimization for ODF format" ; 170 }; 171 CheckBox BTN_WARNALIENFORMAT 172 { |
175 HelpID = "cui:CheckBox:RID_SFXPAGE_SAVE:BTN_WARNALIENFORMAT"; | 173 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 { | 174 Pos = MAP_APPFONT ( 12, 142 ) ; 175 Size = MAP_APPFONT ( 248, 10 ) ; 176 Text [ en-US ] = "Warn when not saving in ODF or default format" ; 177 }; 178 FixedText FT_APP 179 { 180 Pos = MAP_APPFONT ( 12, 153 ) ; 181 Size = MAP_APPFONT ( 120, 8 ) ; 182 Text [ en-US ] = "D~ocument type" ; 183 }; 184 FixedText FT_FILTER 185 { 186 Pos = MAP_APPFONT ( 136, 153 ) ; 187 Size = MAP_APPFONT ( 120, 8 ) ; 188 Text [ en-US ] = "Always sa~ve as" ; 189 }; 190 ListBox LB_APP 191 { |
194 HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_APP"; | 192 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 ; > ; --- 7 unchanged lines hidden (view full) --- 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 { | 193 Pos = MAP_APPFONT ( 12, 164 ) ; 194 Size = MAP_APPFONT ( 108, 58 ) ; 195 Border = TRUE ; 196 DropDown = TRUE ; 197 StringList [ en-US ] = 198 { 199 < "Text document" ; APP_WRITER ; > ; 200 < "HTML document" ; APP_WRITER_WEB ; > ; --- 7 unchanged lines hidden (view full) --- 208 FixedImage FI_FILTER 209 { 210 Pos = MAP_APPFONT ( 129, 153 ) ; 211 Size = MAP_APPFONT ( 6, 6 ) ; 212 Hide = TRUE ; 213 }; 214 ListBox LB_FILTER 215 { |
218 HelpID = "cui:ListBox:RID_SFXPAGE_SAVE:LB_FILTER"; | 216 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 { --- 7 unchanged lines hidden (view full) --- 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 { | 217 Pos = MAP_APPFONT ( 136, 164 ) ; 218 Size = MAP_APPFONT ( 108, 58 ) ; 219 Border = TRUE ; 220 Sort = TRUE ; 221 DropDown = TRUE ; 222 }; 223 FixedImage FI_ODF_WARNING 224 { --- 7 unchanged lines hidden (view full) --- 232 Size = MAP_APPFONT ( 239, 8 ) ; 233 Hide = TRUE ; 234 Text [ en-US ] = "Not using ODF 1.2 Extended may cause information to be lost." ; 235 }; 236 Image IMG_ODF_WARNING 237 { 238 ImageBitmap = Bitmap 239 { |
242 File = "odfwarning.png"; | 240 File = "odfwarning.png" ; |
243 }; 244 }; 245 Image IMG_ODF_WARNING_HC 246 { 247 ImageBitmap = Bitmap 248 { | 241 }; 242 }; 243 Image IMG_ODF_WARNING_HC 244 { 245 ImageBitmap = Bitmap 246 { |
249 File = "odfwarning_h.png"; | 247 File = "odfwarning_h.png" ; |
250 }; 251 }; 252}; 253 254ModalDialog RID_SVXDLG_FILTER_WARNING 255{ | 248 }; 249 }; 250}; 251 252ModalDialog RID_SVXDLG_FILTER_WARNING 253{ |
256 HelpID = HID_SVXDLG_FILTER_WARNING; | 254 HelpID = HID_SVXDLG_FILTER_WARNING ; |
257 OutputSize = TRUE ; 258 Moveable = TRUE ; 259 Closeable = TRUE ; 260 Sizeable = FALSE ; 261 Border = TRUE ; 262 SVLook = TRUE ; | 255 OutputSize = TRUE ; 256 Moveable = TRUE ; 257 Closeable = TRUE ; 258 Sizeable = FALSE ; 259 Border = TRUE ; 260 SVLook = TRUE ; |
263 Size = MAP_APPFONT( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 ); | 261 Size = MAP_APPFONT ( 175 + 39 + (3 * 6), (4 * 9)+ 12 + (3 * 12) + 6 - 21 ) ; |
264 Text = "%PRODUCTNAME %PRODUCTVERSION" ; 265 FixedImage IMG_WARNING 266 { | 262 Text = "%PRODUCTNAME %PRODUCTVERSION" ; 263 FixedImage IMG_WARNING 264 { |
267 Pos = MAP_APPFONT( 6, 6 ); 268 Size = MAP_APPFONT( 30, 30 ); | 265 Pos = MAP_APPFONT ( 6, 6 ) ; 266 Size = MAP_APPFONT ( 30, 30 ) ; |
269 }; 270 FixedText FT_FILTER_WARNING 271 { | 267 }; 268 FixedText FT_FILTER_WARNING 269 { |
272 Pos = MAP_APPFONT( 39, 6 ); 273 Size = MAP_APPFONT( 175, 4 * 9 ); | 270 Pos = MAP_APPFONT ( 39, 6 ) ; 271 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 { | 272 Wordbreak = TRUE ; 273 Text [ en-US ] = "Using \"%1\" as default file format may cause information loss.\n" ; 274 }; 275 OKButton PB_OK 276 { |
279 Pos = MAP_APPFONT( 60, (4 * 9)/*+ 12*/ + 13 ); 280 Size = MAP_APPFONT( 50, 14 ); | 277 Pos = MAP_APPFONT ( 60, (4 * 9)/*+ 12*/ + 13 ) ; 278 Size = MAP_APPFONT ( 50, 14 ) ; |
281 DefButton = TRUE ; 282 }; 283 CancelButton PB_CANCEL 284 { | 279 DefButton = TRUE ; 280 }; 281 CancelButton PB_CANCEL 282 { |
285 Pos = MAP_APPFONT( 120, (4 * 9)/*+ 12*/ + 13 ); 286 Size = MAP_APPFONT( 50, 14 ); | 283 Pos = MAP_APPFONT ( 120, (4 * 9)/*+ 12*/ + 13 ) ; 284 Size = MAP_APPFONT ( 50, 14 ) ; |
287 }; 288}; 289 | 285 }; 286}; 287 |
288// ********************************************************************** EOF |
|