summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-05-14 09:20:24 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-05-14 09:20:24 +0000
commit47dfb529fd6e994371b18164eaddcd9a49bc0230 (patch)
tree79fa50c8ef70a93d7e71d23e49830c2e795bd73d /xmlsecurity
parent6fa2f2a0db27107b2d60fb49f275fcda1a7c9a7c (diff)
INTEGRATION: CWS jl93 (1.9.152); FILE MERGED
2008/05/05 13:13:45 jl 1.9.152.4: RESYNC: (1.9-1.10); FILE MERGED 2008/04/21 14:57:46 jl 1.9.152.3: #i86651# new error messages when adding or removing a signature 2008/03/28 09:28:27 jl 1.9.152.2: #i86651# digitalsignaturesdialog.hxx 2008/03/20 11:46:16 jl 1.9.152.1: #i86651# disable add and remove buttons when an old ODF document is used
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx
index a52ef0f779e3..fb79af8b9835 100644
--- a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx
+++ b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: digitalsignaturesdialog.hxx,v $
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
* This file is part of OpenOffice.org.
*
@@ -104,8 +104,16 @@ private:
void ImplShowSignaturesDetails();
SignatureStreamHelper ImplOpenSignatureStream( sal_Int32 eStreamMode );
+ //Checks if adding is allowed.
+ //See the spec at specs/www/appwide/security/Electronic_Signatures_and_Security.sxw
+ //(6.6.2)Behaviour with regard to ODF 1.2
+ bool DigitalSignaturesDialog::canAdd();
+ bool DigitalSignaturesDialog::canRemove();
+
public:
- DigitalSignaturesDialog( Window* pParent, cssu::Reference< css::lang::XMultiServiceFactory >& rxMSF, DocumentSignatureMode eMode, sal_Bool bReadOnly );
+ DigitalSignaturesDialog( Window* pParent, cssu::Reference<
+ css::lang::XMultiServiceFactory >& rxMSF, DocumentSignatureMode eMode,
+ sal_Bool bReadOnly );
~DigitalSignaturesDialog();
// Initialize the dialog and the security environment, returns TRUE on success