Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
6f9ce15f
Commit
6f9ce15f
authored
Jun 29, 2016
by
konovalovsergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
convertion ods->xlsx->json
parent
83f59cb8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
17 deletions
+11
-17
ASCOfficeDocFile/DocDocxConverter/WordDocument.cpp
ASCOfficeDocFile/DocDocxConverter/WordDocument.cpp
+5
-5
ASCOfficeXlsFile2/source/XlsFormat/Binary/CFStream.h
ASCOfficeXlsFile2/source/XlsFormat/Binary/CFStream.h
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Crypt/Crypt.h
ASCOfficeXlsFile2/source/XlsFormat/Crypt/Crypt.h
+1
-1
XlsxSerializerCom/Writer/CSVWriter.cpp
XlsxSerializerCom/Writer/CSVWriter.cpp
+4
-10
No files found.
ASCOfficeDocFile/DocDocxConverter/WordDocument.cpp
View file @
6f9ce15f
...
@@ -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
{
{
...
...
ASCOfficeXlsFile2/source/XlsFormat/Binary/CFStream.h
View file @
6f9ce15f
...
@@ -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"
...
...
ASCOfficeXlsFile2/source/XlsFormat/Crypt/Crypt.h
View file @
6f9ce15f
...
@@ -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
{
{
...
...
XlsxSerializerCom/Writer/CSVWriter.cpp
View file @
6f9ce15f
...
@@ -233,16 +233,10 @@ namespace CSVWriter
...
@@ -233,16 +233,10 @@ 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
)
{
{
sCellValue
=
pSi
->
ToString
();
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
;
}
}
}
}
}
}
else
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment