2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #include "dialogs.hrc"
20 #include "helpids.hrc"
22 TabDialog RID_XMLSECTP_MACROSEC
24 HelpID = HID_XMLSEC_TP_MACROSEC;
25 Size = MAP_APPFONT( TD_WIDTH, TD_HEIGHT );
31 Text [ en-US ] = "Macro Security";
34 Pos = MAP_APPFONT( TD_SP_INNERBORDER_LEFT, TD_SP_INNERBORDER_TOP );
35 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT+RIDDER_HEIGHT );
41 Identifier = RID_XMLSECTP_SECLEVEL;
42 Text [ en-US ] = "Security Level";
46 Identifier = RID_XMLSECTP_TRUSTSOURCES;
47 Text [ en-US ] = "Trusted Sources";
53 Pos = MAP_APPFONT( MS_COL_H, CV_ROW_A );
54 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
57 CancelButton BTN_CANCEL
59 Pos = MAP_APPFONT( MS_COL_F, CV_ROW_A );
60 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
64 Pos = MAP_APPFONT( MS_COL_D, CV_ROW_A );
65 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
69 Pos = MAP_APPFONT( MS_COL_B, CV_ROW_A );
70 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
71 Text [ en-US ] = "Reset";
75 TabPage RID_XMLSECTP_SECLEVEL
77 HelpId = HID_XMLSEC_TP_SECLEVEL;
78 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
84 Pos = MAP_APPFONT( SL_COL_0, SL_ROW_0 );
85 Size = MAP_APPFONT( SL_COL_3-SL_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
88 FixedImage FI_SEC_READONLY
90 Pos = MAP_APPFONT( SL_COL_1 - 7, SL_ROW_0 + 4 );
91 Size = MAP_APPFONT( 6, 6 );
93 RadioButton RB_VERYHIGH
95 HelpID = "xmlsecurity:RadioButton:RID_XMLSECTP_SECLEVEL:RB_VERYHIGH";
96 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_0 );
97 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
99 Text [ en-US ] = "~Very high.\nOnly macros from trusted file locations are allowed to run. All other macros, regardless whether signed or not, are disabled.";
103 HelpID = "xmlsecurity:RadioButton:RID_XMLSECTP_SECLEVEL:RB_HIGH";
104 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_1 );
105 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
107 Text [ en-US ] = "H~igh.\nOnly signed macros from trusted sources are allowed to run. Unsigned macros are disabled.";
109 RadioButton RB_MEDIUM
111 HelpID = "xmlsecurity:RadioButton:RID_XMLSECTP_SECLEVEL:RB_MEDIUM";
112 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_2 );
113 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
115 Text [ en-US ] = "~Medium.\nConfirmation required before executing macros from untrusted sources.";
119 HelpID = "xmlsecurity:RadioButton:RID_XMLSECTP_SECLEVEL:RB_LOW";
120 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_3 );
121 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, SL_ROW_4-SL_ROW_3 );
123 Text [ en-US ] = "~Low (not recommended).\nAll macros will be executed without confirmation. Use this setting only if you are certain that all documents that will be opened are safe.";
127 TabPage RID_XMLSECTP_TRUSTSOURCES
129 HelpId = HID_XMLSEC_TP_TRUSTSOURCES;
130 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
134 FixedLine FL_TRUSTCERT
136 Pos = MAP_APPFONT( TS_COL_0, TS_ROW_0 );
137 Size = MAP_APPFONT( TS_COL_8-TS_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
138 Text [ en-US ] = "Trusted certificates";
140 FixedImage FI_TRUSTCERT_RO
142 Pos = MAP_APPFONT( TS_COL_1 - 7, TS_ROW_1 );
143 Size = MAP_APPFONT( 6, 6 );
147 HelpId = HID_XMLSEC_CTRL_TRUSTSOURCES;
148 Pos = MAP_APPFONT( TS_COL_1, TS_ROW_1 );
149 Size = MAP_APPFONT( TS_COL_7-TS_COL_1, RSC_CD_TABLISTBOX_HEIGHT );
155 Text [ en-US ] = "Issued to\tIssued by\tExpiration date";
157 PushButton PB_ADD_TRUSTCERT
159 HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_TRUSTSOURCES:PB_ADD_TRUSTCERT";
160 Pos = MAP_APPFONT( TS_COL_2, TS_ROW_2 );
161 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
162 Text [ en-US ] = "Add...";
164 PushButton PB_VIEW_TRUSTCERT
166 HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_TRUSTSOURCES:PB_VIEW_TRUSTCERT";
167 Pos = MAP_APPFONT( TS_COL_4, TS_ROW_2 );
168 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
169 Text [ en-US ] = "View...";
171 PushButton PB_REMOVE_TRUSTCERT
173 HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_TRUSTSOURCES:PB_REMOVE_TRUSTCERT";
174 Pos = MAP_APPFONT( TS_COL_6, TS_ROW_2 );
175 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
176 Text [ en-US ] = "Remove";
178 FixedLine FL_TRUSTFILELOC
180 Pos = MAP_APPFONT( TS_COL_0, TS_ROW_3 );
181 Size = MAP_APPFONT( TS_COL_8-TS_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
182 Text [ en-US ] = "Trusted file locations";
184 FixedText FI_TRUSTFILELOC
186 Pos = MAP_APPFONT( TS_COL_1, TS_ROW_4 );
187 Size = MAP_APPFONT( TS_COL_7-TS_COL_1, 3*RSC_CD_FIXEDLINE_HEIGHT );
189 Text [ en-US ] = "Document macros are always executed if they have been opened from one of the following locations.";
191 FixedImage FI_TRUSTFILE_RO
193 Pos = MAP_APPFONT( TS_COL_1 - 7, TS_ROW_5 );
194 Size = MAP_APPFONT( 6, 6 );
196 ListBox LB_TRUSTFILELOC
198 HelpID = "xmlsecurity:ListBox:RID_XMLSECTP_TRUSTSOURCES:LB_TRUSTFILELOC";
199 Pos = MAP_APPFONT( TS_COL_1, TS_ROW_5 );
200 Size = MAP_APPFONT( TS_COL_7-TS_COL_1, TS_ROW_6-TS_ROW_5 );
206 PushButton FL_ADD_TRUSTFILELOC
208 HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_TRUSTSOURCES:FL_ADD_TRUSTFILELOC";
209 Pos = MAP_APPFONT( TS_COL_4, TS_ROW_7 );
210 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
211 Text [ en-US ] = "Add...";
213 PushButton FL_REMOVE_TRUSTFILELOC
215 HelpID = "xmlsecurity:PushButton:RID_XMLSECTP_TRUSTSOURCES:FL_REMOVE_TRUSTFILELOC";
216 Pos = MAP_APPFONT( TS_COL_6, TS_ROW_7 );
217 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
218 Text [ en-US ] = "Remove";
221 String RID_XMLSECTP_READONLY_CONFIG_TIP
223 Text [ en-US ] = "This setting is protected by the Administrator";
225 Image RID_XMLSECTP_LOCK
231 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };