INTEGRATION: CWS os47 (1.10.20); FILE MERGED

2004/12/17 13:07:22 os 1.10.20.1: #118519# readonly-support in tools/options/security
This commit is contained in:
Rüdiger Timm
2005-01-28 14:21:52 +00:00
parent a257f53888
commit e4093622f3

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: macrosecurity.hxx,v $ * $RCSfile: macrosecurity.hxx,v $
* *
* $Revision: 1.10 $ * $Revision: 1.11 $
* *
* last change: $Author: mt $ $Date: 2004-08-04 06:13:56 $ * last change: $Author: rt $ $Date: 2005-01-28 15:21:52 $
* *
* 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
@@ -85,6 +85,16 @@ namespace dcss = ::com::sun::star;
class MacroSecurityTP; class MacroSecurityTP;
class ReadOnlyImage : public FixedImage
{
public:
ReadOnlyImage(Window* pParent, const ResId rResId);
~ReadOnlyImage();
virtual void RequestHelp( const HelpEvent& rHEvt );
static const String& GetHelpTip();
};
class MacroSecurity : public TabDialog class MacroSecurity : public TabDialog
{ {
private: private:
@@ -137,6 +147,7 @@ class MacroSecurityLevelTP : public MacroSecurityTP
{ {
private: private:
FixedLine maSecLevelFL; FixedLine maSecLevelFL;
ReadOnlyImage maSecReadonlyFI;
RadioButton maVeryHighRB; RadioButton maVeryHighRB;
RadioButton maHighRB; RadioButton maHighRB;
RadioButton maMediumRB; RadioButton maMediumRB;
@@ -158,11 +169,13 @@ class MacroSecurityTrustedSourcesTP : public MacroSecurityTP
{ {
private: private:
FixedLine maTrustCertFL; FixedLine maTrustCertFL;
ReadOnlyImage maTrustCertROFI;
SvxSimpleTable maTrustCertLB; SvxSimpleTable maTrustCertLB;
PushButton maAddCertPB; PushButton maAddCertPB;
PushButton maViewCertPB; PushButton maViewCertPB;
PushButton maRemoveCertPB; PushButton maRemoveCertPB;
FixedLine maTrustFileLocFL; FixedLine maTrustFileLocFL;
ReadOnlyImage maTrustFileROFI;
FixedInfo maTrustFileLocFI; FixedInfo maTrustFileLocFI;
ListBox maTrustFileLocLB; ListBox maTrustFileLocLB;
PushButton maAddLocPB; PushButton maAddLocPB;
@@ -170,6 +183,8 @@ private:
cssu::Sequence< SvtSecurityOptions::Certificate > maTrustedAuthors; cssu::Sequence< SvtSecurityOptions::Certificate > maTrustedAuthors;
sal_Bool mbAuthorsReadonly;
sal_Bool mbURLsReadonly;
DECL_LINK( ViewCertPBHdl, void* ); DECL_LINK( ViewCertPBHdl, void* );
DECL_LINK( RemoveCertPBHdl, void* ); DECL_LINK( RemoveCertPBHdl, void* );