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

(2.0.0.242): ASCOfficeDocxFile2

Bug 27582 - Выравнивание числовых данные в ячейке устанавливается некорректно при импорте CSV файла.
Bug 27541 - [docx] Слетели списки в документе +изменилась нумерация страниц.

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@59704 954022d7-b5bf-4e40-9824-e11837661b57
parent 6f3de901
...@@ -2558,6 +2558,7 @@ namespace BinDocxRW ...@@ -2558,6 +2558,7 @@ namespace BinDocxRW
FldStruct* ParseField(CString& sFld) FldStruct* ParseField(CString& sFld)
{ {
sFld.Trim(); sFld.Trim();
sFld.MakeUpper();
FldStruct* pRes = NULL; FldStruct* pRes = NULL;
int nIndex = 0; int nIndex = 0;
if(-1 != (nIndex = sFld.Find(_T("TOC")))) if(-1 != (nIndex = sFld.Find(_T("TOC"))))
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
//2 //2
//0 //0
//0 //0
//241 //242
#define INTVER 2,0,0,241 #define INTVER 2,0,0,242
#define STRVER "2,0,0,241\0" #define STRVER "2,0,0,242\0"
...@@ -20,7 +20,7 @@ namespace CSVReader ...@@ -20,7 +20,7 @@ namespace CSVReader
pCell->m_oType.Init(); pCell->m_oType.Init();
WCHAR *pEndPtr; WCHAR *pEndPtr;
LONG lValue = wcstol(sText, &pEndPtr, 10); double dValue = wcstod(sText, &pEndPtr);
if (NULL != *pEndPtr) if (NULL != *pEndPtr)
{ {
// Не число // Не число
......
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