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
7529150d
Commit
7529150d
authored
7 years ago
by
konovalovsergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 36007
parent
f65737a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
2 deletions
+28
-2
word/api.js
word/api.js
+28
-2
No files found.
word/api.js
View file @
7529150d
...
...
@@ -245,6 +245,10 @@
{
this
[
"
recordTo
"
]
=
obj
.
recordTo
;
}
if
(
typeof
obj
.
isJson
!=
'
undefined
'
)
{
this
[
"
isJson
"
]
=
obj
.
isJson
;
}
}
else
{
...
...
@@ -258,6 +262,7 @@
this
[
"
recordTo
"
]
=
null
;
this
[
"
recordCount
"
]
=
null
;
this
[
"
userId
"
]
=
null
;
this
[
"
isJson
"
]
=
null
;
}
}
...
...
@@ -341,6 +346,14 @@
{
this
[
"
userId
"
]
=
v
;
};
CMailMergeSendData
.
prototype
.
get_IsJson
=
function
()
{
return
this
[
"
isJson
"
]
};
CMailMergeSendData
.
prototype
.
put_IsJson
=
function
(
v
)
{
this
[
"
isJson
"
]
=
v
;
};
function
CAscFootnotePr
(
obj
)
{
...
...
@@ -6878,6 +6891,7 @@ background-repeat: no-repeat;\
// Меняем тип состояния (на сохранение)
this
.
advancedOptionsAction
=
c_oAscAdvancedOptionsAction
.
Save
;
var
isNoBase64
=
typeof
ArrayBuffer
!==
'
undefined
'
;
var
_fCallbackRequest
=
fCallbackRequest
;
var
dataContainer
=
{
data
:
null
,
part
:
null
,
index
:
0
,
count
:
0
};
var
oAdditionalData
=
{};
...
...
@@ -6987,7 +7001,19 @@ background-repeat: no-repeat;\
aRowOut
.
push
(
oRow
[
j
]);
aJsonOut
.
push
(
aRowOut
);
}
dataContainer
.
data
=
dataContainer
.
data
.
length
+
'
;
'
+
dataContainer
.
data
+
JSON
.
stringify
(
aJsonOut
);
var
editorData
=
dataContainer
.
data
;
dataContainer
.
data
=
JSON
.
stringify
(
aJsonOut
);
options
.
oMailMergeSendData
.
put_IsJson
(
true
);
//save Editor.bin after json
_fCallbackRequest
=
function
(
incomeObject
){
oAdditionalData
[
"
savekey
"
]
=
incomeObject
[
"
data
"
];
dataContainer
=
{
data
:
editorData
,
part
:
null
,
index
:
0
,
count
:
0
};
options
.
oMailMergeSendData
.
put_IsJson
(
false
);
AscCommon
.
saveWithParts
(
function
(
fCallback1
,
oAdditionalData1
,
dataContainer1
)
{
sendCommand
(
t
,
fCallback1
,
oAdditionalData1
,
dataContainer1
);
},
fCallback
,
fCallbackRequest
,
oAdditionalData
,
dataContainer
);
}
}
var
fCallback
=
null
;
if
(
!
options
.
isNoCallback
)
...
...
@@ -7037,7 +7063,7 @@ background-repeat: no-repeat;\
AscCommon
.
saveWithParts
(
function
(
fCallback1
,
oAdditionalData1
,
dataContainer1
)
{
sendCommand
(
t
,
fCallback1
,
oAdditionalData1
,
dataContainer1
);
},
fCallback
,
fCallbackRequest
,
oAdditionalData
,
dataContainer
);
},
fCallback
,
_
fCallbackRequest
,
oAdditionalData
,
dataContainer
);
}
// Вставка диаграмм
...
...
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