Commit 6f9ce15f authored by konovalovsergey's avatar konovalovsergey

convertion ods->xlsx->json

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