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
9de7b943
Commit
9de7b943
authored
Oct 20, 2016
by
konovalovsergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freeze pane m_oState revert to string in binary
parent
a476bdbb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
XlsxSerializerCom/Common/BinReaderWriterDefines.h
XlsxSerializerCom/Common/BinReaderWriterDefines.h
+2
-3
XlsxSerializerCom/Reader/BinaryWriter.h
XlsxSerializerCom/Reader/BinaryWriter.h
+1
-1
XlsxSerializerCom/Writer/BinaryReader.h
XlsxSerializerCom/Writer/BinaryReader.h
+1
-1
No files found.
XlsxSerializerCom/Common/BinReaderWriterDefines.h
View file @
9de7b943
...
...
@@ -731,11 +731,10 @@ namespace BinXlsxRW
namespace
c_oSer_Pane
{
enum
c_oSer_Pane
{
ActivePane
=
0
,
//
State = 1,
State
=
1
,
TopLeftCell
=
2
,
XSplit
=
3
,
YSplit
=
4
,
State
=
5
YSplit
=
4
};}
namespace
c_oSer_Selection
{
enum
c_oSer_Selection
{
...
...
XlsxSerializerCom/Reader/BinaryWriter.h
View file @
9de7b943
...
...
@@ -2075,7 +2075,7 @@ namespace BinXlsxRW {
if
(
oPane
.
m_oState
.
IsInit
())
{
nCurPos
=
m_oBcw
.
WriteItemStart
(
c_oSer_Pane
::
State
);
m_oBcw
.
m_oStream
.
Write
BYTE
(
oPane
.
m_oState
->
GetValue
());
m_oBcw
.
m_oStream
.
Write
StringW4
(
oPane
.
m_oState
->
ToString
());
m_oBcw
.
WriteItemEnd
(
nCurPos
);
}
//TopLeftCell
...
...
XlsxSerializerCom/Writer/BinaryReader.h
View file @
9de7b943
...
...
@@ -2295,7 +2295,7 @@ namespace BinXlsxRW {
else
if
(
c_oSer_Pane
::
State
==
type
)
{
pPane
->
m_oState
.
Init
();
pPane
->
m_oState
->
SetValue
((
SimpleTypes
::
Spreadsheet
::
EPaneState
)
m_oBufferedStream
.
GetUChar
(
));
pPane
->
m_oState
->
FromString
(
m_oBufferedStream
.
GetString4
(
length
));
}
else
if
(
c_oSer_Pane
::
TopLeftCell
==
type
)
{
...
...
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