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
ce77d478
Commit
ce77d478
authored
Dec 25, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x2t version 2.4.498
parent
e1e14ae2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
ASCOfficeOdfFileW/source/Oox2OdfConverter/XlsxConverter.cpp
ASCOfficeOdfFileW/source/Oox2OdfConverter/XlsxConverter.cpp
+1
-1
Common/DocxFormat/Source/XlsxFormat/SharedStrings/SharedStrings.h
...ocxFormat/Source/XlsxFormat/SharedStrings/SharedStrings.h
+2
-2
X2tConverter/build/Qt/X2tConverter.pri
X2tConverter/build/Qt/X2tConverter.pri
+1
-1
XlsxSerializerCom/Reader/BinaryWriter.h
XlsxSerializerCom/Reader/BinaryWriter.h
+1
-1
XlsxSerializerCom/Writer/BinaryReader.h
XlsxSerializerCom/Writer/BinaryReader.h
+3
-3
XlsxSerializerCom/Writer/CSVWriter.cpp
XlsxSerializerCom/Writer/CSVWriter.cpp
+1
-1
No files found.
ASCOfficeOdfFileW/source/Oox2OdfConverter/XlsxConverter.cpp
View file @
ce77d478
...
@@ -585,7 +585,7 @@ void XlsxConverter::convert_sharing_string(int number)
...
@@ -585,7 +585,7 @@ void XlsxConverter::convert_sharing_string(int number)
const
OOX
::
Spreadsheet
::
CSharedStrings
*
SharedStrings
=
xlsx_document
->
GetSharedStrings
();
const
OOX
::
Spreadsheet
::
CSharedStrings
*
SharedStrings
=
xlsx_document
->
GetSharedStrings
();
if
(
!
SharedStrings
)
return
;
if
(
!
SharedStrings
)
return
;
std
::
unordered_
map
<
int
,
OOX
::
Spreadsheet
::
CSi
*>::
const_iterator
pFind
=
SharedStrings
->
m_mapItems
.
find
(
number
);
std
::
map
<
int
,
OOX
::
Spreadsheet
::
CSi
*>::
const_iterator
pFind
=
SharedStrings
->
m_mapItems
.
find
(
number
);
if
(
pFind
!=
SharedStrings
->
m_mapItems
.
end
())
if
(
pFind
!=
SharedStrings
->
m_mapItems
.
end
())
{
{
...
...
Common/DocxFormat/Source/XlsxFormat/SharedStrings/SharedStrings.h
View file @
ce77d478
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#include "../CommonInclude.h"
#include "../CommonInclude.h"
#include "Si.h"
#include "Si.h"
#include <
unordered_
map>
#include <map>
namespace
OOX
namespace
OOX
{
{
...
@@ -172,7 +172,7 @@ namespace OOX
...
@@ -172,7 +172,7 @@ namespace OOX
public:
public:
nullable
<
SimpleTypes
::
CUnsignedDecimalNumber
<>>
m_oCount
;
nullable
<
SimpleTypes
::
CUnsignedDecimalNumber
<>>
m_oCount
;
nullable
<
SimpleTypes
::
CUnsignedDecimalNumber
<>>
m_oUniqueCount
;
nullable
<
SimpleTypes
::
CUnsignedDecimalNumber
<>>
m_oUniqueCount
;
std
::
unordered_map
<
int
,
CSi
*>
m_mapItems
;
std
::
map
<
int
,
CSi
*>
m_mapItems
;
int
m_nCount
;
int
m_nCount
;
};
};
...
...
X2tConverter/build/Qt/X2tConverter.pri
View file @
ce77d478
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
QT -= core
QT -= core
QT -= gui
QT -= gui
VERSION = 2.4.49
4
.0
VERSION = 2.4.49
8
.0
DEFINES += INTVER=$$VERSION
DEFINES += INTVER=$$VERSION
TARGET = x2t
TARGET = x2t
...
...
XlsxSerializerCom/Reader/BinaryWriter.h
View file @
ce77d478
...
@@ -1376,7 +1376,7 @@ namespace BinXlsxRW
...
@@ -1376,7 +1376,7 @@ namespace BinXlsxRW
{
{
int
nCurPos
;
int
nCurPos
;
for
(
auto
it
=
sharedString
.
m_mapItems
.
begin
();
it
!=
sharedString
.
m_mapItems
.
end
();
it
++
)
for
(
std
::
map
<
int
,
OOX
::
Spreadsheet
::
CSi
*>::
iterator
it
=
sharedString
.
m_mapItems
.
begin
();
it
!=
sharedString
.
m_mapItems
.
end
();
it
++
)
{
{
nCurPos
=
m_oBcw
.
WriteItemStart
(
c_oSerSharedStringTypes
::
Si
);
nCurPos
=
m_oBcw
.
WriteItemStart
(
c_oSerSharedStringTypes
::
Si
);
WriteSharedString
(
it
->
second
,
pIndexedColors
,
pTheme
,
oFontProcessor
);
WriteSharedString
(
it
->
second
,
pIndexedColors
,
pTheme
,
oFontProcessor
);
...
...
XlsxSerializerCom/Writer/BinaryReader.h
View file @
ce77d478
...
@@ -2535,7 +2535,7 @@ namespace BinXlsxRW {
...
@@ -2535,7 +2535,7 @@ namespace BinXlsxRW {
{
{
m_pCurVmlDrawing
->
m_mapComments
=
&
m_pCurWorksheet
->
m_mapComments
;
m_pCurVmlDrawing
->
m_mapComments
=
&
m_pCurWorksheet
->
m_mapComments
;
std
::
map
<
std
::
wstring
,
unsigned
int
>
mapByAuthors
;
std
::
unordered_
map
<
std
::
wstring
,
unsigned
int
>
mapByAuthors
;
OOX
::
Spreadsheet
::
CComments
*
pComments
=
new
OOX
::
Spreadsheet
::
CComments
();
OOX
::
Spreadsheet
::
CComments
*
pComments
=
new
OOX
::
Spreadsheet
::
CComments
();
pComments
->
m_oCommentList
.
Init
();
pComments
->
m_oCommentList
.
Init
();
...
@@ -2559,7 +2559,7 @@ namespace BinXlsxRW {
...
@@ -2559,7 +2559,7 @@ namespace BinXlsxRW {
if
(
pCommentItem
->
m_sAuthor
.
IsInit
())
if
(
pCommentItem
->
m_sAuthor
.
IsInit
())
{
{
const
std
::
wstring
&
sAuthor
=
pCommentItem
->
m_sAuthor
.
get
();
const
std
::
wstring
&
sAuthor
=
pCommentItem
->
m_sAuthor
.
get
();
std
::
map
<
std
::
wstring
,
unsigned
int
>::
const_iterator
pFind
=
mapByAuthors
.
find
(
sAuthor
);
std
::
unordered_
map
<
std
::
wstring
,
unsigned
int
>::
const_iterator
pFind
=
mapByAuthors
.
find
(
sAuthor
);
int
nAuthorId
;
int
nAuthorId
;
if
(
pFind
!=
mapByAuthors
.
end
())
if
(
pFind
!=
mapByAuthors
.
end
())
...
@@ -3522,7 +3522,7 @@ namespace BinXlsxRW {
...
@@ -3522,7 +3522,7 @@ namespace BinXlsxRW {
{
{
int
nValue
=
_wtoi
(
pCell
->
m_oValue
->
ToString
().
c_str
());
int
nValue
=
_wtoi
(
pCell
->
m_oValue
->
ToString
().
c_str
());
std
::
unordered_
map
<
int
,
OOX
::
Spreadsheet
::
CSi
*>::
iterator
pFind
=
m_pSharedStrings
->
m_mapItems
.
find
(
nValue
);
std
::
map
<
int
,
OOX
::
Spreadsheet
::
CSi
*>::
iterator
pFind
=
m_pSharedStrings
->
m_mapItems
.
find
(
nValue
);
if
(
pFind
!=
m_pSharedStrings
->
m_mapItems
.
end
())
if
(
pFind
!=
m_pSharedStrings
->
m_mapItems
.
end
())
{
{
...
...
XlsxSerializerCom/Writer/CSVWriter.cpp
View file @
ce77d478
...
@@ -243,7 +243,7 @@ namespace CSVWriter
...
@@ -243,7 +243,7 @@ namespace CSVWriter
{
{
int
nValue
=
_wtoi
(
pCell
->
m_oValue
->
ToString
().
c_str
());
int
nValue
=
_wtoi
(
pCell
->
m_oValue
->
ToString
().
c_str
());
std
::
unordered_
map
<
int
,
OOX
::
Spreadsheet
::
CSi
*>::
iterator
pFind
=
pSharedStrings
->
m_mapItems
.
find
(
nValue
);
std
::
map
<
int
,
OOX
::
Spreadsheet
::
CSi
*>::
iterator
pFind
=
pSharedStrings
->
m_mapItems
.
find
(
nValue
);
if
(
pFind
!=
pSharedStrings
->
m_mapItems
.
end
())
if
(
pFind
!=
pSharedStrings
->
m_mapItems
.
end
())
{
{
OOX
::
Spreadsheet
::
CSi
*
pSi
=
pFind
->
second
;
OOX
::
Spreadsheet
::
CSi
*
pSi
=
pFind
->
second
;
...
...
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