10e2af6afSAndrew Rist/************************************************************** 231bae1a5Smseidel * 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 1031bae1a5Smseidel * 110e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 1231bae1a5Smseidel * 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. 1931bae1a5Smseidel * 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{ 31d2c8a75eSmseidel Size = MAP_APPFONT ( 200, 155 ) ; 3231bae1a5Smseidel Text [ en-US ] = "Set Password" ; 3331bae1a5Smseidel HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY ; 3431bae1a5Smseidel Border = TRUE ; 3531bae1a5Smseidel Moveable = TRUE ; 3631bae1a5Smseidel OutputSize = TRUE ; 3731bae1a5Smseidel SVLook = TRUE ; 3831bae1a5Smseidel 3931bae1a5Smseidel FixedLine FL_FILE_ENCRYPTION 4031bae1a5Smseidel { 4131bae1a5Smseidel Pos = MAP_APPFONT ( 3, 3 ) ; 42d2c8a75eSmseidel Size = MAP_APPFONT ( 194, 8 ) ; 4331bae1a5Smseidel Text [ en-US ] = "File encryption password" ; 4431bae1a5Smseidel }; 4531bae1a5Smseidel 4631bae1a5Smseidel FixedText FT_PASSWD_TO_OPEN 4731bae1a5Smseidel { 4831bae1a5Smseidel Pos = MAP_APPFONT ( 6, 17 ) ; 49d2c8a75eSmseidel Size = MAP_APPFONT ( 188, 8 ) ; 5031bae1a5Smseidel Text [ en-US ] = "~Enter password to open" ; 5131bae1a5Smseidel WordBreak = TRUE ; 5231bae1a5Smseidel }; 5331bae1a5Smseidel 5431bae1a5Smseidel Edit ED_PASSWD_TO_OPEN 5531bae1a5Smseidel { 5631bae1a5Smseidel HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_OPEN ; 5731bae1a5Smseidel Pos = MAP_APPFONT ( 6, 28 ) ; 58d2c8a75eSmseidel Size = MAP_APPFONT ( 188, 12 ) ; 5931bae1a5Smseidel Border = TRUE ; 6031bae1a5Smseidel PassWord = TRUE ; 6131bae1a5Smseidel }; 6231bae1a5Smseidel 6331bae1a5Smseidel FixedText FT_REENTER_PASSWD_TO_OPEN 6431bae1a5Smseidel { 6531bae1a5Smseidel Pos = MAP_APPFONT ( 6, 45 ) ; 66d2c8a75eSmseidel Size = MAP_APPFONT ( 188, 8 ) ; 6731bae1a5Smseidel Text [ en-US ] = "Confirm password" ; 6831bae1a5Smseidel WordBreak = TRUE ; 6931bae1a5Smseidel }; 7031bae1a5Smseidel 7131bae1a5Smseidel Edit ED_REENTER_PASSWD_TO_OPEN 7231bae1a5Smseidel { 7331bae1a5Smseidel HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_CONFIRM_PASSWORD_TO_OPEN ; 7431bae1a5Smseidel Pos = MAP_APPFONT ( 6, 56 ) ; 75d2c8a75eSmseidel Size = MAP_APPFONT ( 188, 12 ) ; 7631bae1a5Smseidel Border = TRUE ; 7731bae1a5Smseidel PassWord = TRUE ; 7831bae1a5Smseidel }; 79cdf0e10cSrcweir/* 8031bae1a5Smseidel FixedImage FI_PASSWD_TO_OPEN_MATCH 8131bae1a5Smseidel { 8231bae1a5Smseidel Pos = MAP_APPFONT ( 150, 42 ) ; 8331bae1a5Smseidel Size = MAP_APPFONT ( 12, 12 ) ; 8431bae1a5Smseidel }; 85cdf0e10cSrcweir*/ 8631bae1a5Smseidel FixedText FT_PASSWD_NOTE 8731bae1a5Smseidel { 88d2c8a75eSmseidel Pos = MAP_APPFONT ( 6, 77 ) ; 89d2c8a75eSmseidel Size = MAP_APPFONT ( 188, 5 * 8 ) ; // some extra space for translation in other languages 9031bae1a5Smseidel 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." ; 9131bae1a5Smseidel WordBreak = TRUE ; 9231bae1a5Smseidel }; 9331bae1a5Smseidel 9431bae1a5Smseidel FixedLine FL_BUTTONS 9531bae1a5Smseidel { 96d2c8a75eSmseidel Pos = MAP_APPFONT ( 0, 122 ) ; 97d2c8a75eSmseidel Size = MAP_APPFONT ( 200, 8 ) ; 9831bae1a5Smseidel }; 9931bae1a5Smseidel 10031bae1a5Smseidel MoreButton BTN_MORE_FEWER_OPTIONS 10131bae1a5Smseidel { 10231bae1a5Smseidel HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_MORE ; 103d2c8a75eSmseidel Pos = MAP_APPFONT ( 6, 135 ) ; 104*49cf81a2Smseidel Size = MAP_APPFONT ( 65, 14 ) ; 10531bae1a5Smseidel Delta = 92 ; 10631bae1a5Smseidel MapUnit = MAP_APPFONT ; 10731bae1a5Smseidel State = FALSE ; 10831bae1a5Smseidel }; 10931bae1a5Smseidel 11031bae1a5Smseidel OKButton BTN_OK 11131bae1a5Smseidel { 112d2c8a75eSmseidel Pos = MAP_APPFONT ( 91, 135 ) ; 11331bae1a5Smseidel Size = MAP_APPFONT ( 50, 14 ) ; 11431bae1a5Smseidel DefButton = TRUE ; 11531bae1a5Smseidel }; 11631bae1a5Smseidel 11731bae1a5Smseidel CancelButton BTN_CANCEL 11831bae1a5Smseidel { 119d2c8a75eSmseidel Pos = MAP_APPFONT ( 144, 135 ) ; 12031bae1a5Smseidel Size = MAP_APPFONT ( 50, 14 ) ; 12131bae1a5Smseidel }; 12231bae1a5Smseidel 12331bae1a5Smseidel FixedLine FL_FILE_SHARING_OPTIONS 12431bae1a5Smseidel { 12531bae1a5Smseidel Pos = MAP_APPFONT ( 3, 154 ) ; 126d2c8a75eSmseidel Size = MAP_APPFONT ( 194, 8 ) ; 12731bae1a5Smseidel Text [ en-US ] = "File sharing password" ; 12831bae1a5Smseidel }; 12931bae1a5Smseidel 13031bae1a5Smseidel CheckBox CB_OPEN_READONLY 13131bae1a5Smseidel { 13231bae1a5Smseidel HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_FILE_READONLY ; 13331bae1a5Smseidel Pos = MAP_APPFONT ( 6, 170 ) ; 134d2c8a75eSmseidel Size = MAP_APPFONT ( 188, 8 ) ; 13531bae1a5Smseidel Text [ en-US ] = "Open file read-only" ; 13631bae1a5Smseidel }; 13731bae1a5Smseidel 13831bae1a5Smseidel FixedText FT_PASSWD_TO_MODIFY 13931bae1a5Smseidel { 14031bae1a5Smseidel Pos = MAP_APPFONT ( 6, 186 ) ; 141d2c8a75eSmseidel Size = MAP_APPFONT ( 188, 8 ) ; 14231bae1a5Smseidel Text [ en-US ] = "Enter password to allow editing" ; 14331bae1a5Smseidel WordBreak = TRUE ; 14431bae1a5Smseidel }; 14531bae1a5Smseidel 14631bae1a5Smseidel Edit ED_PASSWD_TO_MODIFY 14731bae1a5Smseidel { 14831bae1a5Smseidel HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_MODIFY ; 14931bae1a5Smseidel Pos = MAP_APPFONT ( 6, 196 ) ; 150d2c8a75eSmseidel Size = MAP_APPFONT ( 188, 12 ) ; 15131bae1a5Smseidel Border = TRUE ; 15231bae1a5Smseidel PassWord = TRUE ; 15331bae1a5Smseidel }; 15431bae1a5Smseidel 15531bae1a5Smseidel FixedText FT_REENTER_PASSWD_TO_MODIFY 15631bae1a5Smseidel { 15731bae1a5Smseidel Pos = MAP_APPFONT ( 6, 214 ) ; 158d2c8a75eSmseidel Size = MAP_APPFONT ( 188, 8 ) ; 15931bae1a5Smseidel Text [ en-US ] = "Confirm password" ; 16031bae1a5Smseidel WordBreak = TRUE ; 16131bae1a5Smseidel }; 16231bae1a5Smseidel 16331bae1a5Smseidel Edit ED_REENTER_PASSWD_TO_MODIFY 16431bae1a5Smseidel { 16531bae1a5Smseidel HelpId = HID_DLG_PASSWORD_TO_OPEN_MODIFY_CONFIRM_PASSWORD_TO_MODIFY ; 16631bae1a5Smseidel Pos = MAP_APPFONT ( 6, 224 ) ; 167d2c8a75eSmseidel Size = MAP_APPFONT ( 188, 12 ) ; 16831bae1a5Smseidel Border = TRUE ; 16931bae1a5Smseidel PassWord = TRUE ; 17031bae1a5Smseidel }; 171cdf0e10cSrcweir/* 17231bae1a5Smseidel FixedImage FI_PASSWD_TO_MODIFY_MATCH 17331bae1a5Smseidel { 17431bae1a5Smseidel Pos = MAP_APPFONT ( 150, 224 ) ; 17531bae1a5Smseidel Size = MAP_APPFONT ( 12, 12 ) ; 17631bae1a5Smseidel }; 177cdf0e10cSrcweir*/ 178cdf0e10cSrcweir 17931bae1a5Smseidel String STR_PASSWD_MUST_BE_CONFIRMED 18031bae1a5Smseidel { 18131bae1a5Smseidel Text [ en-US ] = "Password must be confirmed" ; 18231bae1a5Smseidel }; 18331bae1a5Smseidel 18431bae1a5Smseidel String STR_MORE_OPTIONS 18531bae1a5Smseidel { 18631bae1a5Smseidel Text [ en-US ] = "More ~Options" ; 18731bae1a5Smseidel }; 18831bae1a5Smseidel 18931bae1a5Smseidel String STR_FEWER_OPTIONS 19031bae1a5Smseidel { 19131bae1a5Smseidel Text [ en-US ] = "Fewer ~Options" ; 19231bae1a5Smseidel }; 19331bae1a5Smseidel 19431bae1a5Smseidel String STR_ONE_PASSWORD_MISMATCH 19531bae1a5Smseidel { 19631bae1a5Smseidel Text [ en-US ] = "The confirmation password did not match the password. Set the password again by entering the same password in both boxes." ; 19731bae1a5Smseidel }; 19831bae1a5Smseidel 19931bae1a5Smseidel String STR_TWO_PASSWORDS_MISMATCH 20031bae1a5Smseidel { 20131bae1a5Smseidel Text [ en-US ] = "The confirmation passwords did not match the original passwords. Set the passwords again." ; 20231bae1a5Smseidel }; 20331bae1a5Smseidel 20431bae1a5Smseidel String STR_INVALID_STATE_FOR_OK_BUTTON 20531bae1a5Smseidel { 20631bae1a5Smseidel Text [ en-US ] = "Please enter a password to open or to modify, or check the open read-only option to continue." ; 20731bae1a5Smseidel }; 20831bae1a5Smseidel 20931bae1a5Smseidel String STR_INVALID_STATE_FOR_OK_BUTTON_V2 21031bae1a5Smseidel { 21131bae1a5Smseidel Text [ en-US ] = "Set the password by entering the same password in both boxes." ; 21231bae1a5Smseidel }; 21331bae1a5Smseidel/* 21431bae1a5Smseidel Image IMG_PASSWD_MATCH 21531bae1a5Smseidel { 21631bae1a5Smseidel ImageBitmap = Bitmap {File = "apply.png" ;} ; 21731bae1a5Smseidel }; 21831bae1a5Smseidel 21931bae1a5Smseidel Image IMG_PASSWD_MATCH_HC 22031bae1a5Smseidel { 22131bae1a5Smseidel ImageBitmap = Bitmap {File = "apply_h.png" ;} ; 22231bae1a5Smseidel }; 223cdf0e10cSrcweir*/ 224cdf0e10cSrcweir}; 225cdf0e10cSrcweir 22631bae1a5Smseidel// ********************************************************************** EOF 227