1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #include "dialogs.hrc"
29 #include "helpids.hrc"
31 TabDialog RID_XMLSECTP_MACROSEC
33 HelpID = HID_XMLSEC_TP_MACROSEC;
34 Size = MAP_APPFONT( TD_WIDTH, TD_HEIGHT );
40 Text [ en-US ] = "Macro Security";
43 Pos = MAP_APPFONT( TD_SP_INNERBORDER_LEFT, TD_SP_INNERBORDER_TOP );
44 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT+RIDDER_HEIGHT );
50 Identifier = RID_XMLSECTP_SECLEVEL;
51 Text [ en-US ] = "Security Level";
55 Identifier = RID_XMLSECTP_TRUSTSOURCES;
56 Text [ en-US ] = "Trusted Sources";
62 Pos = MAP_APPFONT( MS_COL_H, CV_ROW_A );
63 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
66 CancelButton BTN_CANCEL
68 Pos = MAP_APPFONT( MS_COL_F, CV_ROW_A );
69 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
73 Pos = MAP_APPFONT( MS_COL_D, CV_ROW_A );
74 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
78 Pos = MAP_APPFONT( MS_COL_B, CV_ROW_A );
79 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
80 Text [ en-US ] = "Reset";
84 TabPage RID_XMLSECTP_SECLEVEL
86 HelpId = HID_XMLSEC_TP_SECLEVEL;
87 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
93 Pos = MAP_APPFONT( SL_COL_0, SL_ROW_0 );
94 Size = MAP_APPFONT( SL_COL_3-SL_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
97 FixedImage FI_SEC_READONLY
99 Pos = MAP_APPFONT( SL_COL_1 - 7, SL_ROW_0 + 4 );
100 Size = MAP_APPFONT( 6, 6 );
102 RadioButton RB_VERYHIGH
104 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_0 );
105 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
107 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.";
111 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_1 );
112 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
114 Text [ en-US ] = "H~igh.\nOnly signed macros from trusted sources are allowed to run. Unsigned macros are disabled.";
116 RadioButton RB_MEDIUM
118 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_2 );
119 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
121 Text [ en-US ] = "~Medium.\nConfirmation required before executing macros from untrusted sources.";
125 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_3 );
126 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, SL_ROW_4-SL_ROW_3 );
128 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.";
132 TabPage RID_XMLSECTP_TRUSTSOURCES
134 HelpId = HID_XMLSEC_TP_TRUSTSOURCES;
135 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
139 FixedLine FL_TRUSTCERT
141 Pos = MAP_APPFONT( TS_COL_0, TS_ROW_0 );
142 Size = MAP_APPFONT( TS_COL_8-TS_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
143 Text [ en-US ] = "Trusted certificates";
145 FixedImage FI_TRUSTCERT_RO
147 Pos = MAP_APPFONT( TS_COL_1 - 7, TS_ROW_1 );
148 Size = MAP_APPFONT( 6, 6 );
152 HelpId = HID_XMLSEC_CTRL_TRUSTSOURCES;
153 Pos = MAP_APPFONT( TS_COL_1, TS_ROW_1 );
154 Size = MAP_APPFONT( TS_COL_7-TS_COL_1, RSC_CD_TABLISTBOX_HEIGHT );
160 Text [ en-US ] = "Issued to\tIssued by\tExpiration date";
162 PushButton PB_ADD_TRUSTCERT
164 Pos = MAP_APPFONT( TS_COL_2, TS_ROW_2 );
165 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
166 Text [ en-US ] = "Add...";
168 PushButton PB_VIEW_TRUSTCERT
170 Pos = MAP_APPFONT( TS_COL_4, TS_ROW_2 );
171 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
172 Text [ en-US ] = "View...";
174 PushButton PB_REMOVE_TRUSTCERT
176 Pos = MAP_APPFONT( TS_COL_6, TS_ROW_2 );
177 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
178 Text [ en-US ] = "Remove";
180 FixedLine FL_TRUSTFILELOC
182 Pos = MAP_APPFONT( TS_COL_0, TS_ROW_3 );
183 Size = MAP_APPFONT( TS_COL_8-TS_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
184 Text [ en-US ] = "Trusted file locations";
186 FixedText FI_TRUSTFILELOC
188 Pos = MAP_APPFONT( TS_COL_1, TS_ROW_4 );
189 Size = MAP_APPFONT( TS_COL_7-TS_COL_1, 3*RSC_CD_FIXEDLINE_HEIGHT );
191 Text [ en-US ] = "Document macros are always executed if they have been opened from one of the following locations.";
193 FixedImage FI_TRUSTFILE_RO
195 Pos = MAP_APPFONT( TS_COL_1 - 7, TS_ROW_5 );
196 Size = MAP_APPFONT( 6, 6 );
198 ListBox LB_TRUSTFILELOC
200 Pos = MAP_APPFONT( TS_COL_1, TS_ROW_5 );
201 Size = MAP_APPFONT( TS_COL_7-TS_COL_1, TS_ROW_6-TS_ROW_5 );
207 PushButton 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 Pos = MAP_APPFONT( TS_COL_6, TS_ROW_7 );
216 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
217 Text [ en-US ] = "Remove";
220 String RID_XMLSECTP_READONLY_CONFIG_TIP
222 Text [ en-US ] = "This setting is protected by the Administrator";
224 Image RID_XMLSECTP_LOCK
230 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
232 Image RID_XMLSECTP_LOCK_HC
236 File = "lock_hc.bmp";
238 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };