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