From d82e2ea98f75c8c3d8ee391ea3e2c74b03e64f7f Mon Sep 17 00:00:00 2001 From: Malte Timmermann Date: Thu, 22 Jul 2004 08:43:23 +0000 Subject: #i21596# Digital Signatures... --- xmlsecurity/source/dialogs/dialogs.hrc | 6 +++--- xmlsecurity/source/dialogs/macrosecurity.cxx | 23 +++++++++++++++++++++-- xmlsecurity/source/dialogs/macrosecurity.src | 27 ++++++++++++++------------- 3 files changed, 38 insertions(+), 18 deletions(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/source/dialogs/dialogs.hrc b/xmlsecurity/source/dialogs/dialogs.hrc index 5acc9152fa5b..9ff2d80e5e7f 100644 --- a/xmlsecurity/source/dialogs/dialogs.hrc +++ b/xmlsecurity/source/dialogs/dialogs.hrc @@ -2,9 +2,9 @@ * * $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 * either of the following licenses @@ -295,7 +295,7 @@ #define SL_COL_0 TD_SP_INNERBORDER_LEFT #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_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_1 (SL_ROW_0+RSC_CD_FIXEDLINE_HEIGHT+RSC_SP_FLGR_SPACE_Y) #define SL_ROW_2 (SL_ROW_1+SL_RB_DIST_Y) diff --git a/xmlsecurity/source/dialogs/macrosecurity.cxx b/xmlsecurity/source/dialogs/macrosecurity.cxx index 40c2b399d3a5..0cb9cd59e9fb 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.cxx +++ b/xmlsecurity/source/dialogs/macrosecurity.cxx @@ -2,9 +2,9 @@ * * $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 * either of the following licenses @@ -203,6 +203,25 @@ MacroSecurityLevelTP::MacroSecurityLevelTP( Window* _pParent, MacroSecurity* _pD ,maLowRB ( this, ResId( RB_LOW ) ) { 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() diff --git a/xmlsecurity/source/dialogs/macrosecurity.src b/xmlsecurity/source/dialogs/macrosecurity.src index 98896130013a..22c5dfbafdb7 100644 --- a/xmlsecurity/source/dialogs/macrosecurity.src +++ b/xmlsecurity/source/dialogs/macrosecurity.src @@ -2,9 +2,9 @@ * * $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 * 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 ); Text = "Sicherheitseinstufung"; Text [ en-US ] = "Security Level"; + Hide = TRUE; }; RadioButton RB_VERYHIGH { 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; - 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 [ 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 = "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.\nOnly macros from trusted file locations are allowed to run. All other macros, regardless if signed or not, are disabled."; }; RadioButton RB_HIGH { 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; - Text = "Hoch. Nur 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 = "Hoch.\nNur signierte Makros aus vertrauenswürdigen Quellen werden ausgeführt. Nicht signierte Makros werden nicht ausgeführt."; + Text [ en-US ] = "High.\nOnly signed macros from trusted sources are allowed to run. Unsigned macros are disabled."; }; RadioButton RB_MEDIUM { 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; - Text = "Mittel. Manuelles Akzeptieren vor dem Ausführen von nicht vertrauenswürdigen Makros."; - Text [ en-US ] = "Medium. Manual confirmation before executing macros from untrusted sources."; + Text = "Mittel.\nManuelles Akzeptieren vor dem Ausführen von nicht vertrauenswürdigen Makros."; + Text [ en-US ] = "Medium.\nManual confirmation before executing macros from untrusted sources."; }; RadioButton RB_LOW { Pos = MAP_APPFONT( SL_COL_1, SL_ROW_4 ); Size = MAP_APPFONT( SL_COL_2-SL_COL_1, 3*RSC_CD_RADIOBUTTON_HEIGHT ); 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 [ 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 = "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).\nMacros are being executed without any confirmation. Use this setting only if it is guaranteed that all documents beeing opened are save."; }; }; -- cgit v1.2.3