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
bb0e442a
Commit
bb0e442a
authored
Sep 29, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
html file new doct file
parent
5b046af5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
word/Editor/Serialize2.js
word/Editor/Serialize2.js
+6
-2
word/api.js
word/api.js
+6
-0
No files found.
word/Editor/Serialize2.js
View file @
bb0e442a
...
@@ -1221,7 +1221,7 @@ function BinaryFileWriter(doc, bMailMergeDocx, bMailMergeHtml)
...
@@ -1221,7 +1221,7 @@ function BinaryFileWriter(doc, bMailMergeDocx, bMailMergeHtml)
oUsedStyleMap
:
null
oUsedStyleMap
:
null
};
};
this
.
saveParams
=
new
DocSaveParams
(
bMailMergeDocx
,
bMailMergeHtml
);
this
.
saveParams
=
new
DocSaveParams
(
bMailMergeDocx
,
bMailMergeHtml
);
this
.
Write
=
function
(
noBase64
)
this
.
Write
=
function
(
noBase64
,
onlySaveBase64
)
{
{
pptx_content_writer
.
_Start
();
pptx_content_writer
.
_Start
();
if
(
noBase64
)
{
if
(
noBase64
)
{
...
@@ -1230,7 +1230,11 @@ function BinaryFileWriter(doc, bMailMergeDocx, bMailMergeHtml)
...
@@ -1230,7 +1230,11 @@ function BinaryFileWriter(doc, bMailMergeDocx, bMailMergeHtml)
this
.
WriteMainTable
();
this
.
WriteMainTable
();
pptx_content_writer
.
_End
();
pptx_content_writer
.
_End
();
if
(
noBase64
)
{
if
(
noBase64
)
{
return
this
.
memory
.
GetData
();
if
(
onlySaveBase64
)
{
return
this
.
memory
.
GetBase64Memory
();
}
else
{
return
this
.
memory
.
GetData
();
}
}
else
{
}
else
{
return
this
.
GetResult
();
return
this
.
GetResult
();
}
}
...
...
word/api.js
View file @
bb0e442a
...
@@ -7986,6 +7986,12 @@ background-repeat: no-repeat;\
...
@@ -7986,6 +7986,12 @@ background-repeat: no-repeat;\
var
oBinaryFileWriter
=
new
AscCommonWord
.
BinaryFileWriter
(
this
.
WordControl
.
m_oLogicDocument
);
var
oBinaryFileWriter
=
new
AscCommonWord
.
BinaryFileWriter
(
this
.
WordControl
.
m_oLogicDocument
);
return
oBinaryFileWriter
.
Write
();
return
oBinaryFileWriter
.
Write
();
};
};
window
[
"
asc_docs_api
"
].
prototype
[
"
asc_nativeGetFile2
"
]
=
function
()
{
var
oBinaryFileWriter
=
new
AscCommonWord
.
BinaryFileWriter
(
this
.
WordControl
.
m_oLogicDocument
);
return
oBinaryFileWriter
.
Write
(
false
,
true
);
};
window
[
"
asc_docs_api
"
].
prototype
[
"
asc_nativeGetFileData
"
]
=
function
()
window
[
"
asc_docs_api
"
].
prototype
[
"
asc_nativeGetFileData
"
]
=
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