11#ifndef INCLUDED_OOX_CRYPTO_DOCUMENTENCRYPTION_HXX
12#define INCLUDED_OOX_CRYPTO_DOCUMENTENCRYPTION_HXX
14#include <com/sun/star/uno/Reference.hxx>
15#include <com/sun/star/uno/Sequence.hxx>
18 namespace io {
class XStream; }
19 namespace packages {
class XPackageEncryption; }
20 namespace beans {
struct NamedValue; }
21 namespace uno {
class XComponentContext; }
24namespace oox::ole {
class OleStorage; }
31 css::uno::Reference< css::uno::XComponentContext >
mxContext;
39 DocumentEncryption(
const css::uno::Reference< css::uno::XComponentContext >& rxContext,
40 css::uno::Reference< css::io::XStream >
const & xDocumentStream,
42 const css::uno::Sequence< css::beans::NamedValue >& rMediaEncData);
oox::ole::OleStorage & mrOleStorage
css::uno::Reference< css::packages::XPackageEncryption > mxPackageEncryption
css::uno::Reference< css::uno::XComponentContext > mxContext
DocumentEncryption(const css::uno::Reference< css::uno::XComponentContext > &rxContext, css::uno::Reference< css::io::XStream > const &xDocumentStream, oox::ole::OleStorage &rOleStorage, const css::uno::Sequence< css::beans::NamedValue > &rMediaEncData)
css::uno::Reference< css::io::XStream > mxDocumentStream
const css::uno::Sequence< css::beans::NamedValue > & mMediaEncData
Implements stream access for binary OLE storages.