#i21596# Digital Signatures...

This commit is contained in:
Malte Timmermann 2004-07-22 08:43:23 +00:00
parent a36ecca35f
commit d82e2ea98f
3 changed files with 38 additions and 18 deletions

View file

@ -2,9 +2,9 @@
* *
* $RCSfile: dialogs.hrc,v $ * $RCSfile: dialogs.hrc,v $
* *
* $Revision: 1.6 $ * $Revision: 1.7 $
* *
* last change: $Author: gt $ $Date: 2004-07-20 05:32:07 $ * last change: $Author: mt $ $Date: 2004-07-22 09:43:23 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@ -295,7 +295,7 @@
#define SL_COL_0 TD_SP_INNERBORDER_LEFT #define SL_COL_0 TD_SP_INNERBORDER_LEFT
#define SL_COL_1 (SL_COL_0+RSC_SP_FLGR_SPACE_X) #define SL_COL_1 (SL_COL_0+RSC_SP_FLGR_SPACE_X)
#define SL_COL_3 (TP_WIDTH-RSC_SP_TBPG_INNERBORDER_RIGHT) #define SL_COL_3 (TP_WIDTH-RSC_SP_TBPG_INNERBORDER_RIGHT)
#define SL_COL_2 ((SL_COL_3-SL_COL_1)*80/100) #define SL_COL_2 ((SL_COL_3-SL_COL_1)*90/100)
#define SL_ROW_0 RSC_SP_TBPG_INNERBORDER_TOP #define SL_ROW_0 RSC_SP_TBPG_INNERBORDER_TOP
#define SL_ROW_1 (SL_ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y) #define SL_ROW_1 (SL_ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y)
#define SL_ROW_2 (SL_ROW_1+SL_RB_DIST_Y) #define SL_ROW_2 (SL_ROW_1+SL_RB_DIST_Y)

View file

@ -2,9 +2,9 @@
* *
* $RCSfile: macrosecurity.cxx,v $ * $RCSfile: macrosecurity.cxx,v $
* *
* $Revision: 1.9 $ * $Revision: 1.10 $
* *
* last change: $Author: gt $ $Date: 2004-07-22 07:08:22 $ * last change: $Author: mt $ $Date: 2004-07-22 09:43:23 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@ -203,6 +203,25 @@ MacroSecurityLevelTP::MacroSecurityLevelTP( Window* _pParent, MacroSecurity* _pD
,maLowRB ( this, ResId( RB_LOW ) ) ,maLowRB ( this, ResId( RB_LOW ) )
{ {
FreeResource(); FreeResource();
// Don't use the default v-center here...
/*
WinBits nStyle = maVeryHighRB.GetStyle();
nStyle |= WB_TOP;
maVeryHighRB.SetStyle( nStyle );
nStyle = maHighRB.GetStyle();
nStyle |= WB_TOP;
maHighRB.SetStyle( nStyle );
nStyle = maMediumRB.GetStyle();
nStyle |= WB_TOP;
maMediumRB.SetStyle( nStyle );
nStyle = maLowRB.GetStyle();
nStyle |= WB_TOP;
maLowRB.SetStyle( nStyle );
*/
} }
void MacroSecurityLevelTP::ActivatePage() void MacroSecurityLevelTP::ActivatePage()

View file

@ -2,9 +2,9 @@
* *
* $RCSfile: macrosecurity.src,v $ * $RCSfile: macrosecurity.src,v $
* *
* $Revision: 1.1 $ * $Revision: 1.2 $
* *
* last change: $Author: gt $ $Date: 2004-07-16 06:27:47 $ * last change: $Author: mt $ $Date: 2004-07-22 09:43:23 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@ -131,38 +131,39 @@ TabPage RID_XMLSECTP_SECLEVEL
Size = MAP_APPFONT( SL_COL_3-SL_COL_0, RSC_CD_FIXEDLINE_HEIGHT ); Size = MAP_APPFONT( SL_COL_3-SL_COL_0, RSC_CD_FIXEDLINE_HEIGHT );
Text = "Sicherheitseinstufung"; Text = "Sicherheitseinstufung";
Text [ en-US ] = "Security Level"; Text [ en-US ] = "Security Level";
Hide = TRUE;
}; };
RadioButton RB_VERYHIGH RadioButton RB_VERYHIGH
{ {
Pos = MAP_APPFONT( SL_COL_1, SL_ROW_1 ); Pos = MAP_APPFONT( SL_COL_1, SL_ROW_1 );
Size = MAP_APPFONT( SL_COL_2-SL_COL_1, 2*RSC_CD_RADIOBUTTON_HEIGHT ); Size = MAP_APPFONT( SL_COL_2-SL_COL_1, 3*RSC_CD_RADIOBUTTON_HEIGHT );
WordBreak = TRUE; WordBreak = TRUE;
Text = "Sehr hoch. Nur Makros aus vertrauenswürdigen Dateiquellen werden ausgeführt. Alle anderen Makros, unabhängig ob signiert oder nicht, werden nicht ausgeführt."; Text = "Sehr hoch.\nNur Makros aus vertrauenswürdigen Dateiquellen werden ausgeführt. Alle anderen Makros, unabhängig ob signiert oder nicht, werden nicht ausgeführt.";
Text [ en-US ] = "Very high. Only macros from trusted file locations are allowed to run. All other macros, regardless if signed or not, are disabled."; Text [ en-US ] = "Very high.\nOnly macros from trusted file locations are allowed to run. All other macros, regardless if signed or not, are disabled.";
}; };
RadioButton RB_HIGH RadioButton RB_HIGH
{ {
Pos = MAP_APPFONT( SL_COL_1, SL_ROW_2 ); Pos = MAP_APPFONT( SL_COL_1, SL_ROW_2 );
Size = MAP_APPFONT( SL_COL_2-SL_COL_1, 2*RSC_CD_RADIOBUTTON_HEIGHT ); Size = MAP_APPFONT( SL_COL_2-SL_COL_1, 3*RSC_CD_RADIOBUTTON_HEIGHT );
WordBreak = TRUE; WordBreak = TRUE;
Text = "Hoch. Nur signierte Makros aus vertrauenswürdigen Quellen werden ausgeführt. Nicht signierte Makros werden nicht ausgeführt."; Text = "Hoch.\nNur signierte Makros aus vertrauenswürdigen Quellen werden ausgeführt. Nicht signierte Makros werden nicht ausgeführt.";
Text [ en-US ] = "High. Only signed macros from trusted sources are allowed to run. Unsigned macros are disabled."; Text [ en-US ] = "High.\nOnly signed macros from trusted sources are allowed to run. Unsigned macros are disabled.";
}; };
RadioButton RB_MEDIUM RadioButton RB_MEDIUM
{ {
Pos = MAP_APPFONT( SL_COL_1, SL_ROW_3 ); Pos = MAP_APPFONT( SL_COL_1, SL_ROW_3 );
Size = MAP_APPFONT( SL_COL_2-SL_COL_1, 2*RSC_CD_RADIOBUTTON_HEIGHT ); Size = MAP_APPFONT( SL_COL_2-SL_COL_1, 3*RSC_CD_RADIOBUTTON_HEIGHT );
WordBreak = TRUE; WordBreak = TRUE;
Text = "Mittel. Manuelles Akzeptieren vor dem Ausführen von nicht vertrauenswürdigen Makros."; Text = "Mittel.\nManuelles Akzeptieren vor dem Ausführen von nicht vertrauenswürdigen Makros.";
Text [ en-US ] = "Medium. Manual confirmation before executing macros from untrusted sources."; Text [ en-US ] = "Medium.\nManual confirmation before executing macros from untrusted sources.";
}; };
RadioButton RB_LOW RadioButton RB_LOW
{ {
Pos = MAP_APPFONT( SL_COL_1, SL_ROW_4 ); Pos = MAP_APPFONT( SL_COL_1, SL_ROW_4 );
Size = MAP_APPFONT( SL_COL_2-SL_COL_1, 3*RSC_CD_RADIOBUTTON_HEIGHT ); Size = MAP_APPFONT( SL_COL_2-SL_COL_1, 3*RSC_CD_RADIOBUTTON_HEIGHT );
WordBreak = TRUE; WordBreak = TRUE;
Text = "Niedrig (nicht empfehlenswert). Alle Makros werden ohne Nachfrage ausgeführt. Diese Einstellung sollte nur benutzt werden, wenn sichergestellt werden kann, dass nur sichere Dokumente geladen werden."; Text = "Niedrig (nicht empfehlenswert).\nAlle Makros werden ohne Nachfrage ausgeführt. Diese Einstellung sollte nur benutzt werden, wenn sichergestellt werden kann, dass nur sichere Dokumente geladen werden.";
Text [ en-US ] = "Low (not recommended). Macros are being executed without any confirmation. Use this setting only if it is guaranteed that all documents beeing opened are save."; Text [ en-US ] = "Low (not recommended).\nMacros are being executed without any confirmation. Use this setting only if it is guaranteed that all documents beeing opened are save.";
}; };
}; };