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 <rtl/ustring.hxx>
20 namespace com
{ namespace sun
{ namespace star
{
21 namespace io
{ class XStream
; }
24 namespace oox
{ namespace ole
{ class OleStorage
; } }
29 class OOX_DLLPUBLIC DocumentEncryption
32 css::uno::Reference
< css::io::XStream
> mxDocumentStream
;
33 oox::ole::OleStorage
& mrOleStorage
;
36 Standard2007Engine mEngine
;
40 css::uno::Reference
< css::io::XStream
> const & xDocumentStream
,
41 oox::ole::OleStorage
& rOleStorage
,
42 const OUString
& aPassword
);
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */