(1.0.0.105): XlsxSerializerCom

Пустые ячейки не пишем

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@54342 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Alexander.Trofimov
2014-02-12 10:17:28 +00:00
committed by Alexander Trofimov
parent da36c023c1
commit 385a24ef1c
2 changed files with 6 additions and 4 deletions

View File

@ -11,6 +11,9 @@ namespace CSVReader
sText.Delete(nIndex);
oDeleteChars.pop();
}
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>
if (0 == sText.GetLength())
return;
OOX::Spreadsheet::CCell *pCell = new OOX::Spreadsheet::CCell();
pCell->m_oType.Init();
@ -29,7 +32,6 @@ namespace CSVReader
else
{
// <20><><EFBFBD><EFBFBD><EFBFBD>
pCell->m_oType->SetValue(SimpleTypes::Spreadsheet::celltypeNumber);
pCell->m_oValue.Init();
pCell->m_oValue->m_sText = sText;
}

View File

@ -2,6 +2,6 @@
//1
//0
//0
//104
#define INTVER 1,0,0,104
#define STRVER "1,0,0,104\0"
//105
#define INTVER 1,0,0,105
#define STRVER "1,0,0,105\0"