Commit ad23dfaa authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander Trofimov

(2.0.1.328): ASCOfficeDocxFile2

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

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63447 954022d7-b5bf-4e40-9824-e11837661b57
parent 23a4f86f
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
//2 //2
//0 //0
//1 //1
//327 //328
#define INTVER 2,0,1,327 #define INTVER 2,0,1,328
#define STRVER "2,0,1,327\0" #define STRVER "2,0,1,328\0"
...@@ -52,7 +52,7 @@ namespace PPTX ...@@ -52,7 +52,7 @@ namespace PPTX
style = oNode; style = oNode;
else if (_T("txBody") == strName) else if (_T("txBody") == strName)
txBody = oNode; txBody = oNode;
else if (_T("txbx") == strName || _T("textbox") == strNam) else if (_T("txbx") == strName || _T("textbox") == strName)
{ {
XmlUtils::CXmlNode _node = oNode.ReadNode(_T("w:txbxContent")); XmlUtils::CXmlNode _node = oNode.ReadNode(_T("w:txbxContent"));
if (_node.IsValid()) if (_node.IsValid())
......
...@@ -5587,7 +5587,7 @@ namespace BinXlsxRW{ ...@@ -5587,7 +5587,7 @@ namespace BinXlsxRW{
if(c_oserct_rotxVAL == type) if(c_oserct_rotxVAL == type)
{ {
signed char* pNewElem = new signed char; signed char* pNewElem = new signed char;
*pNewElem = m_oBufferedStream.GetUChar(); *pNewElem = m_oBufferedStream.GetChar();
poVal->m_val = pNewElem; poVal->m_val = pNewElem;
} }
else else
...@@ -10397,7 +10397,7 @@ namespace BinXlsxRW{ ...@@ -10397,7 +10397,7 @@ namespace BinXlsxRW{
if(NULL != oVal.m_val) if(NULL != oVal.m_val)
{ {
int nCurPos = m_oBcw.WriteItemStart(c_oserct_rotxVAL); int nCurPos = m_oBcw.WriteItemStart(c_oserct_rotxVAL);
m_oBcw.m_oStream.WriteBYTE(*oVal.m_val); m_oBcw.m_oStream.WriteSBYTE(*oVal.m_val);
m_oBcw.WriteItemEnd(nCurPos); m_oBcw.WriteItemEnd(nCurPos);
} }
} }
......
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