Kaydet (Commit) aac43335 authored tarafından Miklos Vajna's avatar Miklos Vajna

xmlsecurity: import OOXML <Signature>

Change-Id: I5925440347c04b2fff243261ba677c718d8fc312
üst 829e236d
......@@ -29,9 +29,19 @@ void SAL_CALL OOXMLSecParser::endDocument() throw (xml::sax::SAXException, uno::
{
}
void SAL_CALL OOXMLSecParser::startElement(const OUString& /*rName*/, const uno::Reference<xml::sax::XAttributeList>& /*xAttribs*/)
void SAL_CALL OOXMLSecParser::startElement(const OUString& rName, const uno::Reference<xml::sax::XAttributeList>& xAttribs)
throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
{
OUString aId = xAttribs->getValueByName("Id");
if (!aId.isEmpty())
m_pXSecController->collectToVerify(aId);
if (rName == "Signature")
{
//m_pXSecController->addSignature();
if (!aId.isEmpty())
m_pXSecController->setId(aId);
}
}
void SAL_CALL OOXMLSecParser::endElement(const OUString& /*rName*/) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
......
......@@ -166,6 +166,7 @@ class XSecController : public cppu::WeakImplHelper
******************************************************************************/
{
friend class XSecParser;
friend class OOXMLSecParser;
private:
com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext> mxCtx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment