summaryrefslogtreecommitdiff
path: root/include/oox/crypto
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-03-24 18:19:54 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-03-24 18:22:42 +0100
commit15b3e29808da85b1c304c571f52f12cc2e67884d (patch)
treedaeccb22c0c7cb75591ed945a109418f4fff08e3 /include/oox/crypto
parent44956c3261b69eec054ffa5fe8440f14f571308c (diff)
fdo#76222 oox: add support for MSO 2007 SP2 encrypted documents
Change-Id: I8fa586d49437ff5422fc3daa4c81439146e598a0
Diffstat (limited to 'include/oox/crypto')
-rw-r--r--include/oox/crypto/Standard2007Engine.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/oox/crypto/Standard2007Engine.hxx b/include/oox/crypto/Standard2007Engine.hxx
index 37ae0a08f563..329d790a69cf 100644
--- a/include/oox/crypto/Standard2007Engine.hxx
+++ b/include/oox/crypto/Standard2007Engine.hxx
@@ -37,7 +37,10 @@ const sal_uInt32 ENCRYPT_PROVIDER_TYPE_AES = 0x00000018;
const sal_uInt32 ENCRYPT_PROVIDER_TYPE_RC4 = 0x00000001;
// version of encryption info used in MS Office 2007 (major = 3, minor = 2)
-const sal_uInt32 VERSION_INFO_2007_FORMAT = 0x00020003;
+const sal_uInt32 VERSION_INFO_2007_FORMAT = 0x00020003;
+// version of encryption info used in MS Office 2007 SP2 and older (major = 4, minor = 2)
+const sal_uInt32 VERSION_INFO_2007_FORMAT_SP2 = 0x00020004;
+
// version of encryption info - agile (major = 4, minor = 4)
const sal_uInt32 VERSION_INFO_AGILE = 0x00040004;