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
00ae364d
Commit
00ae364d
authored
Apr 28, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move document.js to common
parent
9c4f5e87
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17449 additions
and
17451 deletions
+17449
-17451
build/configs/webexcel.json
build/configs/webexcel.json
+1
-1
build/configs/webpowerpoint.json
build/configs/webpowerpoint.json
+1
-1
build/configs/webword.json
build/configs/webword.json
+1
-1
common/editor/document.js
common/editor/document.js
+17446
-17448
No files found.
build/configs/webexcel.json
View file @
00ae364d
...
...
@@ -25,6 +25,7 @@
"../common/Drawings/WorkEvents.js"
,
"../cell/model/History.js"
,
"../common/editor/document.js"
,
"../common/editor/documentContent.js"
,
"../common/Shapes/EditorSettings.js"
,
...
...
@@ -136,7 +137,6 @@
"../word/Editor/Sections.js"
,
"../word/Editor/Numbering.js"
,
"../word/Editor/HeaderFooter.js"
,
"../word/Editor/Document.js"
,
"../word/Editor/Table.js"
,
"../word/Editor/Table/TableRecalculate.js"
,
"../word/Editor/Table/TableDraw.js"
,
...
...
build/configs/webpowerpoint.json
View file @
00ae364d
...
...
@@ -25,6 +25,7 @@
"../common/Drawings/WorkEvents.js"
,
"../word/Editor/History.js"
,
"../common/editor/document.js"
,
"../common/editor/documentContent.js"
,
"../common/Shapes/EditorSettings.js"
,
...
...
@@ -137,7 +138,6 @@
"../word/Editor/FlowObjects.js"
,
"../word/Editor/Paragraph.js"
,
"../word/Editor/Paragraph_Recalculate.js"
,
"../word/Editor/Document.js"
,
"../word/Editor/HeaderFooter.js"
,
"../word/Editor/Math.js"
,
"../word/Editor/Spelling.js"
,
...
...
build/configs/webword.json
View file @
00ae364d
...
...
@@ -28,6 +28,7 @@
"../common/Drawings/WorkEvents.js"
,
"../word/Editor/History.js"
,
"../common/editor/document.js"
,
"../common/editor/documentContent.js"
,
"../common/Shapes/EditorSettings.js"
,
...
...
@@ -110,7 +111,6 @@
"../word/Editor/Sections.js"
,
"../word/Editor/Numbering.js"
,
"../word/Editor/HeaderFooter.js"
,
"../word/Editor/Document.js"
,
"../word/Editor/Common.js"
,
"../word/Editor/Table.js"
,
"../word/Editor/Table/TableRecalculate.js"
,
...
...
word/Editor/D
ocument.js
→
common/editor/d
ocument.js
View file @
00ae364d
...
...
@@ -38,8 +38,6 @@ var changestype_Paragraph_Content = AscCommon.changestype_Paragraph_Content;
var
changestype_2_Element_and_Type
=
AscCommon
.
changestype_2_Element_and_Type
;
var
changestype_2_ElementsArray_and_Type
=
AscCommon
.
changestype_2_ElementsArray_and_Type
;
var
g_oTableId
=
AscCommon
.
g_oTableId
;
var
Editor_Copy
=
AscCommon
.
Editor_Copy
;
var
Editor_Paste
=
AscCommon
.
Editor_Paste
;
var
History
=
AscCommon
.
History
;
var
c_oAscHAnchor
=
Asc
.
c_oAscHAnchor
;
...
...
@@ -10904,7 +10902,7 @@ CDocument.prototype =
{
if
(
true
===
e
.
CtrlKey
)
// Ctrl + Insert (аналогично Ctrl + C)
{
Editor_Copy
(
this
.
Api
);
AscCommon
.
Editor_Copy
(
this
.
Api
);
bRetValue
=
keydownresult_PreventKeyPress
;
}
else
if
(
true
===
e
.
ShiftKey
&&
false
===
editor
.
isViewMode
)
// Shift + Insert (аналогично Ctrl + V)
...
...
@@ -10919,7 +10917,7 @@ CDocument.prototype =
window
.
GlobalPasteFlag
=
true
;
editor
.
incrementCounterLongAction
();
Editor_Paste
(
this
.
DrawingDocument
.
m_oWordControl
.
m_oApi
,
true
);
AscCommon
.
Editor_Paste
(
this
.
DrawingDocument
.
m_oWordControl
.
m_oApi
,
true
);
bRetValue
=
keydownresult_PreventKeyPress
;
}
else
...
...
@@ -10931,7 +10929,7 @@ CDocument.prototype =
AscCommon
.
SafariIntervalFocus
();
window
.
GlobalPasteFlag
=
true
;
editor
.
incrementCounterLongAction
();
Editor_Paste
(
this
.
DrawingDocument
.
m_oWordControl
.
m_oApi
,
true
);
AscCommon
.
Editor_Paste
(
this
.
DrawingDocument
.
m_oWordControl
.
m_oApi
,
true
);
bRetValue
=
keydownresult_PreventKeyPress
;
}
}
...
...
@@ -10954,7 +10952,7 @@ CDocument.prototype =
{
if
(
false
===
this
.
Document_Is_SelectionLocked
(
changestype_Paragraph_Content
)
)
{
Editor_Copy
(
this
.
Api
,
true
);
AscCommon
.
Editor_Copy
(
this
.
Api
,
true
);
}
bRetValue
=
keydownresult_PreventKeyPress
;
}
...
...
@@ -11032,7 +11030,7 @@ CDocument.prototype =
}
else
// Ctrl + C - copy
{
Editor_Copy
(
this
.
Api
);
AscCommon
.
Editor_Copy
(
this
.
Api
);
bRetValue
=
keydownresult_PreventKeyPress
;
}
}
...
...
@@ -11173,7 +11171,7 @@ CDocument.prototype =
window
.
GlobalPasteFlag
=
true
;
editor
.
incrementCounterLongAction
();
Editor_Paste
(
this
.
DrawingDocument
.
m_oWordControl
.
m_oApi
,
true
);
AscCommon
.
Editor_Paste
(
this
.
DrawingDocument
.
m_oWordControl
.
m_oApi
,
true
);
bRetValue
=
keydownresult_PreventKeyPress
;
}
else
...
...
@@ -11185,7 +11183,7 @@ CDocument.prototype =
AscCommon
.
SafariIntervalFocus
();
window
.
GlobalPasteFlag
=
true
;
editor
.
incrementCounterLongAction
();
Editor_Paste
(
this
.
DrawingDocument
.
m_oWordControl
.
m_oApi
,
true
);
AscCommon
.
Editor_Paste
(
this
.
DrawingDocument
.
m_oWordControl
.
m_oApi
,
true
);
bRetValue
=
keydownresult_PreventKeyPress
;
}
}
...
...
@@ -11202,7 +11200,7 @@ CDocument.prototype =
{
if
(
false
===
this
.
Document_Is_SelectionLocked
(
changestype_Paragraph_Content
)
)
{
Editor_Copy
(
this
.
Api
,
true
);
AscCommon
.
Editor_Copy
(
this
.
Api
,
true
);
}
bRetValue
=
keydownresult_PreventKeyPress
;
}
...
...
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