Bump version to 6.0-36
[LibreOffice.git] / xmlsecurity / source / helper / ooxmlsecexporter.hxx
blob12c7c197047c3abfdffca9c358796a7b788571d4
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_XMLSECURITY_SOURCE_HELPER_OOXMLSECEXPORTER_HXX
11 #define INCLUDED_XMLSECURITY_SOURCE_HELPER_OOXMLSECEXPORTER_HXX
13 #include <memory>
15 #include <com/sun/star/uno/XComponentContext.hpp>
16 #include <com/sun/star/embed/XStorage.hpp>
17 #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
18 #include <svl/sigstruct.hxx>
20 /// Writes a single OOXML digital signature.
21 class OOXMLSecExporter
23 struct Impl;
24 std::unique_ptr<Impl> m_pImpl;
26 public:
27 OOXMLSecExporter(const css::uno::Reference<css::uno::XComponentContext>& xComponentContext,
28 const css::uno::Reference<css::embed::XStorage>& xRootStorage,
29 const css::uno::Reference<css::xml::sax::XDocumentHandler>& xDocumentHandler,
30 const SignatureInformation& rInformation);
31 ~OOXMLSecExporter();
32 void writeSignature();
35 #endif
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */