diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2019-04-27 23:53:02 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-04-29 13:17:59 +0200 |
commit | d1ab132367c6e4ce0ca5711b7c5259d1f6e0e5cc (patch) | |
tree | 1ae990b153519fde79120be70e11299a3d5bc87c /xmlsecurity/inc | |
parent | b9b930046368532c61b20637cb0356e195529440 (diff) |
tdf#42949 Fix IWYU warnings in xmlsecurity/*hxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
All hxx cleaned except the ones in
xmlsecurity/source/xmlsec/mscrypt
Change-Id: I651f53c9d339208b3132f9078a5c3829ff9c5dc8
Reviewed-on: https://gerrit.libreoffice.org/71448
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/certificatechooser.hxx | 6 | ||||
-rw-r--r-- | xmlsecurity/inc/documentsignaturehelper.hxx | 4 | ||||
-rw-r--r-- | xmlsecurity/inc/documentsignaturemanager.hxx | 2 | ||||
-rw-r--r-- | xmlsecurity/inc/framework/saxeventkeeperimpl.hxx | 8 | ||||
-rw-r--r-- | xmlsecurity/inc/framework/signaturecreatorimpl.hxx | 6 | ||||
-rw-r--r-- | xmlsecurity/inc/framework/signatureengine.hxx | 14 | ||||
-rw-r--r-- | xmlsecurity/inc/framework/signatureverifierimpl.hxx | 7 | ||||
-rw-r--r-- | xmlsecurity/inc/framework/xmlsignaturetemplateimpl.hxx | 7 | ||||
-rw-r--r-- | xmlsecurity/inc/gpg/SEInitializer.hxx | 6 | ||||
-rw-r--r-- | xmlsecurity/inc/gpg/xmlsignature_gpgimpl.hxx | 10 | ||||
-rw-r--r-- | xmlsecurity/inc/macrosecurity.hxx | 2 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsec/errorcallback.hxx | 4 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsec/saxhelper.hxx | 9 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx | 5 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsec/xmlstreamio.hxx | 6 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsignaturehelper.hxx | 18 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsignaturehelper2.hxx | 3 | ||||
-rw-r--r-- | xmlsecurity/inc/xsecctl.hxx | 26 |
18 files changed, 58 insertions, 85 deletions
diff --git a/xmlsecurity/inc/certificatechooser.hxx b/xmlsecurity/inc/certificatechooser.hxx index 7f551937d2ba..328fdc24f2b3 100644 --- a/xmlsecurity/inc/certificatechooser.hxx +++ b/xmlsecurity/inc/certificatechooser.hxx @@ -20,11 +20,7 @@ #ifndef INCLUDED_XMLSECURITY_INC_CERTIFICATECHOOSER_HXX #define INCLUDED_XMLSECURITY_INC_CERTIFICATECHOOSER_HXX -#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp> -#include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/Sequence.hxx> -#include <svl/sigstruct.hxx> #include <vcl/weld.hxx> namespace com { @@ -36,6 +32,8 @@ namespace xml { namespace crypto { class XSecurityEnvironment; }} }}} +namespace com::sun::star::xml::crypto { class XXMLSecurityContext; } + struct UserData { css::uno::Reference<css::security::XCertificate> xCertificate; diff --git a/xmlsecurity/inc/documentsignaturehelper.hxx b/xmlsecurity/inc/documentsignaturehelper.hxx index bacef66746cd..ccf71edd9c62 100644 --- a/xmlsecurity/inc/documentsignaturehelper.hxx +++ b/xmlsecurity/inc/documentsignaturehelper.hxx @@ -21,10 +21,8 @@ #define INCLUDED_XMLSECURITY_INC_DOCUMENTSIGNATUREHELPER_HXX #include <com/sun/star/uno/Reference.h> -#include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <rtl/ustring.hxx> #include <svl/sigstruct.hxx> -#include "xmlsecuritydllapi.h" #include <vector> @@ -37,6 +35,8 @@ namespace embed { class XStorage; } }}} +namespace com::sun::star::xml::sax { class XDocumentHandler; } + enum class DocumentSignatureMode { Content, diff --git a/xmlsecurity/inc/documentsignaturemanager.hxx b/xmlsecurity/inc/documentsignaturemanager.hxx index 85ad7cb07b1e..71c1475687a3 100644 --- a/xmlsecurity/inc/documentsignaturemanager.hxx +++ b/xmlsecurity/inc/documentsignaturemanager.hxx @@ -28,6 +28,8 @@ #include "xmlsignaturehelper.hxx" #include "documentsignaturehelper.hxx" +#include <com/sun/star/xml/crypto/XSEInitializer.hpp> + namespace com { namespace sun diff --git a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx index 30dfa337c3ef..04994cca63a5 100644 --- a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx +++ b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx @@ -23,13 +23,9 @@ #include <com/sun/star/xml/crypto/sax/XSecuritySAXEventKeeper.hpp> #include <com/sun/star/xml/crypto/sax/XReferenceResolvedBroadcaster.hpp> #include <com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeBroadcaster.hpp> -#include <com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeListener.hpp> -#include <com/sun/star/xml/csax/XCompressedDocumentHandler.hpp> -#include <com/sun/star/xml/wrapper/XXMLDocumentWrapper.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <xmlsecuritydllapi.h> #include <cppuhelper/implbase.hxx> @@ -40,6 +36,10 @@ class ElementCollector; #include <vector> #include <memory> +namespace com::sun::star::xml::crypto::sax { class XSAXEventKeeperStatusChangeListener; } +namespace com::sun::star::xml::csax { class XCompressedDocumentHandler; } +namespace com::sun::star::xml::wrapper { class XXMLDocumentWrapper; } + class XMLSECURITY_DLLPUBLIC SAXEventKeeperImpl : public cppu::WeakImplHelper < css::xml::crypto::sax::XSecuritySAXEventKeeper, diff --git a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx index 435ca05ec343..fe7fb5669d0e 100644 --- a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx +++ b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx @@ -21,16 +21,16 @@ #define INCLUDED_XMLSECURITY_INC_FRAMEWORK_SIGNATURECREATORIMPL_HXX #include <com/sun/star/xml/crypto/sax/XBlockerMonitor.hpp> -#include <com/sun/star/xml/crypto/sax/XSignatureCreationResultListener.hpp> #include <com/sun/star/xml/crypto/sax/XSignatureCreationResultBroadcaster.hpp> -#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <cppuhelper/implbase.hxx> #include <framework/signatureengine.hxx> +namespace com::sun::star::xml::crypto { class XSecurityEnvironment; } +namespace com::sun::star::xml::crypto::sax { class XSignatureCreationResultListener;} + typedef cppu::ImplInheritanceHelper < SignatureEngine, diff --git a/xmlsecurity/inc/framework/signatureengine.hxx b/xmlsecurity/inc/framework/signatureengine.hxx index f1f53d4412a0..56fc057ebf39 100644 --- a/xmlsecurity/inc/framework/signatureengine.hxx +++ b/xmlsecurity/inc/framework/signatureengine.hxx @@ -21,26 +21,24 @@ #define INCLUDED_XMLSECURITY_INC_FRAMEWORK_SIGNATUREENGINE_HXX #include <com/sun/star/xml/crypto/sax/XReferenceResolvedListener.hpp> -#include <com/sun/star/xml/crypto/sax/XReferenceResolvedBroadcaster.hpp> #include <com/sun/star/xml/crypto/sax/XReferenceCollector.hpp> #include <com/sun/star/xml/crypto/sax/XKeyCollector.hpp> #include <com/sun/star/xml/crypto/sax/XMissionTaker.hpp> -#include <com/sun/star/xml/crypto/sax/XSAXEventKeeper.hpp> -#include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp> -#include <com/sun/star/xml/crypto/XXMLSignature.hpp> #include <com/sun/star/xml/crypto/XUriBinding.hpp> -#include <com/sun/star/io/XInputStream.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/implbase.hxx> -#include <rtl/ref.hxx> #include <xmlsecuritydllapi.h> #include <framework/securityengine.hxx> -#include <framework/xmlsignaturetemplateimpl.hxx> #include <vector> +namespace com::sun::star::io { class XInputStream; } +namespace com::sun::star::xml::crypto { class XXMLSignature; } +namespace rtl { template <class reference_type> class Reference; } + +class XMLSignatureTemplateImpl; + class XMLSECURITY_DLLPUBLIC SignatureEngine : public cppu::ImplInheritanceHelper < SecurityEngine, diff --git a/xmlsecurity/inc/framework/signatureverifierimpl.hxx b/xmlsecurity/inc/framework/signatureverifierimpl.hxx index b4c73fb2eec0..7b022afd1f0c 100644 --- a/xmlsecurity/inc/framework/signatureverifierimpl.hxx +++ b/xmlsecurity/inc/framework/signatureverifierimpl.hxx @@ -20,18 +20,17 @@ #ifndef INCLUDED_XMLSECURITY_INC_FRAMEWORK_SIGNATUREVERIFIERIMPL_HXX #define INCLUDED_XMLSECURITY_INC_FRAMEWORK_SIGNATUREVERIFIERIMPL_HXX -#include <com/sun/star/xml/crypto/sax/XSignatureVerifyResultListener.hpp> #include <com/sun/star/xml/crypto/sax/XSignatureVerifyResultBroadcaster.hpp> -#include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/implbase.hxx> #include <xmlsecuritydllapi.h> #include <framework/signatureengine.hxx> +namespace com::sun::star::xml::crypto::sax { class XSignatureVerifyResultListener; } +namespace com::sun::star::xml::crypto { class XXMLSecurityContext; } + typedef cppu::ImplInheritanceHelper < SignatureEngine, diff --git a/xmlsecurity/inc/framework/xmlsignaturetemplateimpl.hxx b/xmlsecurity/inc/framework/xmlsignaturetemplateimpl.hxx index e0c9fcaf40c1..4be61d5fe562 100644 --- a/xmlsecurity/inc/framework/xmlsignaturetemplateimpl.hxx +++ b/xmlsecurity/inc/framework/xmlsignaturetemplateimpl.hxx @@ -22,19 +22,18 @@ #include <sal/config.h> #include <rtl/ustring.hxx> -#include <cppuhelper/factory.hxx> #include <cppuhelper/implbase.hxx> -#include <com/sun/star/uno/Exception.hpp> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/xml/crypto/XXMLSignatureTemplate.hpp> -#include <com/sun/star/xml/wrapper/XXMLElementWrapper.hpp> #include <vector> +namespace com::sun::star::lang { class XMultiServiceFactory; } +namespace com::sun::star::xml::wrapper { class XXMLElementWrapper; } + class XMLSignatureTemplateImpl : public ::cppu::WeakImplHelper< css::xml::crypto::XXMLSignatureTemplate , css::lang::XServiceInfo > diff --git a/xmlsecurity/inc/gpg/SEInitializer.hxx b/xmlsecurity/inc/gpg/SEInitializer.hxx index 0b6196e76d8e..0aef1dd8b7de 100644 --- a/xmlsecurity/inc/gpg/SEInitializer.hxx +++ b/xmlsecurity/inc/gpg/SEInitializer.hxx @@ -10,18 +10,16 @@ #ifndef INCLUDED_XMLSECURITY_SOURCE_GPG_SEINITIALIZER_HXX #define INCLUDED_XMLSECURITY_SOURCE_GPG_SEINITIALIZER_HXX -#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp> #include <com/sun/star/xml/crypto/XSEInitializer.hpp> #include <xsecxmlsecdllapi.h> #include <cppuhelper/implbase.hxx> +namespace com::sun::star::xml::crypto { class XXMLSecurityContext; } + class XSECXMLSEC_DLLPUBLIC SEInitializerGpg : public cppu::WeakImplHelper < css::xml::crypto::XSEInitializer, diff --git a/xmlsecurity/inc/gpg/xmlsignature_gpgimpl.hxx b/xmlsecurity/inc/gpg/xmlsignature_gpgimpl.hxx index 7779e4b6f003..15d58528d805 100644 --- a/xmlsecurity/inc/gpg/xmlsignature_gpgimpl.hxx +++ b/xmlsecurity/inc/gpg/xmlsignature_gpgimpl.hxx @@ -24,17 +24,17 @@ #include <rtl/ustring.hxx> #include <xsecxmlsecdllapi.h> -#include <cppuhelper/factory.hxx> #include <cppuhelper/implbase.hxx> -#include <com/sun/star/uno/Exception.hpp> #include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/xml/crypto/XXMLSignature.hpp> -#include <com/sun/star/xml/crypto/XXMLSignatureTemplate.hpp> -#include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp> + +namespace com::sun::star::xml::crypto { class XXMLSignatureTemplate; } +namespace com::sun::star::xml::crypto { class XXMLSecurityContext; } +namespace com::sun::star::lang { class XMultiServiceFactory; } + class XSECXMLSEC_DLLPUBLIC XMLSignature_GpgImpl : public ::cppu::WeakImplHelper< css::xml::crypto::XXMLSignature , diff --git a/xmlsecurity/inc/macrosecurity.hxx b/xmlsecurity/inc/macrosecurity.hxx index 4888a5e2f2a0..3dafc9d6d4dd 100644 --- a/xmlsecurity/inc/macrosecurity.hxx +++ b/xmlsecurity/inc/macrosecurity.hxx @@ -23,8 +23,6 @@ #include <vcl/weld.hxx> #include <unotools/securityoptions.hxx> -#include <com/sun/star/uno/XComponentContext.hpp> - namespace com { namespace sun { namespace star { diff --git a/xmlsecurity/inc/xmlsec/errorcallback.hxx b/xmlsecurity/inc/xmlsec/errorcallback.hxx index bcb800952636..afb17b0da189 100644 --- a/xmlsecurity/inc/xmlsec/errorcallback.hxx +++ b/xmlsecurity/inc/xmlsec/errorcallback.hxx @@ -20,10 +20,6 @@ #ifndef INCLUDED_XMLSECURITY_SOURCE_XMLSEC_ERRORCALLBACK_HXX #define INCLUDED_XMLSECURITY_SOURCE_XMLSEC_ERRORCALLBACK_HXX -#include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/xml/crypto/XXMLSignatureTemplate.hpp> -#include <com/sun/star/xml/crypto/XXMLEncryptionTemplate.hpp> - #include <xsecxmlsecdllapi.h> // Only used for logging diff --git a/xmlsecurity/inc/xmlsec/saxhelper.hxx b/xmlsecurity/inc/xmlsec/saxhelper.hxx index 0970f87fdd25..e1eed377d6fa 100644 --- a/xmlsecurity/inc/xmlsec/saxhelper.hxx +++ b/xmlsecurity/inc/xmlsec/saxhelper.hxx @@ -22,11 +22,10 @@ #include <libxml/tree.h> -#include <com/sun/star/xml/sax/SAXException.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> -#include <com/sun/star/xml/sax/XLocator.hpp> -#include <com/sun/star/lang/XServiceInfo.hpp> -#include <com/sun/star/xml/csax/XMLAttribute.hpp> +#include <rtl/ustring.hxx> + +namespace com::sun::star::xml::csax { struct XMLAttribute; } +namespace com::sun::star::uno { template <typename > class Sequence; } /** This class represents a SAX handler which simply forwards to the corresponding libxml API and translates parameter if necessary. diff --git a/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx b/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx index f4e3a37f06ba..86b60f33cb57 100644 --- a/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx +++ b/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx @@ -22,7 +22,6 @@ #include <com/sun/star/xml/wrapper/XXMLDocumentWrapper.hpp> #include <com/sun/star/xml/csax/XCompressedDocumentHandler.hpp> -#include <com/sun/star/xml/crypto/sax/XSAXEventKeeper.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <cppuhelper/implbase.hxx> @@ -35,10 +34,6 @@ #include <libxml/tree.h> -namespace com { namespace sun { namespace star { namespace uno { - class XComponentContext; -} } } } - class XSECXMLSEC_DLLPUBLIC XMLDocumentWrapper_XmlSecImpl : public cppu::WeakImplHelper < css::xml::wrapper::XXMLDocumentWrapper, diff --git a/xmlsecurity/inc/xmlsec/xmlstreamio.hxx b/xmlsecurity/inc/xmlsec/xmlstreamio.hxx index 6847ebecf6de..ee9e40e54ce6 100644 --- a/xmlsecurity/inc/xmlsec/xmlstreamio.hxx +++ b/xmlsecurity/inc/xmlsec/xmlstreamio.hxx @@ -20,11 +20,11 @@ #ifndef INCLUDED_XMLSECURITY_SOURCE_XMLSEC_XMLSTREAMIO_HXX #define INCLUDED_XMLSECURITY_SOURCE_XMLSEC_XMLSTREAMIO_HXX -#include <com/sun/star/uno/Reference.hxx> -#include <com/sun/star/xml/crypto/XUriBinding.hpp> - #include <xsecxmlsecdllapi.h> +namespace com::sun::star::xml::crypto { class XUriBinding; } +namespace com::sun::star::uno { template <typename > class Reference; } + XSECXMLSEC_DLLPUBLIC int xmlEnableStreamInputCallbacks() ; XSECXMLSEC_DLLPUBLIC void xmlDisableStreamInputCallbacks() ; XSECXMLSEC_DLLPUBLIC int xmlRegisterStreamInputCallbacks( diff --git a/xmlsecurity/inc/xmlsignaturehelper.hxx b/xmlsecurity/inc/xmlsignaturehelper.hxx index 02128bb4f6a8..2e6c2ce7f2b9 100644 --- a/xmlsecurity/inc/xmlsignaturehelper.hxx +++ b/xmlsecurity/inc/xmlsignaturehelper.hxx @@ -20,24 +20,16 @@ #ifndef INCLUDED_XMLSECURITY_INC_XMLSIGNATUREHELPER_HXX #define INCLUDED_XMLSECURITY_INC_XMLSIGNATUREHELPER_HXX -#include <vector> - #include <tools/link.hxx> #include <rtl/ustring.hxx> #include <rtl/ref.hxx> #include <svl/sigstruct.hxx> -#include "xsecctl.hxx" #include "xmlsecuritydllapi.h" #include "xmlsignaturehelper.hxx" -#include <com/sun/star/graphic/XGraphic.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/xml/sax/XWriter.hpp> -#include <com/sun/star/xml/crypto/XSEInitializer.hpp> -#include <com/sun/star/xml/crypto/sax/XSignatureCreationResultListener.hpp> -#include <com/sun/star/xml/crypto/sax/XSignatureVerifyResultListener.hpp> - class DateTime; +class UriBindingHelper; +class XSecController; namespace com { namespace sun { @@ -49,6 +41,12 @@ namespace embed { class XStorage; } }}} +namespace com { namespace sun { namespace star { namespace graphic { class XGraphic; } } } } +namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } } +namespace com { namespace sun { namespace star { namespace xml { namespace crypto { class XXMLSecurityContext; } } } } } +namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XDocumentHandler; } } } } } +namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XWriter; } } } } } + /********************************************************** XMLSignatureHelper diff --git a/xmlsecurity/inc/xmlsignaturehelper2.hxx b/xmlsecurity/inc/xmlsignaturehelper2.hxx index 867118ba8da9..340d1e54dd1c 100644 --- a/xmlsecurity/inc/xmlsignaturehelper2.hxx +++ b/xmlsecurity/inc/xmlsignaturehelper2.hxx @@ -20,12 +20,11 @@ #ifndef INCLUDED_XMLSECURITY_INC_XMLSIGNATUREHELPER2_HXX #define INCLUDED_XMLSECURITY_INC_XMLSIGNATUREHELPER2_HXX -#include <tools/link.hxx> #include <rtl/ustring.hxx> #include <cppuhelper/implbase.hxx> -#include <com/sun/star/xml/sax/XDocumentHandler.hpp> +#include <com/sun/star/xml/crypto/XUriBinding.hpp> namespace com { namespace sun { diff --git a/xmlsecurity/inc/xsecctl.hxx b/xmlsecurity/inc/xsecctl.hxx index 151de483371d..351c94a2a3e6 100644 --- a/xmlsecurity/inc/xsecctl.hxx +++ b/xmlsecurity/inc/xsecctl.hxx @@ -22,25 +22,10 @@ #include <svl/sigstruct.hxx> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/xml/sax/XParser.hpp> -#include <com/sun/star/lang/XInitialization.hpp> -#include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include <com/sun/star/xml/sax/XAttributeList.hpp> -#include <com/sun/star/graphic/XGraphic.hpp> -#include <com/sun/star/xml/crypto/XXMLSignature.hpp> -#include <com/sun/star/xml/crypto/XSEInitializer.hpp> -#include <com/sun/star/xml/crypto/sax/XSecuritySAXEventKeeper.hpp> -#include <com/sun/star/xml/crypto/sax/XReferenceResolvedListener.hpp> #include <com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeListener.hpp> #include <com/sun/star/xml/crypto/sax/XSignatureCreationResultListener.hpp> #include <com/sun/star/xml/crypto/sax/XSignatureVerifyResultListener.hpp> -#include <com/sun/star/xml/wrapper/XXMLDocumentWrapper.hpp> -#include <com/sun/star/io/XOutputStream.hpp> -#include <com/sun/star/io/XInputStream.hpp> -#include <com/sun/star/embed/XStorage.hpp> -#include <rtl/ustrbuf.hxx> #include <rtl/ref.hxx> #include <cppuhelper/implbase.hxx> @@ -48,6 +33,16 @@ #include "xmlsignaturehelper2.hxx" +namespace com::sun::star::embed { class XStorage; } +namespace com::sun::star::graphic { class XGraphic; } +namespace com::sun::star::io { class XInputStream; } +namespace com::sun::star::lang { class XInitialization; } +namespace com::sun::star::uno { class XComponentContext; } +namespace com::sun::star::xml::crypto { class XXMLSecurityContext; } +namespace com::sun::star::xml::crypto { class XXMLSignature; } +namespace com::sun::star::xml::crypto:: sax { class XReferenceResolvedListener; } +namespace com::sun::star::xml::sax { class XDocumentHandler; } + #define NS_XMLDSIG "http://www.w3.org/2000/09/xmldsig#" #define NS_DC "http://purl.org/dc/elements/1.1/" #define NS_XD "http://uri.etsi.org/01903/v1.3.2#" @@ -66,7 +61,6 @@ #define ALGO_XMLDSIGSHA512 "http://www.w3.org/2001/04/xmlenc#sha512" #define ALGO_RELATIONSHIP "http://schemas.openxmlformats.org/package/2006/RelationshipTransform" -class XSecParser; class XMLDocumentWrapper_XmlSecImpl; class SAXEventKeeperImpl; class XMLSignatureHelper; |