Commit 6f9ce15f authored by konovalovsergey's avatar konovalovsergey

convertion ods->xlsx->json

parent 83f59cb8
...@@ -31,13 +31,13 @@ ...@@ -31,13 +31,13 @@
*/ */
#include "WordDocument.h" #include "WordDocument.h"
#include "../../../Common/OfficeFileErrorDescription.h" #include "../../Common/OfficeFileErrorDescription.h"
#include "../../../ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/SummaryInformation.h" #include "../../ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/SummaryInformation.h"
#include "../../../ASCOfficeXlsFile2/source/XlsFormat/Binary/CFStream.h" #include "../../ASCOfficeXlsFile2/source/XlsFormat/Binary/CFStream.h"
#include "../../../Common/DocxFormat/Source/SystemUtility/FileSystem/Directory.h" #include "../../Common/DocxFormat/Source/SystemUtility/FileSystem/Directory.h"
#include "../../../DesktopEditor/common/File.h" #include "../../DesktopEditor/common/File.h"
namespace DocFileFormat namespace DocFileFormat
{ {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
*/ */
#pragma once #pragma once
#include "../../../Common/3dParty/pole/pole.h" #include "../../../../Common/3dParty/pole/pole.h"
#include "CFRecordType.h" #include "CFRecordType.h"
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include <string> #include <string>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include "../../../Common/DocxFormat/Source/Base/Types_32.h" #include "../../../../Common/DocxFormat/Source/Base/Types_32.h"
namespace CRYPT namespace CRYPT
{ {
......
...@@ -233,15 +233,9 @@ namespace CSVWriter ...@@ -233,15 +233,9 @@ namespace CSVWriter
if (0 <= nValue && nValue < pSharedStrings->m_arrItems.size()) if (0 <= nValue && nValue < pSharedStrings->m_arrItems.size())
{ {
OOX::Spreadsheet::CSi *pSi = static_cast<OOX::Spreadsheet::CSi *>(pSharedStrings->m_arrItems[nValue]); OOX::Spreadsheet::CSi *pSi = static_cast<OOX::Spreadsheet::CSi *>(pSharedStrings->m_arrItems[nValue]);
if (NULL != pSi && pSi->m_arrItems.size() > 0) if(NULL != pSi)
if(NULL != pSi && pSi->m_arrItems.size() > 0)
{ {
OOX::Spreadsheet::WritingElement* pWe = pSi->m_arrItems[0]; sCellValue = pSi->ToString();
if(OOX::Spreadsheet::et_t == pWe->getType())
{
OOX::Spreadsheet::CText* pText = static_cast<OOX::Spreadsheet::CText*>(pWe);
sCellValue = pText->m_sText;
}
} }
} }
} }
......
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