Commit 061203e9 authored by konovalovsergey's avatar konovalovsergey

fix bug 33330

parent 0770d113
......@@ -83,6 +83,25 @@ namespace PPTX
endParaRPr = oNode;
else if ((_T("r") == strName) || (_T("fld") == strName) || (_T("br") == strName) || (_T("m") == strName))
RunElems.push_back(RunElem(oNode));
else if (_T("AlternateContent") == strName)
{
//code as in SpTreeElem.cpp
XmlUtils::CXmlNode oNodeChoice;
if (oNode.GetNode(_T("mc:Choice"), oNodeChoice))
{
XmlUtils::CXmlNode oNodeFall;
CString sRequires;
//todo better check (a14 can be math, slicer)
if(oNodeChoice.GetAttributeIfExist(L"Requires", sRequires) && L"a14" == sRequires)
{
fromXML(oNodeChoice);
}
else if (oNode.GetNode(_T("mc:Fallback"), oNodeFall))
{
fromXML(oNodeFall);
}
}
}
}
}
......
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