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
ff4081a2
Commit
ff4081a2
authored
Jul 22, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reader mode & presentation copy/paste new scheme
parent
dc7312fa
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4974 additions
and
5006 deletions
+4974
-5006
slide/Drawing/DrawingDocument.js
slide/Drawing/DrawingDocument.js
+4965
-4998
word/Editor/Document.js
word/Editor/Document.js
+0
-2
word/api.js
word/api.js
+9
-6
No files found.
slide/Drawing/DrawingDocument.js
View file @
ff4081a2
This diff is collapsed.
Click to expand it.
word/Editor/Document.js
View file @
ff4081a2
...
@@ -46,8 +46,6 @@ var changestype_Paragraph_Content = AscCommon.changestype_Paragraph_Content;
...
@@ -46,8 +46,6 @@ var changestype_Paragraph_Content = AscCommon.changestype_Paragraph_Content;
var
changestype_2_Element_and_Type
=
AscCommon
.
changestype_2_Element_and_Type
;
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
changestype_2_ElementsArray_and_Type
=
AscCommon
.
changestype_2_ElementsArray_and_Type
;
var
g_oTableId
=
AscCommon
.
g_oTableId
;
var
g_oTableId
=
AscCommon
.
g_oTableId
;
var
Editor_Copy
=
AscCommon
.
Editor_Copy
;
var
Editor_Paste
=
AscCommon
.
Editor_Paste
;
var
History
=
AscCommon
.
History
;
var
History
=
AscCommon
.
History
;
var
c_oAscHAnchor
=
Asc
.
c_oAscHAnchor
;
var
c_oAscHAnchor
=
Asc
.
c_oAscHAnchor
;
...
...
word/api.js
View file @
ff4081a2
...
@@ -753,14 +753,17 @@ background-repeat: no-repeat;\
...
@@ -753,14 +753,17 @@ background-repeat: no-repeat;\
asc_docs_api
.
prototype
.
ContentToHTML
=
function
(
bIsRet
)
asc_docs_api
.
prototype
.
ContentToHTML
=
function
(
bIsRet
)
{
{
this
.
DocumentReaderMode
=
new
AscCommon
.
CDocumentReaderMode
();
this
.
DocumentReaderMode
=
new
AscCommon
.
CDocumentReaderMode
();
var
_old
=
PasteElementsId
.
copyPasteUseBinary
;
PasteElementsId
.
copyPasteUseBinary
=
false
;
this
.
WordControl
.
m_oLogicDocument
.
Select_All
();
this
.
WordControl
.
m_oLogicDocument
.
Select_All
();
AscCommon
.
Editor_Copy
(
this
);
var
text_data
=
{
data
:
""
,
pushData
:
function
(
format
,
value
)
{
this
.
data
=
value
;
}
};
this
.
asc_CheckCopy
(
text_data
,
2
);
this
.
WordControl
.
m_oLogicDocument
.
Selection_Remove
();
this
.
WordControl
.
m_oLogicDocument
.
Selection_Remove
();
PasteElementsId
.
copyPasteUseBinary
=
_old
;
this
.
DocumentReaderMode
=
null
;
return
text_data
.
data
;
return
document
.
getElementById
(
"
SelectId
"
).
innerHTML
;
};
};
asc_docs_api
.
prototype
.
InitEditor
=
function
()
asc_docs_api
.
prototype
.
InitEditor
=
function
()
...
...
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