Commit 6341f4d8 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

'txbx' может также прописано как 'textbox' (1 (45).docx)

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63418 954022d7-b5bf-4e40-9824-e11837661b57
parent 9ec16088
......@@ -52,7 +52,7 @@ namespace PPTX
style = oNode;
else if (_T("txBody") == strName)
txBody = oNode;
else if (_T("txbx") == strName)
else if (_T("txbx") == strName || _T("textbox") == strNam)
{
XmlUtils::CXmlNode _node = oNode.ReadNode(_T("w:txbxContent"));
if (_node.IsValid())
......
......@@ -398,7 +398,7 @@ namespace OOX
m_oSpPr = oReader;
else if ( _T("wps:style") == sName )
m_oShapeStyle = oReader;
else if (_T("wps:txbx") == sName)
else if ((_T("wps:txbx") == sName) || (_T("wps:textbox") == sName))
m_oTxBody = oReader;
else if (_T("wps:bodyPr") == sName)
m_oTxBodyProperties = oReader;
......
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