summaryrefslogtreecommitdiff
path: root/include/oox/crypto/IRMEngine.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/crypto/IRMEngine.hxx')
-rw-r--r--include/oox/crypto/IRMEngine.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/oox/crypto/IRMEngine.hxx b/include/oox/crypto/IRMEngine.hxx
index bd2cc44b0a69..9bf610904a9d 100644
--- a/include/oox/crypto/IRMEngine.hxx
+++ b/include/oox/crypto/IRMEngine.hxx
@@ -36,11 +36,15 @@ struct OOX_DLLPUBLIC IRMEncryptionInfo
class OOX_DLLPUBLIC IRMEngine : public CryptoEngine
{
IRMEncryptionInfo mInfo;
+ css::uno::Reference<css::uno::XComponentContext> mxContext;
+
+ css::uno::Reference<css::io::XInputStream>
+ getStream(css::uno::Sequence<css::beans::NamedValue>& rStreams, const OUString sStreamName);
public:
- IRMEngine();
+ IRMEngine(const css::uno::Reference<css::uno::XComponentContext>& rxContext);
- bool readEncryptionInfo(oox::ole::OleStorage& rOleStorage) override;
+ bool readEncryptionInfo(css::uno::Sequence<css::beans::NamedValue> aStreams) override;
virtual bool generateEncryptionKey(OUString const& rPassword) override;