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
1c64568d
Commit
1c64568d
authored
Nov 10, 2016
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes for class CSection were replaces with a new classes.
parent
906a46a0
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1161 additions
and
1300 deletions
+1161
-1300
build/configs/nativeword.json
build/configs/nativeword.json
+1
-0
build/configs/webexcel.json
build/configs/webexcel.json
+1
-0
build/configs/webpowerpoint.json
build/configs/webpowerpoint.json
+1
-0
build/configs/webword.json
build/configs/webword.json
+1
-0
common/HistoryCommon.js
common/HistoryCommon.js
+57
-3
word/Editor/Sections.js
word/Editor/Sections.js
+341
-1297
word/Editor/SectionsChanges.js
word/Editor/SectionsChanges.js
+759
-0
No files found.
build/configs/nativeword.json
View file @
1c64568d
...
...
@@ -101,6 +101,7 @@
"../word/Editor/ParagraphChanges.js"
,
"../word/Editor/Paragraph_Recalculate.js"
,
"../word/Editor/Sections.js"
,
"../word/Editor/SectionsChanges.js"
,
"../word/Editor/Numbering.js"
,
"../word/Editor/NumberingChanges.js"
,
"../word/Editor/HeaderFooter.js"
,
...
...
build/configs/webexcel.json
View file @
1c64568d
...
...
@@ -150,6 +150,7 @@
"../word/Editor/ParagraphChanges.js"
,
"../word/Editor/Paragraph_Recalculate.js"
,
"../word/Editor/Sections.js"
,
"../word/Editor/SectionsChanges.js"
,
"../word/Editor/Numbering.js"
,
"../word/Editor/NumberingChanges.js"
,
"../word/Editor/HeaderFooter.js"
,
...
...
build/configs/webpowerpoint.json
View file @
1c64568d
...
...
@@ -111,6 +111,7 @@
"../word/Editor/Table/TableCellChanges.js"
,
"../word/Editor/Common.js"
,
"../word/Editor/Sections.js"
,
"../word/Editor/SectionsChanges.js"
,
"../word/Drawing/Graphics.js"
,
"../word/Drawing/ShapeDrawer.js"
,
...
...
build/configs/webword.json
View file @
1c64568d
...
...
@@ -123,6 +123,7 @@
"../word/Editor/ParagraphChanges.js"
,
"../word/Editor/Paragraph_Recalculate.js"
,
"../word/Editor/Sections.js"
,
"../word/Editor/SectionsChanges.js"
,
"../word/Editor/Numbering.js"
,
"../word/Editor/NumberingChanges.js"
,
"../word/Editor/HeaderFooter.js"
,
...
...
common/HistoryCommon.js
View file @
1c64568d
...
...
@@ -3349,7 +3349,7 @@
};
window
[
'
AscDFH
'
].
CChangesBaseLongValue
=
CChangesBaseLongValue
;
/**
* Базовый класс для изменения
числовых(long)
значений.
* Базовый класс для изменения
булевых
значений.
* @constructor
* @extends {AscDFH.CChangesBaseProperty}
*/
...
...
@@ -3413,8 +3413,62 @@
// String : New
// String : Old
this
.
New
=
Reader
.
Write
String2
();
this
.
Old
=
Reader
.
Write
String2
();
this
.
New
=
Reader
.
Get
String2
();
this
.
Old
=
Reader
.
Get
String2
();
};
window
[
'
AscDFH
'
].
CChangesBaseStringValue
=
CChangesBaseStringValue
;
/**
* Базовый класс для изменения числовых(byte) значений.
* @constructor
* @extends {AscDFH.CChangesBaseProperty}
*/
function
CChangesBaseByteValue
(
Class
,
Old
,
New
,
Color
)
{
CChangesBaseByteValue
.
superclass
.
constructor
.
call
(
this
,
Class
,
Old
,
New
,
Color
);
}
AscCommon
.
extendClass
(
CChangesBaseByteValue
,
CChangesBaseProperty
);
CChangesBaseByteValue
.
prototype
.
WriteToBinary
=
function
(
Writer
)
{
// Byte : New
// Byte : Old
Writer
.
WriteByte
(
this
.
New
);
Writer
.
WriteByte
(
this
.
Old
);
};
CChangesBaseByteValue
.
prototype
.
ReadFromBinary
=
function
(
Reader
)
{
// Byte : New
// Byte : Old
this
.
New
=
Reader
.
GetByte
();
this
.
Old
=
Reader
.
GetByte
();
};
window
[
'
AscDFH
'
].
CChangesBaseByteValue
=
CChangesBaseByteValue
;
/**
* Базовый класс для изменения числовых(double) значений.
* @constructor
* @extends {AscDFH.CChangesBaseProperty}
*/
function
CChangesBaseDoubleValue
(
Class
,
Old
,
New
,
Color
)
{
CChangesBaseDoubleValue
.
superclass
.
constructor
.
call
(
this
,
Class
,
Old
,
New
,
Color
);
}
AscCommon
.
extendClass
(
CChangesBaseDoubleValue
,
CChangesBaseProperty
);
CChangesBaseDoubleValue
.
prototype
.
WriteToBinary
=
function
(
Writer
)
{
// Double : New
// Double : Old
Writer
.
WriteDouble
(
this
.
New
);
Writer
.
WriteDouble
(
this
.
Old
);
};
CChangesBaseDoubleValue
.
prototype
.
ReadFromBinary
=
function
(
Reader
)
{
// Double : New
// Double : Old
this
.
New
=
Reader
.
GetDouble
();
this
.
Old
=
Reader
.
GetDouble
();
};
window
[
'
AscDFH
'
].
CChangesBaseDoubleValue
=
CChangesBaseDoubleValue
;
})(
window
);
word/Editor/Sections.js
View file @
1c64568d
This diff is collapsed.
Click to expand it.
word/Editor/SectionsChanges.js
0 → 100644
View file @
1c64568d
This diff is collapsed.
Click to expand it.
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