Commit 3c7d9162 authored by ElenaSubbotina's avatar ElenaSubbotina

WordArt multiline from doc.

parent 9d45c373
......@@ -1869,9 +1869,13 @@ PPTX::Logic::SpTreeElem CDrawingConverter::doc_LoadShape(XmlUtils::CXmlNode& oNo
CString strNameP = XmlUtils::GetNameNoNS(oNodeP.GetName());
if (_T("textpath") == strNameP)
{
strString = oNodeP.GetAttribute(_T("string"));
// мы используем его в хмл
CorrectXmlString(strString);
strString = oNodeP.GetText(); //для обхода &#xA пишется дубль в контент
if (strString.IsEmpty())
{
strString = oNodeP.GetAttribute(_T("string"));
}
CorrectXmlString(strString); // мы используем его в хмл
CString strStyle = oNodeP.GetAttribute(_T("style"));
PPTX::CCSS oCSSParser;
......
......@@ -2623,6 +2623,8 @@ namespace OOX
{
ReadAttributes( oReader );
m_sStringOriginal = oReader.GetText2();
if ( !oReader.IsEmptyNode() )
oReader.ReadTillEnd();
}
......@@ -2716,6 +2718,8 @@ namespace OOX
nullable<SimpleTypes::Vml::CCssStyle> m_oStyle;
SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oTrim;
SimpleTypes::CTrueFalse<SimpleTypes::booleanFalse> m_oXScale;
nullable<CString> m_sStringOriginal;
};
//--------------------------------------------------------------------------------
// CGroup 14.1.2.7 (Part4)
......
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