summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/helper/ooxmlsecparser.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-01-25 15:34:38 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-01-25 18:26:16 +0100
commit0dac6d1f179c286dd7aea2d9ef7c37db8323fa37 (patch)
tree06d7e6fcc0de4747f93da7153b45aa624b4f5bb1 /xmlsecurity/source/helper/ooxmlsecparser.hxx
parent7b6fdcd83b14a271061b70d43273d5c6cf0bb43c (diff)
xmlsecurity: implement OOXML stream references
With this, if see an URI like: /_rels/.rels?ContentType=application/vnd.openxmlformats-package.relationships+xml Then it is properly detected that it's the .rels stream of the _rels storage, and UriBindingHelper will serve that stream (when looked up by name later) to libxmlsec. Change-Id: Iac62cb170c0aa8bb92c40311fb7b248e96c25dde
Diffstat (limited to 'xmlsecurity/source/helper/ooxmlsecparser.hxx')
-rw-r--r--xmlsecurity/source/helper/ooxmlsecparser.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmlsecurity/source/helper/ooxmlsecparser.hxx b/xmlsecurity/source/helper/ooxmlsecparser.hxx
index c7ac95368392..73ac0b22be97 100644
--- a/xmlsecurity/source/helper/ooxmlsecparser.hxx
+++ b/xmlsecurity/source/helper/ooxmlsecparser.hxx
@@ -39,6 +39,10 @@ class OOXMLSecParser: public cppu::WeakImplHelper
OUString m_aMdssiValue;
bool m_bInSignatureComments;
OUString m_aSignatureComments;
+ /// Last seen <Reference URI="...">.
+ OUString m_aReferenceURI;
+ /// Already called addStreamReference() for this reference.
+ bool m_bReferenceUnresolved;
public:
OOXMLSecParser(XSecController* pXSecController);