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
bbeea429
Commit
bbeea429
authored
Apr 29, 2016
by
Sergey Luzyanin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://github.com/ONLYOFFICE/sdkjs
into develop
parents
a4585949
6f572089
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
5 deletions
+17
-5
cell/apiDefines.js
cell/apiDefines.js
+3
-1
cell/model/Workbook.js
cell/model/Workbook.js
+4
-1
cell/view/WorksheetView.js
cell/view/WorksheetView.js
+7
-0
word/Editor/GraphicObjects/GraphicObjects.js
word/Editor/GraphicObjects/GraphicObjects.js
+2
-2
word/Editor/GraphicObjects/WrapManager.js
word/Editor/GraphicObjects/WrapManager.js
+1
-1
No files found.
cell/apiDefines.js
View file @
bbeea429
...
...
@@ -38,7 +38,8 @@ function (window, undefined) {
var
CColor
=
AscCommon
.
CColor
;
var
c_oAscConfirm
=
{
ConfirmReplaceRange
:
0
ConfirmReplaceRange
:
0
,
ConfirmPutMergeRange
:
1
};
var
c_oAscAlignType
=
{
...
...
@@ -319,6 +320,7 @@ var c_oAscPopUpSelectorType = {
window
[
'
Asc
'
][
'
c_oAscConfirm
'
]
=
window
[
'
Asc
'
].
c_oAscConfirm
=
c_oAscConfirm
;
prot
=
c_oAscConfirm
;
prot
[
'
ConfirmReplaceRange
'
]
=
prot
.
ConfirmReplaceRange
;
prot
[
'
ConfirmPutMergeRange
'
]
=
prot
.
ConfirmPutMergeRange
;
window
[
'
Asc
'
][
'
c_oAscMergeOptions
'
]
=
window
[
'
Asc
'
].
c_oAscMergeOptions
=
c_oAscMergeOptions
;
prot
=
c_oAscMergeOptions
;
prot
[
'
Unmerge
'
]
=
prot
.
Unmerge
;
...
...
cell/model/Workbook.js
View file @
bbeea429
...
...
@@ -4823,7 +4823,10 @@ Woorksheet.prototype._moveRange=function(oBBoxFrom, oBBoxTo, copyRange){
sortDependency
(
this
.
workbook
);
}
this
.
autoFilters
.
unmergeTablesAfterMove
(
oBBoxTo
);
if
(
true
==
this
.
workbook
.
bUndoChanges
||
true
==
this
.
workbook
.
bRedoChanges
)
{
this
.
autoFilters
.
unmergeTablesAfterMove
(
oBBoxTo
);
}
// ToDo возможно нужно уменьшить диапазон обновления
History
.
Add
(
AscCommonExcel
.
g_oUndoRedoWorksheet
,
AscCH
.
historyitem_Worksheet_MoveRange
,
...
...
cell/view/WorksheetView.js
View file @
bbeea429
...
...
@@ -8860,6 +8860,13 @@
// Вызовем на всякий случай, т.к. мы можем уже обновиться из-за формул ToDo возможно стоит убрать это в дальнейшем (но нужна переработка формул) - http://bugzserver/show_bug.cgi?id=24505
t
.
_updateSelectionNameAndInfo
();
if
(
null
!==
t
.
model
.
getRange3
(
arnTo
.
r1
,
arnTo
.
c1
,
arnTo
.
r2
,
arnTo
.
c2
).
hasMerged
()
&&
false
!==
t
.
model
.
autoFilters
.
_intersectionRangeWithTableParts
(
arnTo
))
{
t
.
model
.
workbook
.
handlers
.
trigger
(
"
asc_onConfirmAction
"
,
Asc
.
c_oAscConfirm
.
ConfirmPutMergeRange
,
function
()
{
t
.
model
.
autoFilters
.
unmergeTablesAfterMove
(
arnTo
);
});
}
};
if
(
t
.
model
.
autoFilters
.
_searchFiltersInRange
(
arnFrom
)
)
{
...
...
word/Editor/GraphicObjects/GraphicObjects.js
View file @
bbeea429
...
...
@@ -69,7 +69,7 @@ function CBoundsRectForMath(oDrawing)
this
.
B
=
oDrawing
.
wrappingPolygon
.
bottom
-
this
.
Distance
.
B
;
break
;
}
case
WRAPPING_TYPE_TOP_AND_BOTTOM
:
case
AscCommon
.
WRAPPING_TYPE_TOP_AND_BOTTOM
:
{
var
oLimits
=
editor
.
WordControl
.
m_oLogicDocument
.
Get_PageLimits
(
oDrawing
.
PageNum
);
this
.
L
=
oLimits
.
X
;
...
...
@@ -101,7 +101,7 @@ function CBoundsRectForMath(oDrawing)
this
.
B
=
oDrawing
.
Y
+
oDrawing
.
H
;
break
;
}
case
WRAPPING_TYPE_TOP_AND_BOTTOM
:
case
AscCommon
.
WRAPPING_TYPE_TOP_AND_BOTTOM
:
{
var
oLimits
=
editor
.
WordControl
.
m_oLogicDocument
.
Get_PageLimits
(
oDrawing
.
PageNum
);
this
.
L
=
oLimits
.
X
;
...
...
word/Editor/GraphicObjects/WrapManager.js
View file @
bbeea429
...
...
@@ -288,7 +288,7 @@ CWrapPolygon.prototype =
}
break
;
}
case
WRAPPING_TYPE_TOP_AND_BOTTOM
:
case
AscCommon
.
WRAPPING_TYPE_TOP_AND_BOTTOM
:
{
if
(
this
.
right
<
LeftField
||
this
.
left
>
RightField
)
return
ret
;
...
...
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