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#include <cuires.hrc> 23#include "passwdomdlg.hrc" 24#include "helpid.hrc" 25 26ModalDialog RID_DLG_PASSWORD_TO_OPEN_MODIFY 27{ 28 Size = MAP_APPFONT ( 200, 155 ) ; 29 Text [ en-US ] = "Set Password" ; 30 HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY ; 31 Border = TRUE ; 32 Moveable = TRUE ; 33 OutputSize = TRUE ; 34 SVLook = TRUE ; 35 36 FixedLine FL_FILE_ENCRYPTION 37 { 38 Pos = MAP_APPFONT ( 3, 3 ) ; 39 Size = MAP_APPFONT ( 194, 8 ) ; 40 Text [ en-US ] = "File encryption password" ; 41 }; 42 43 FixedText FT_PASSWD_TO_OPEN 44 { 45 Pos = MAP_APPFONT ( 6, 17 ) ; 46 Size = MAP_APPFONT ( 188, 8 ) ; 47 Text [ en-US ] = "~Enter password to open" ; 48 WordBreak = TRUE ; 49 }; 50 51 Edit ED_PASSWD_TO_OPEN 52 { 53 HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_OPEN ; 54 Pos = MAP_APPFONT ( 6, 28 ) ; 55 Size = MAP_APPFONT ( 188, 12 ) ; 56 Border = TRUE ; 57 PassWord = TRUE ; 58 }; 59 60 FixedText FT_REENTER_PASSWD_TO_OPEN 61 { 62 Pos = MAP_APPFONT ( 6, 45 ) ; 63 Size = MAP_APPFONT ( 188, 8 ) ; 64 Text [ en-US ] = "Confirm password" ; 65 WordBreak = TRUE ; 66 }; 67 68 Edit ED_REENTER_PASSWD_TO_OPEN 69 { 70 HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_CONFIRM_PASSWORD_TO_OPEN ; 71 Pos = MAP_APPFONT ( 6, 56 ) ; 72 Size = MAP_APPFONT ( 188, 12 ) ; 73 Border = TRUE ; 74 PassWord = TRUE ; 75 }; 76/* 77 FixedImage FI_PASSWD_TO_OPEN_MATCH 78 { 79 Pos = MAP_APPFONT ( 150, 42 ) ; 80 Size = MAP_APPFONT ( 12, 12 ) ; 81 }; 82*/ 83 FixedText FT_PASSWD_NOTE 84 { 85 Pos = MAP_APPFONT ( 6, 77 ) ; 86 Size = MAP_APPFONT ( 188, 5 * 8 ) ; // some extra space for translation in other languages 87 Text [ en-US ] = "Note: After a password has been set, the document will only open with the password. Should you lose the password, there will be no way to recover the document. Please also note that this password is case-sensitive." ; 88 WordBreak = TRUE ; 89 }; 90 91 FixedLine FL_BUTTONS 92 { 93 Pos = MAP_APPFONT ( 0, 122 ) ; 94 Size = MAP_APPFONT ( 200, 8 ) ; 95 }; 96 97 MoreButton BTN_MORE_FEWER_OPTIONS 98 { 99 HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_MORE ; 100 Pos = MAP_APPFONT ( 6, 135 ) ; 101 Size = MAP_APPFONT ( 65, 14 ) ; 102 Delta = 92 ; 103 MapUnit = MAP_APPFONT ; 104 State = FALSE ; 105 }; 106 107 OKButton BTN_OK 108 { 109 Pos = MAP_APPFONT ( 91, 135 ) ; 110 Size = MAP_APPFONT ( 50, 14 ) ; 111 DefButton = TRUE ; 112 }; 113 114 CancelButton BTN_CANCEL 115 { 116 Pos = MAP_APPFONT ( 144, 135 ) ; 117 Size = MAP_APPFONT ( 50, 14 ) ; 118 }; 119 120 FixedLine FL_FILE_SHARING_OPTIONS 121 { 122 Pos = MAP_APPFONT ( 3, 154 ) ; 123 Size = MAP_APPFONT ( 194, 8 ) ; 124 Text [ en-US ] = "File sharing password" ; 125 }; 126 127 CheckBox CB_OPEN_READONLY 128 { 129 HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_FILE_READONLY ; 130 Pos = MAP_APPFONT ( 6, 170 ) ; 131 Size = MAP_APPFONT ( 188, 8 ) ; 132 Text [ en-US ] = "Open file read-only" ; 133 }; 134 135 FixedText FT_PASSWD_TO_MODIFY 136 { 137 Pos = MAP_APPFONT ( 6, 186 ) ; 138 Size = MAP_APPFONT ( 188, 8 ) ; 139 Text [ en-US ] = "Enter password to allow editing" ; 140 WordBreak = TRUE ; 141 }; 142 143 Edit ED_PASSWD_TO_MODIFY 144 { 145 HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_MODIFY ; 146 Pos = MAP_APPFONT ( 6, 196 ) ; 147 Size = MAP_APPFONT ( 188, 12 ) ; 148 Border = TRUE ; 149 PassWord = TRUE ; 150 }; 151 152 FixedText FT_REENTER_PASSWD_TO_MODIFY 153 { 154 Pos = MAP_APPFONT ( 6, 214 ) ; 155 Size = MAP_APPFONT ( 188, 8 ) ; 156 Text [ en-US ] = "Confirm password" ; 157 WordBreak = TRUE ; 158 }; 159 160 Edit ED_REENTER_PASSWD_TO_MODIFY 161 { 162 HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_CONFIRM_PASSWORD_TO_MODIFY ; 163 Pos = MAP_APPFONT ( 6, 224 ) ; 164 Size = MAP_APPFONT ( 188, 12 ) ; 165 Border = TRUE ; 166 PassWord = TRUE ; 167 }; 168/* 169 FixedImage FI_PASSWD_TO_MODIFY_MATCH 170 { 171 Pos = MAP_APPFONT ( 150, 224 ) ; 172 Size = MAP_APPFONT ( 12, 12 ) ; 173 }; 174*/ 175 176 String STR_PASSWD_MUST_BE_CONFIRMED 177 { 178 Text [ en-US ] = "Password must be confirmed" ; 179 }; 180 181 String STR_MORE_OPTIONS 182 { 183 Text [ en-US ] = "More ~Options" ; 184 }; 185 186 String STR_FEWER_OPTIONS 187 { 188 Text [ en-US ] = "Fewer ~Options" ; 189 }; 190 191 String STR_ONE_PASSWORD_MISMATCH 192 { 193 Text [ en-US ] = "The confirmation password did not match the password. Set the password again by entering the same password in both boxes." ; 194 }; 195 196 String STR_TWO_PASSWORDS_MISMATCH 197 { 198 Text [ en-US ] = "The confirmation passwords did not match the original passwords. Set the passwords again." ; 199 }; 200 201 String STR_INVALID_STATE_FOR_OK_BUTTON 202 { 203 Text [ en-US ] = "Please enter a password to open or to modify, or check the open read-only option to continue." ; 204 }; 205 206 String STR_INVALID_STATE_FOR_OK_BUTTON_V2 207 { 208 Text [ en-US ] = "Set the password by entering the same password in both boxes." ; 209 }; 210/* 211 Image IMG_PASSWD_MATCH 212 { 213 ImageBitmap = Bitmap {File = "apply.png" ;} ; 214 }; 215 216 Image IMG_PASSWD_MATCH_HC 217 { 218 ImageBitmap = Bitmap {File = "apply_h.png" ;} ; 219 }; 220*/ 221}; 222 223// ********************************************************************** EOF 224