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
dbb6f65d
Commit
dbb6f65d
authored
Feb 21, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
onlychain plugin bugs
parent
f1a25f16
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
common/GlobalLoaders.js
common/GlobalLoaders.js
+5
-0
word/Drawing/HtmlPage.js
word/Drawing/HtmlPage.js
+7
-0
word/api.js
word/api.js
+7
-2
No files found.
common/GlobalLoaders.js
View file @
dbb6f65d
...
...
@@ -184,6 +184,8 @@
// embedded_cut_fonts
this
.
embedded_cut_manager
=
new
CEmbeddedCutFontsLoader
();
this
.
IsLoadDocumentFonts2
=
false
;
this
.
put_Api
=
function
(
_api
)
{
this
.
Api
=
_api
;
...
...
@@ -276,6 +278,9 @@
this
.
LoadDocumentFonts
=
function
(
_fonts
,
is_default
)
{
if
(
this
.
IsLoadDocumentFonts2
)
return
this
.
LoadDocumentFonts2
(
_fonts
);
if
(
this
.
embedded_cut_manager
.
bIsCutFontsUse
)
return
this
.
embedded_cut_manager
.
load_cut_fonts
();
...
...
word/Drawing/HtmlPage.js
View file @
dbb6f65d
...
...
@@ -285,6 +285,8 @@ function CEditorPage(api)
}
this
.
RequestAnimationOldTime
=
-
1
;
this
.
IsInitControl
=
false
;
this
.
checkBodySize
=
function
()
{
var
off
=
jQuery
(
"
#
"
+
this
.
Name
).
offset
();
...
...
@@ -3447,6 +3449,9 @@ function CEditorPage(api)
this
.
InitControl
=
function
()
{
if
(
this
.
IsInitControl
)
return
;
this
.
CalculateDocumentSize
();
if
(
window
[
"
AscDesktopEditor
"
]
&&
this
.
m_oDrawingDocument
.
m_oDocumentRenderer
)
...
...
@@ -3494,6 +3499,8 @@ function CEditorPage(api)
}
//this.m_oDrawingDocument.CheckFontCache();
this
.
IsInitControl
=
true
;
};
this
.
OpenDocument
=
function
(
info
)
...
...
word/api.js
View file @
dbb6f65d
...
...
@@ -6911,7 +6911,9 @@ background-repeat: no-repeat;\
var
oField
=
arrFields
[
nIndex
];
oField
.
SetValue
(
arrData
[
nIndex
]
?
arrData
[
nIndex
]
:
""
);
}
oLogicDocument
.
Recalculate_FromStart
();
if
(
!
this
.
isLongAction
())
oLogicDocument
.
Recalculate_FromStart
();
};
// input
...
...
@@ -7421,11 +7423,14 @@ background-repeat: no-repeat;\
window
[
"
asc_docs_api
"
].
prototype
[
"
pluginMethod_OpenFile
"
]
=
function
(
binaryFile
,
fields
,
baseUrl
)
{
this
.
asc_CloseFile
();
var
oLogicDocument
=
this
.
WordControl
.
m_oLogicDocument
;
this
.
FontLoader
.
IsLoadDocumentFonts2
=
true
;
this
.
OpenDocument2
(
this
.
DocumentUrl
,
binaryFile
);
if
(
fields
)
this
.
asc_SetBlockChainData
(
fields
);
var
oLogicDocument
=
this
.
WordControl
.
m_oLogicDocument
;
if
(
oLogicDocument
)
{
AscCommon
.
CollaborativeEditing
.
Set_GlobalLock
(
true
);
...
...
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