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
407c920f
Commit
407c920f
authored
Jun 29, 2016
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
copy from shape through html(excel)
parent
bc48a1bc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
cell/model/clipboard.js
cell/model/clipboard.js
+9
-6
common/clipboard_base.js
common/clipboard_base.js
+1
-1
No files found.
cell/model/clipboard.js
View file @
407c920f
...
@@ -198,12 +198,7 @@
...
@@ -198,12 +198,7 @@
//use binary strings
//use binary strings
if
(
copyPasteUseBinary
)
if
(
copyPasteUseBinary
)
{
{
if
(
isIntoShape
)
if
(
!
isIntoShape
)
{
this
.
lStorage
=
{};
this
.
lStorage
.
htmlInShape
=
text
;
}
else
{
{
sBase64
=
this
.
getBinaryForCopy
(
worksheet
);
sBase64
=
this
.
getBinaryForCopy
(
worksheet
);
$
(
container
.
children
[
0
]).
addClass
(
sBase64
);
$
(
container
.
children
[
0
]).
addClass
(
sBase64
);
...
@@ -216,6 +211,14 @@
...
@@ -216,6 +211,14 @@
getBinaryForCopy
:
function
(
worksheet
)
getBinaryForCopy
:
function
(
worksheet
)
{
{
var
objectRender
=
worksheet
.
objectRender
;
var
isIntoShape
=
objectRender
.
controller
.
getTargetDocContent
();
if
(
isIntoShape
)
{
return
null
;
}
pptx_content_writer
.
Start_UseFullUrl
();
pptx_content_writer
.
Start_UseFullUrl
();
//TODO стоит убрать заглушку при правке бага с activeRange
//TODO стоит убрать заглушку при правке бага с activeRange
...
...
common/clipboard_base.js
View file @
407c920f
...
@@ -767,7 +767,7 @@
...
@@ -767,7 +767,7 @@
break
;
break
;
}
}
if
(
_data_format
!=
""
)
if
(
_data_format
!=
""
&&
_data
!==
null
)
{
{
if
(
_data_format
==
"
text/x-custom
"
)
if
(
_data_format
==
"
text/x-custom
"
)
this
.
ClosureParams
.
setData
(
_data_format
,
"
asc_internalData;
"
+
_data
);
this
.
ClosureParams
.
setData
(
_data_format
,
"
asc_internalData;
"
+
_data
);
...
...
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