2005-11-03 11:03:21 +00:00
/*************************************************************************
2004-07-16 05:28:08 +00:00
*
2005-09-09 16:12:49 +00:00
* OpenOffice.org - a multi-platform office productivity suite
2004-07-16 05:28:08 +00:00
*
2005-09-09 16:12:49 +00:00
* $RCSfile: macrosecurity.src,v $
2004-07-16 05:28:08 +00:00
*
2007-04-19 10:59:16 +00:00
* $Revision: 1.9 $
2004-07-16 05:28:08 +00:00
*
2007-04-19 10:59:16 +00:00
* last change: $Author: ihi $ $Date: 2007-04-19 11:59:16 $
2004-07-16 05:28:08 +00:00
*
2005-09-09 16:12:49 +00:00
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
2004-07-16 05:28:08 +00:00
*
*
2005-09-09 16:12:49 +00:00
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
2004-07-16 05:28:08 +00:00
*
2005-09-09 16:12:49 +00:00
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
2004-07-16 05:28:08 +00:00
*
2005-09-09 16:12:49 +00:00
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
2004-07-16 05:28:08 +00:00
*
2005-09-09 16:12:49 +00:00
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
2004-07-16 05:28:08 +00:00
*
************************************************************************/
#include "dialogs.hrc"
2004-11-26 13:52:44 +00:00
#include "helpids.hrc"
2004-07-16 05:28:08 +00:00
TabDialog RID_XMLSECTP_MACROSEC
{
2004-11-26 13:52:44 +00:00
HelpID = HID_XMLSEC_TP_MACROSEC;
2004-07-16 05:28:08 +00:00
Size = MAP_APPFONT( TD_WIDTH, TD_HEIGHT );
OutputSize = TRUE;
Closeable = TRUE;
Moveable = TRUE;
SVLook = TRUE;
Text [ en-US ] = "Macro Security";
TabControl 1
{
Pos = MAP_APPFONT( TD_SP_INNERBORDER_LEFT, TD_SP_INNERBORDER_TOP );
Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT+RIDDER_HEIGHT );
SVLook = TRUE ;
PageList =
{
PageItem
{
Identifier = RID_XMLSECTP_SECLEVEL;
Text [ en-US ] = "Security Level";
};
PageItem
{
Identifier = RID_XMLSECTP_TRUSTSOURCES;
Text [ en-US ] = "Trusted Sources";
};
};
};
OKButton BTN_OK
{
Pos = MAP_APPFONT( MS_COL_H, CV_ROW_A );
Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
DefButton = TRUE;
};
CancelButton BTN_CANCEL
{
Pos = MAP_APPFONT( MS_COL_F, CV_ROW_A );
Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
};
HelpButton BTN_HELP
{
Pos = MAP_APPFONT( MS_COL_D, CV_ROW_A );
Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
};
PushButton BTN_RESET
{
Pos = MAP_APPFONT( MS_COL_B, CV_ROW_A );
Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
Text [ en-US ] = "Reset";
};
};
TabPage RID_XMLSECTP_SECLEVEL
{
2004-11-26 13:52:44 +00:00
HelpId = HID_XMLSEC_TP_SECLEVEL;
2004-07-16 05:28:08 +00:00
Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
OutputSize = TRUE;
Hide = TRUE;
SVLook = TRUE;
FixedLine FL_SECLEVEL
{
Pos = MAP_APPFONT( SL_COL_0, SL_ROW_0 );
Size = MAP_APPFONT( SL_COL_3-SL_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
2004-07-22 08:43:23 +00:00
Hide = TRUE;
2004-07-16 05:28:08 +00:00
};
2005-01-28 14:22:41 +00:00
FixedImage FI_SEC_READONLY
{
Pos = MAP_APPFONT( SL_COL_1 - 7, SL_ROW_0 + 4 );
Size = MAP_APPFONT( 6, 6 );
};
2004-07-16 05:28:08 +00:00
RadioButton RB_VERYHIGH
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( SL_COL_1, SL_ROW_0 );
Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
2004-07-16 05:28:08 +00:00
WordBreak = TRUE;
2005-11-03 11:03:21 +00:00
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.";
2004-07-16 05:28:08 +00:00
};
RadioButton RB_HIGH
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( SL_COL_1, SL_ROW_1 );
Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
2004-07-16 05:28:08 +00:00
WordBreak = TRUE;
2004-11-26 13:52:44 +00:00
Text [ en-US ] = "H~igh.\nOnly signed macros from trusted sources are allowed to run. Unsigned macros are disabled.";
2004-07-16 05:28:08 +00:00
};
RadioButton RB_MEDIUM
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( SL_COL_1, SL_ROW_2 );
Size = MAP_APPFONT( SL_COL_2-SL_COL_1, RSC_BIG_RADIOBUTTON );
2004-07-16 05:28:08 +00:00
WordBreak = TRUE;
2005-11-03 11:03:21 +00:00
Text [ en-US ] = "~Medium.\nConfirmation required before executing macros from untrusted sources.";
2004-07-16 05:28:08 +00:00
};
RadioButton RB_LOW
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( SL_COL_1, SL_ROW_3 );
Size = MAP_APPFONT( SL_COL_2-SL_COL_1, SL_ROW_4-SL_ROW_3 );
2004-07-16 05:28:08 +00:00
WordBreak = TRUE;
2005-11-03 11:03:21 +00:00
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.";
2004-07-16 05:28:08 +00:00
};
};
TabPage RID_XMLSECTP_TRUSTSOURCES
{
2004-11-26 13:52:44 +00:00
HelpId = HID_XMLSEC_TP_TRUSTSOURCES;
2004-07-16 05:28:08 +00:00
Size = MAP_APPFONT( TP_WIDTH, TP_HEIGHT );
OutputSize = TRUE;
Hide = TRUE;
SVLook = TRUE;
FixedLine FL_TRUSTCERT
{
Pos = MAP_APPFONT( TS_COL_0, TS_ROW_0 );
2004-11-26 13:52:44 +00:00
Size = MAP_APPFONT( TS_COL_8-TS_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
Text [ en-US ] = "Trusted certificates";
2004-07-16 05:28:08 +00:00
};
2005-01-28 14:22:41 +00:00
FixedImage FI_TRUSTCERT_RO
{
Pos = MAP_APPFONT( TS_COL_1 - 7, TS_ROW_1 );
Size = MAP_APPFONT( 6, 6 );
};
2004-07-16 05:28:08 +00:00
Control LB_TRUSTCERT
{
2004-11-26 13:52:44 +00:00
HelpId = HID_XMLSEC_CTRL_TRUSTSOURCES;
2004-07-16 05:28:08 +00:00
Pos = MAP_APPFONT( TS_COL_1, TS_ROW_1 );
2004-11-26 13:52:44 +00:00
Size = MAP_APPFONT( TS_COL_7-TS_COL_1, RSC_CD_TABLISTBOX_HEIGHT );
2004-07-16 05:28:08 +00:00
SVLook = TRUE;
Border = TRUE;
};
String STR_HEADERBAR
{
2004-11-26 13:52:44 +00:00
Text [ en-US ] = "Issued to\tIssued by\tExpiration date";
2004-07-16 05:28:08 +00:00
};
PushButton PB_ADD_TRUSTCERT
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( TS_COL_2, TS_ROW_2 );
2004-07-16 05:28:08 +00:00
Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
Text [ en-US ] = "Add...";
};
PushButton PB_VIEW_TRUSTCERT
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( TS_COL_4, TS_ROW_2 );
2004-07-16 05:28:08 +00:00
Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
Text [ en-US ] = "View...";
};
PushButton PB_REMOVE_TRUSTCERT
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( TS_COL_6, TS_ROW_2 );
2004-07-16 05:28:08 +00:00
Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
Text [ en-US ] = "Remove";
};
FixedLine FL_TRUSTFILELOC
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( TS_COL_0, TS_ROW_3 );
Size = MAP_APPFONT( TS_COL_8-TS_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
2004-07-16 05:28:08 +00:00
Text [ en-US ] = "Trusted file locations";
};
FixedText FI_TRUSTFILELOC
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( TS_COL_1, TS_ROW_4 );
Size = MAP_APPFONT( TS_COL_7-TS_COL_1, 3*RSC_CD_FIXEDLINE_HEIGHT );
2004-07-16 05:28:08 +00:00
WordBreak = TRUE;
2005-11-03 11:03:21 +00:00
Text [ en-US ] = "Document macros are always executed if they have been opened from one of the following locations.";
2004-07-16 05:28:08 +00:00
};
2005-01-28 14:22:41 +00:00
FixedImage FI_TRUSTFILE_RO
{
Pos = MAP_APPFONT( TS_COL_1 - 7, TS_ROW_5 );
Size = MAP_APPFONT( 6, 6 );
};
2004-07-16 05:28:08 +00:00
ListBox LB_TRUSTFILELOC
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( TS_COL_1, TS_ROW_5 );
Size = MAP_APPFONT( TS_COL_7-TS_COL_1, TS_ROW_6-TS_ROW_5 );
2004-07-16 05:28:08 +00:00
SVLook = TRUE;
Border = TRUE;
VScroll = TRUE;
Sort = TRUE;
};
PushButton FL_ADD_TRUSTFILELOC
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( TS_COL_4, TS_ROW_7 );
2004-07-16 05:28:08 +00:00
Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
Text [ en-US ] = "Add...";
};
PushButton FL_REMOVE_TRUSTFILELOC
{
2004-11-26 13:52:44 +00:00
Pos = MAP_APPFONT( TS_COL_6, TS_ROW_7 );
2004-07-16 05:28:08 +00:00
Size = MAP_APPFONT( RSC_CD_PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
Text [ en-US ] = "Remove";
};
};
2005-01-28 14:22:41 +00:00
String RID_XMLSECTP_READONLY_CONFIG_TIP
{
Text [ en-US ] = "This setting is protected by the Administrator";
};
Image RID_XMLSECTP_LOCK
{
ImageBitmap = Bitmap
{
File = "lock.bmp";
};
MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
};
Image RID_XMLSECTP_LOCK_HC
{
ImageBitmap = Bitmap
{
File = "lock_hc.bmp";
};
MaskColor = Color { Red=0xffff; Green=0x0000; Blue=0xffff; };
};
2004-07-16 05:28:08 +00:00