1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: macrosecurity.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include "dialogs.hrc"
32 #include "helpids.hrc"
34 TabDialog RID_XMLSECTP_MACROSEC
36 HelpID = HID_XMLSEC_TP_MACROSEC;
37 Size = MAP_APPFONT( TD_WIDTH, TD_HEIGHT );
43 Text [ en-US ] = "Macro Security";
46 Pos = MAP_APPFONT( TD_SP_INNERBORDER_LEFT, TD_SP_INNERBORDER_TOP );
47 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT+RIDDER_HEIGHT );
53 Identifier = RID_XMLSECTP_SECLEVEL;
54 Text [ en-US ] = "Security Level";
58 Identifier = RID_XMLSECTP_TRUSTSOURCES;
59 Text [ en-US ] = "Trusted Sources";
65 Pos = MAP_APPFONT( MS_COL_H, CV_ROW_A );
66 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
69 CancelButton BTN_CANCEL
71 Pos = MAP_APPFONT( MS_COL_F, CV_ROW_A );
72 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
76 Pos = MAP_APPFONT( MS_COL_D, CV_ROW_A );
77 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
81 Pos = MAP_APPFONT( MS_COL_B, CV_ROW_A );
82 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
83 Text [ en-US ] = "Reset";
87 TabPage RID_XMLSECTP_SECLEVEL
89 HelpId = HID_XMLSEC_TP_SECLEVEL;
90 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
96 Pos = MAP_APPFONT( SL_COL_0, SL_ROW_0 );
97 Size = MAP_APPFONT( SL_COL_3-SL_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
100 FixedImage FI_SEC_READONLY
102 Pos = MAP_APPFONT( SL_COL_1 - 7, SL_ROW_0 + 4 );
103 Size = MAP_APPFONT( 6, 6 );
105 RadioButton RB_VERYHIGH
107 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_0 );
108 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
110 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.";
114 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_1 );
115 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
117 Text [ en-US ] = "H~igh.\nOnly signed macros from trusted sources are allowed to run. Unsigned macros are disabled.";
119 RadioButton RB_MEDIUM
121 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_2 );
122 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
124 Text [ en-US ] = "~Medium.\nConfirmation required before executing macros from untrusted sources.";
128 Pos = MAP_APPFONT( SL_COL_1, SL_ROW_3 );
129 Size = MAP_APPFONT( SL_COL_2-SL_COL_1, SL_ROW_4-SL_ROW_3 );
131 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.";
135 TabPage RID_XMLSECTP_TRUSTSOURCES
137 HelpId = HID_XMLSEC_TP_TRUSTSOURCES;
138 Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
142 FixedLine FL_TRUSTCERT
144 Pos = MAP_APPFONT( TS_COL_0, TS_ROW_0 );
145 Size = MAP_APPFONT( TS_COL_8-TS_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
146 Text [ en-US ] = "Trusted certificates";
148 FixedImage FI_TRUSTCERT_RO
150 Pos = MAP_APPFONT( TS_COL_1 - 7, TS_ROW_1 );
151 Size = MAP_APPFONT( 6, 6 );
155 HelpId = HID_XMLSEC_CTRL_TRUSTSOURCES;
156 Pos = MAP_APPFONT( TS_COL_1, TS_ROW_1 );
157 Size = MAP_APPFONT( TS_COL_7-TS_COL_1, RSC_CD_TABLISTBOX_HEIGHT );
163 Text [ en-US ] = "Issued to\tIssued by\tExpiration date";
165 PushButton PB_ADD_TRUSTCERT
167 Pos = MAP_APPFONT( TS_COL_2, TS_ROW_2 );
168 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
169 Text [ en-US ] = "Add...";
171 PushButton PB_VIEW_TRUSTCERT
173 Pos = MAP_APPFONT( TS_COL_4, TS_ROW_2 );
174 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
175 Text [ en-US ] = "View...";
177 PushButton PB_REMOVE_TRUSTCERT
179 Pos = MAP_APPFONT( TS_COL_6, TS_ROW_2 );
180 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
181 Text [ en-US ] = "Remove";
183 FixedLine FL_TRUSTFILELOC
185 Pos = MAP_APPFONT( TS_COL_0, TS_ROW_3 );
186 Size = MAP_APPFONT( TS_COL_8-TS_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
187 Text [ en-US ] = "Trusted file locations";
189 FixedText FI_TRUSTFILELOC
191 Pos = MAP_APPFONT( TS_COL_1, TS_ROW_4 );
192 Size = MAP_APPFONT( TS_COL_7-TS_COL_1, 3*RSC_CD_FIXEDLINE_HEIGHT );
194 Text [ en-US ] = "Document macros are always executed if they have been opened from one of the following locations.";
196 FixedImage FI_TRUSTFILE_RO
198 Pos = MAP_APPFONT( TS_COL_1 - 7, TS_ROW_5 );
199 Size = MAP_APPFONT( 6, 6 );
201 ListBox LB_TRUSTFILELOC
203 Pos = MAP_APPFONT( TS_COL_1, TS_ROW_5 );
204 Size = MAP_APPFONT( TS_COL_7-TS_COL_1, TS_ROW_6-TS_ROW_5 );
210 PushButton FL_ADD_TRUSTFILELOC
212 Pos = MAP_APPFONT( TS_COL_4, TS_ROW_7 );
213 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
214 Text [ en-US ] = "Add...";
216 PushButton FL_REMOVE_TRUSTFILELOC
218 Pos = MAP_APPFONT( TS_COL_6, TS_ROW_7 );
219 Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
220 Text [ en-US ] = "Remove";
223 String RID_XMLSECTP_READONLY_CONFIG_TIP
225 Text [ en-US ] = "This setting is protected by the Administrator";
227 Image RID_XMLSECTP_LOCK
233 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
235 Image RID_XMLSECTP_LOCK_HC
239 File = "lock_hc.bmp";
241 MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };