mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
fix text in controls xlsx
This commit is contained in:
@ -163,7 +163,7 @@ namespace OOX
|
||||
|
||||
for ( size_t i = 0; i < m_arrItems.size(); ++i)
|
||||
{
|
||||
if ( m_arrItems[i] )
|
||||
if (m_arrItems[i])
|
||||
{
|
||||
sResult += m_arrItems[i]->toXML();
|
||||
}
|
||||
|
||||
@ -55,8 +55,6 @@ namespace OOX
|
||||
virtual void fromXML(XmlUtils::CXmlLiteReader& oReader);
|
||||
virtual std::wstring toXML() const;
|
||||
virtual EElementType getType() const;
|
||||
|
||||
// Childs
|
||||
};
|
||||
|
||||
//--------------------------------------------------------------------------------
|
||||
|
||||
@ -1843,13 +1843,14 @@ namespace OOX
|
||||
|
||||
sResult += L">";
|
||||
|
||||
if ( m_oTxtbxContent.IsInit() )
|
||||
sResult += m_oTxtbxContent->toXML();
|
||||
|
||||
if (m_oText.IsInit())
|
||||
{
|
||||
sResult += L"<div>" + *m_oText + L"</div>";
|
||||
}
|
||||
else if (m_oTxtbxContent.IsInit())
|
||||
{
|
||||
sResult += m_oTxtbxContent->toXML(); //???
|
||||
}
|
||||
|
||||
sResult += L"</v:textbox>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user