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/.
11 #ifndef INCLUDED_OOX_CRYPTO_DOCUMENTENCRYPTION_HXX
12 #define INCLUDED_OOX_CRYPTO_DOCUMENTENCRYPTION_HXX
14 #include <oox/dllapi.h>
16 #include <com/sun/star/uno/Reference.hxx>
17 #include <oox/crypto/Standard2007Engine.hxx>
18 #include <oox/crypto/AgileEngine.hxx>
19 #include <rtl/ustring.hxx>
21 namespace com
{ namespace sun
{ namespace star
{
22 namespace io
{ class XStream
; }
25 namespace oox
{ namespace ole
{ class OleStorage
; } }
30 class OOX_DLLPUBLIC DocumentEncryption
33 css::uno::Reference
< css::io::XStream
> mxDocumentStream
;
34 oox::ole::OleStorage
& mrOleStorage
;
35 OUString
const maPassword
;
37 Standard2007Engine mEngine
;
41 css::uno::Reference
< css::io::XStream
> const & xDocumentStream
,
42 oox::ole::OleStorage
& rOleStorage
,
43 const OUString
& aPassword
);
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */