Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
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
sdkjs
Commits
dd61d3ee
Commit
dd61d3ee
authored
Oct 20, 2016
by
konovalovsergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freeze pane m_oState revert to string
parent
3a44f872
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
cell/apiDefines.js
cell/apiDefines.js
+3
-3
cell/model/Serialize.js
cell/model/Serialize.js
+4
-5
No files found.
cell/apiDefines.js
View file @
dd61d3ee
...
...
@@ -268,9 +268,9 @@ var c_oAscCanChangeColWidth = {
};
var
c_oAscPaneState
=
{
Frozen
:
0
,
FrozenSplit
:
1
,
Split
:
2
Frozen
:
"
frozen
"
,
FrozenSplit
:
"
frozenSplit
"
,
Split
:
"
split
"
};
var
c_oAscFindLookIn
=
{
...
...
cell/model/Serialize.js
View file @
dd61d3ee
...
...
@@ -630,11 +630,10 @@
/** @enum */
var
c_oSer_Pane
=
{
ActivePane
:
0
,
//
State : 1,
State
:
1
,
TopLeftCell
:
2
,
XSplit
:
3
,
YSplit
:
4
,
State
:
5
YSplit
:
4
};
/** @enum */
var
c_oSer_Selection
=
{
...
...
@@ -2653,7 +2652,7 @@
var
oThis
=
this
;
//this.bs.WriteItem(c_oSer_Pane.ActivePane, function(){oThis.memory.WriteByte();});
// Всегда пишем Frozen
this
.
bs
.
WriteItem
(
c_oSer_Pane
.
State
,
function
(){
oThis
.
memory
.
Write
Byte
(
AscCommonExcel
.
c_oAscPaneState
.
Frozen
);});
this
.
bs
.
WriteItem
(
c_oSer_Pane
.
State
,
function
(){
oThis
.
memory
.
Write
String3
(
AscCommonExcel
.
c_oAscPaneState
.
Frozen
);});
this
.
bs
.
WriteItem
(
c_oSer_Pane
.
TopLeftCell
,
function
(){
oThis
.
memory
.
WriteString3
(
oPane
.
topLeftFrozenCell
.
getID
());});
var
col
=
oPane
.
topLeftFrozenCell
.
getCol0
();
...
...
@@ -6589,7 +6588,7 @@
if
(
c_oSer_Pane
.
ActivePane
===
type
)
this
.
stream
.
GetUChar
();
else
if
(
c_oSer_Pane
.
State
===
type
)
oPane
.
state
=
this
.
stream
.
Get
UChar
(
);
oPane
.
state
=
this
.
stream
.
Get
String2LE
(
length
);
else
if
(
c_oSer_Pane
.
TopLeftCell
===
type
)
oPane
.
topLeftCell
=
this
.
stream
.
GetString2LE
(
length
);
else
if
(
c_oSer_Pane
.
XSplit
===
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