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
58f8d13d
Commit
58f8d13d
authored
Jan 12, 2018
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d6413057
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
18 deletions
+3
-18
XlsxSerializerCom/Reader/ChartFromToBinary.cpp
XlsxSerializerCom/Reader/ChartFromToBinary.cpp
+3
-17
XlsxSerializerCom/Reader/ChartFromToBinary.h
XlsxSerializerCom/Reader/ChartFromToBinary.h
+0
-1
No files found.
XlsxSerializerCom/Reader/ChartFromToBinary.cpp
View file @
58f8d13d
...
...
@@ -894,7 +894,9 @@ namespace BinXlsxRW
else
if
(
c_oserct_chartspaceCLRMAPOVR
==
type
)
{
poVal
->
m_oClrMapOvr
=
new
PPTX
::
Logic
::
ClrMap
();
res
=
Read1
(
length
,
&
BinaryChartReader
::
ReadCT_ClrMapOvr
,
this
,
poVal
->
m_oClrMapOvr
.
GetPointer
());
poVal
->
m_oClrMapOvr
->
m_name
=
L"c:clrMapOvr"
;
poVal
->
m_oClrMapOvr
->
fromPPTY
(
&
m_oBufferedStream
);
}
else
if
(
c_oserct_chartspacePIVOTSOURCE
==
type
)
{
...
...
@@ -1029,22 +1031,6 @@ namespace BinXlsxRW
}
return
res
;
}
int
BinaryChartReader
::
ReadCT_ClrMapOvr
(
BYTE
type
,
long
length
,
void
*
poResult
)
{
int
res
=
c_oSerConstants
::
ReadOk
;
PPTX
::
Logic
::
ClrMap
*
poVal
=
static_cast
<
PPTX
::
Logic
::
ClrMap
*>
(
poResult
);
if
(
length
>
0
)
{
poVal
->
m_name
=
L"c:clrMapOvr"
;
long
nCurPos
=
m_oBufferedStream
.
GetPos
();
//BYTE typeRec1 = m_oBufferedStream.GetUChar();
poVal
->
fromPPTY
(
&
m_oBufferedStream
);
m_oBufferedStream
.
Seek
(
nCurPos
+
length
);
}
return
res
;
}
int
BinaryChartReader
::
ReadCT_RelId
(
long
length
,
CT_RelId
*
poResult
)
{
return
Read1
(
length
,
&
BinaryChartReader
::
ReadCT_RelId
,
this
,
poResult
);
...
...
XlsxSerializerCom/Reader/ChartFromToBinary.h
View file @
58f8d13d
...
...
@@ -203,7 +203,6 @@ namespace BinXlsxRW
int
ReadAlternateContentFallback
(
BYTE
type
,
long
length
,
void
*
poResult
);
int
ReadCT_SpPr
(
BYTE
type
,
long
length
,
void
*
poResult
);
int
ReadCT_TxPr
(
BYTE
type
,
long
length
,
void
*
poResult
);
int
ReadCT_ClrMapOvr
(
BYTE
type
,
long
length
,
void
*
poResult
);
};
class
BinaryChartWriter
{
...
...
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