Commit abd736ea authored by Sergey.Tsarkov's avatar Sergey.Tsarkov Committed by Alexander Trofimov

(2.0.0.184): ASCOfficeDocxFile2

подключены формулы на чтение.
поправлены ф-лы на чтение из doc

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58550 954022d7-b5bf-4e40-9824-e11837661b57
parent 00011eb5
...@@ -423,7 +423,7 @@ extern int g_nCurFormatVersion; ...@@ -423,7 +423,7 @@ extern int g_nCurFormatVersion;
fldend = 10, fldend = 10,
CommentReference = 11, CommentReference = 11,
pptxDrawing = 12, pptxDrawing = 12,
object = 13 object = 14
};} };}
namespace c_oSerImageType{enum c_oSerImageType namespace c_oSerImageType{enum c_oSerImageType
{ {
......
...@@ -2712,7 +2712,7 @@ namespace BinDocxRW ...@@ -2712,7 +2712,7 @@ namespace BinDocxRW
WriteComment(OOX::et_w_commentRangeEnd, pCommentRangeEnd->m_oId); WriteComment(OOX::et_w_commentRangeEnd, pCommentRangeEnd->m_oId);
break; break;
} }
/*case OOX::et_m_oMathPara: case OOX::et_m_oMathPara:
{ {
OOX::Logic::COMathPara* pOMathPara = static_cast<OOX::Logic::COMathPara*>(item); OOX::Logic::COMathPara* pOMathPara = static_cast<OOX::Logic::COMathPara*>(item);
nCurPos = m_oBcw.WriteItemStart(c_oSerParType::OMathPara); nCurPos = m_oBcw.WriteItemStart(c_oSerParType::OMathPara);
...@@ -2727,7 +2727,7 @@ namespace BinDocxRW ...@@ -2727,7 +2727,7 @@ namespace BinDocxRW
WriteMathArgNodes( pOMath->m_arrItems ); WriteMathArgNodes( pOMath->m_arrItems );
m_oBcw.WriteItemEnd(nCurPos); m_oBcw.WriteItemEnd(nCurPos);
break; break;
}*/ }
} }
} }
}; };
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
//2 //2
//0 //0
//0 //0
//184 //185
#define INTVER 2,0,0,184 #define INTVER 2,0,0,185
#define STRVER "2,0,0,184\0" #define STRVER "2,0,0,185\0"
...@@ -210,13 +210,13 @@ int CEquationReader::HandleChar(uint8_t nTag) ...@@ -210,13 +210,13 @@ int CEquationReader::HandleChar(uint8_t nTag)
if (nChar < 0x20) if (nChar < 0x20)
return nRet; return nRet;
pOutputDev->BeginChar(nChar, nTypeFace, IsSpecialChar(nChar));
if (xfEMBELL(nTag)) if (xfEMBELL(nTag))
{ {
nRet = HandleRecords(); nRet = HandleRecords();
} }
pOutputDev->BeginChar(nChar, nTypeFace, IsSpecialChar(nChar));
pOutputDev->EndChar(); pOutputDev->EndChar();
return nRet; return nRet;
} }
......
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