securitypage.src (acbf353a) securitypage.src (b9c80df1)
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
22
23
24#include "sfx2/sfx.hrc"
25#include "securitypage.hrc"
26#include "helpid.hrc"
27#include "dialog.hrc"
28#include "sfxlocal.hrc"
29
30#include <svtools/controldims.hrc>
31
32
33TabPage TP_DOCINFOSECURITY
34{
35 HelpId = HID_DOCINFOSECURITY ;
36 Hide = TRUE ;
20 *************************************************************/
21
22
23
24#include "sfx2/sfx.hrc"
25#include "securitypage.hrc"
26#include "helpid.hrc"
27#include "dialog.hrc"
28#include "sfxlocal.hrc"
29
30#include <svtools/controldims.hrc>
31
32
33TabPage TP_DOCINFOSECURITY
34{
35 HelpId = HID_DOCINFOSECURITY ;
36 Hide = TRUE ;
37 Size = MAP_APPFONT ( 260 , 185 ) ;
37 Size = MAP_APPFONT ( 260, 185 ) ;
38
39 FixedLine PASSWORD_TO_OPEN_FL
40 {
38
39 FixedLine PASSWORD_TO_OPEN_FL
40 {
41 Pos = MAP_APPFONT( 6, 6 );
42 Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT );
43 Text [ en-US ] = "File encryption password";
41 Pos = MAP_APPFONT ( 6, 6 ) ;
42 Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ;
43 Text [ en-US ] = "File encryption password" ;
44 };
45 FixedText PASSWORD_TO_OPEN_FT
46 {
44 };
45 FixedText PASSWORD_TO_OPEN_FT
46 {
47 Pos = MAP_APPFONT( 12, 20 );
48 Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
49 Text [ en-US ] = "~Enter password to open";
47 Pos = MAP_APPFONT ( 12, 20 ) ;
48 Size = MAP_APPFONT ( 82, RSC_CD_FIXEDTEXT_HEIGHT ) ;
49 Text [ en-US ] = "~Enter password to open" ;
50 };
51 Edit PASSWORD_TO_OPEN_ED
52 {
50 };
51 Edit PASSWORD_TO_OPEN_ED
52 {
53 HelpId = HID_SECURITYTAB_PASSWORD_TO_OPEN;
54 Pos = MAP_APPFONT( 100, 18 );
55 Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
56 Border = TRUE;
57 PassWord = TRUE;
53 HelpId = HID_SECURITYTAB_PASSWORD_TO_OPEN ;
54 Pos = MAP_APPFONT ( 100, 18 ) ;
55 Size = MAP_APPFONT ( 88, RSC_CD_TEXTBOX_HEIGHT ) ;
56 Border = TRUE ;
57 PassWord = TRUE ;
58 };
59 FixedText CONFIRM_PASSWORD_TO_OPEN_FT
60 {
58 };
59 FixedText CONFIRM_PASSWORD_TO_OPEN_FT
60 {
61 Pos = MAP_APPFONT( 12, 34 );
62 Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
63 Text [ en-US ] = "~Reenter password to open";
61 Pos = MAP_APPFONT ( 12, 34 ) ;
62 Size = MAP_APPFONT ( 82, RSC_CD_FIXEDTEXT_HEIGHT ) ;
63 Text [ en-US ] = "~Reenter password to open" ;
64 };
65 Edit CONFIRM_PASSWORD_TO_OPEN_ED
66 {
64 };
65 Edit CONFIRM_PASSWORD_TO_OPEN_ED
66 {
67 HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_OPEN;
68 Pos = MAP_APPFONT( 100, 32 );
69 Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
70 Border = TRUE;
71 PassWord = TRUE;
67 HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_OPEN ;
68 Pos = MAP_APPFONT ( 100, 32 ) ;
69 Size = MAP_APPFONT ( 88, RSC_CD_TEXTBOX_HEIGHT ) ;
70 Border = TRUE ;
71 PassWord = TRUE ;
72 };
72 };
73 FixedText PASSWORD_INFO_FT
73 FixedText PASSWORD_INFO_FT
74 {
74 {
75 Pos = MAP_APPFONT( 12, 48 );
76 Size = MAP_APPFONT( 236, 3 * RSC_CD_FIXEDTEXT_HEIGHT );
77 Text [ en-US ] =
75 Pos = MAP_APPFONT ( 12, 48 ) ;
76 Size = MAP_APPFONT ( 236, 3 * RSC_CD_FIXEDTEXT_HEIGHT ) ;
77 Text [ en-US ] =
78 "Note: After a password has been set, the document will only open "\
79 "with the password. Should you lose the password, there will be "\
80 "no way to recover the document. Please also note that this password "\
78 "Note: After a password has been set, the document will only open "\
79 "with the password. Should you lose the password, there will be "\
80 "no way to recover the document. Please also note that this password "\
81 "is case-sensitive.";
82 WordBreak = TRUE;
81 "is case-sensitive." ;
82 WordBreak = TRUE ;
83 };
84 FixedLine PASSWORD_TO_MODIFY_FL
85 {
83 };
84 FixedLine PASSWORD_TO_MODIFY_FL
85 {
86 Pos = MAP_APPFONT( 6, 78 );
87 Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT );
88 Text [ en-US ] = "File sharing password";
86 Pos = MAP_APPFONT ( 6, 78 ) ;
87 Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ;
88 Text [ en-US ] = "File sharing password" ;
89 };
90 FixedText PASSWORD_TO_MODIFY_FT
91 {
89 };
90 FixedText PASSWORD_TO_MODIFY_FT
91 {
92 Pos = MAP_APPFONT( 12, 92 );
93 Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
94 Text [ en-US ] = "Enter password to modify";
92 Pos = MAP_APPFONT ( 12, 92 ) ;
93 Size = MAP_APPFONT ( 82, RSC_CD_FIXEDTEXT_HEIGHT ) ;
94 Text [ en-US ] = "Enter password to modify" ;
95 };
96 Edit PASSWORD_TO_MODIFY_ED
97 {
95 };
96 Edit PASSWORD_TO_MODIFY_ED
97 {
98 HelpId = HID_SECURITYTAB_PASSWORD_TO_MODIFY;
99 Pos = MAP_APPFONT( 100, 90 );
100 Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
101 Border = TRUE;
102 PassWord = TRUE;
98 HelpId = HID_SECURITYTAB_PASSWORD_TO_MODIFY ;
99 Pos = MAP_APPFONT ( 100, 90 ) ;
100 Size = MAP_APPFONT ( 88, RSC_CD_TEXTBOX_HEIGHT ) ;
101 Border = TRUE ;
102 PassWord = TRUE ;
103 };
104 FixedText CONFIRM_PASSWORD_TO_MODIFY_FT
105 {
103 };
104 FixedText CONFIRM_PASSWORD_TO_MODIFY_FT
105 {
106 Pos = MAP_APPFONT( 12, 106 );
107 Size = MAP_APPFONT( 82, RSC_CD_FIXEDTEXT_HEIGHT );
108 Text [ en-US ] = "Reenter password to modify";
106 Pos = MAP_APPFONT ( 12, 106 ) ;
107 Size = MAP_APPFONT ( 82, RSC_CD_FIXEDTEXT_HEIGHT ) ;
108 Text [ en-US ] = "Reenter password to modify" ;
109 };
110 Edit CONFIRM_PASSWORD_TO_MODIFY_ED
111 {
109 };
110 Edit CONFIRM_PASSWORD_TO_MODIFY_ED
111 {
112 HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_MODIFY;
113 Pos = MAP_APPFONT( 100, 104 );
114 Size = MAP_APPFONT( 88, RSC_CD_TEXTBOX_HEIGHT );
115 Border = TRUE;
116 PassWord = TRUE;
112 HelpId = HID_SECURITYTAB_CONFIRM_PASSWORD_TO_MODIFY ;
113 Pos = MAP_APPFONT ( 100, 104 ) ;
114 Size = MAP_APPFONT ( 88, RSC_CD_TEXTBOX_HEIGHT ) ;
115 Border = TRUE ;
116 PassWord = TRUE ;
117 };
118 FixedLine OPTIONS_FL
119 {
117 };
118 FixedLine OPTIONS_FL
119 {
120 Pos = MAP_APPFONT( 6, 120 );
121 Size = MAP_APPFONT( 248, RSC_CD_FIXEDLINE_HEIGHT );
122 Text [ en-US ] = "File sharing options";
120 Pos = MAP_APPFONT ( 6, 120 ) ;
121 Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ;
122 Text [ en-US ] = "File sharing options" ;
123 };
124 CheckBox OPEN_READONLY_CB
125 {
123 };
124 CheckBox OPEN_READONLY_CB
125 {
126 HelpId = HID_SECURITYTAB_OPEN_FILE_READONLY;
127 Pos = MAP_APPFONT( 12, 133 );
128 Size = MAP_APPFONT( 176, RSC_CD_CHECKBOX_HEIGHT );
129 Text [ en-US ] = "~Open file read-only";
126 HelpId = HID_SECURITYTAB_OPEN_FILE_READONLY ;
127 Pos = MAP_APPFONT ( 12, 133 ) ;
128 Size = MAP_APPFONT ( 176, RSC_CD_CHECKBOX_HEIGHT ) ;
129 Text [ en-US ] = "~Open file read-only" ;
130 };
131 CheckBox RECORD_CHANGES_CB
132 {
130 };
131 CheckBox RECORD_CHANGES_CB
132 {
133 HelpId = HID_SECURITYTAB_RECORD_CHANGES;
134 Pos = MAP_APPFONT( 12, 147 );
135 Size = MAP_APPFONT( 176, RSC_CD_CHECKBOX_HEIGHT );
136 Text [ en-US ] = "Record ~changes";
133 HelpId = HID_SECURITYTAB_RECORD_CHANGES ;
134 Pos = MAP_APPFONT ( 12, 147 ) ;
135 Size = MAP_APPFONT ( 176, RSC_CD_CHECKBOX_HEIGHT ) ;
136 Text [ en-US ] = "Record ~changes" ;
137 };
137 };
138 PushButton CHANGE_PROTECTION_PB
138 PushButton CHANGE_PROTECTION_PB
139 {
139 {
140 HelpId = HID_SECURITYTAB_PROTECTION;
141 Pos = MAP_APPFONT( 194, 145 );
142 Size = MAP_APPFONT( 60, RSC_CD_PUSHBUTTON_HEIGHT );
143 };
144 String STR_PROTECT
145 {
146 Text [ en-US ] = "~Protect...";
147 };
148 String STR_UNPROTECT
149 {
150 Text [ en-US ] = "~Unprotect...";
151 };
152 String STR_END_REDLINING_WARNING
153 {
154 Text [ en-US ] = "This action will exit the change recording mode.\nAny information about changes will be lost.\n\nExit change recording mode?\n\n" ;
155 };
140 HelpId = HID_SECURITYTAB_PROTECTION ;
141 Pos = MAP_APPFONT ( 194, 145 ) ;
142 Size = MAP_APPFONT ( 60, RSC_CD_PUSHBUTTON_HEIGHT ) ;
143 };
144 String STR_PROTECT
145 {
146 Text [ en-US ] = "~Protect..." ;
147 };
148 String STR_UNPROTECT
149 {
150 Text [ en-US ] = "~Unprotect..." ;
151 };
152 String STR_END_REDLINING_WARNING
153 {
154 Text [ en-US ] = "This action will exit the change recording mode.\nAny information about changes will be lost.\n\nExit change recording mode?\n\n" ;
155 };
156};
157
158String RID_SFX_PROTECT_RECORDS
159{
156};
157
158String RID_SFX_PROTECT_RECORDS
159{
160 Text [ en-US ] = "Protect Records" ;
160 Text [ en-US ] = "Protect Records" ;
161};
162String RID_SFX_UNPROTECT_RECORDS
163{
161};
162String RID_SFX_UNPROTECT_RECORDS
163{
164 Text [ en-US ] = "Unprotect Records" ;
164 Text [ en-US ] = "Unprotect Records" ;
165};
166String RID_SFX_INCORRECT_PASSWORD
167{
165};
166String RID_SFX_INCORRECT_PASSWORD
167{
168 Text [ en-US ] = "Incorrect password" ;
168 Text [ en-US ] = "Incorrect password" ;
169};
170
169};
170
171// ********************************************************************** EOF