1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef INCLUDED_XMLSECURITY_SOURCE_HELPER_OOXMLSECEXPORTER_HXX
11 #define INCLUDED_XMLSECURITY_SOURCE_HELPER_OOXMLSECEXPORTER_HXX
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
24 std::unique_ptr
<Impl
> m_pImpl
;
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
);
32 void writeSignature();
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */