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
aa643059
Commit
aa643059
authored
Jan 24, 2017
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug #33405. Changing an image wrapping style inside a footnote was forbidden.
parent
83628cc5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
word/Editor/Paragraph/ParaDrawing.js
word/Editor/Paragraph/ParaDrawing.js
+4
-6
word/Editor/Run.js
word/Editor/Run.js
+3
-3
No files found.
word/Editor/Paragraph/ParaDrawing.js
View file @
aa643059
...
@@ -343,14 +343,12 @@ ParaDrawing.prototype.Get_Props = function(OtherProps)
...
@@ -343,14 +343,12 @@ ParaDrawing.prototype.Get_Props = function(OtherProps)
Props
.
Locked
=
this
.
Lock
.
Is_Locked
();
Props
.
Locked
=
this
.
Lock
.
Is_Locked
();
var
ParentParagraph
=
this
.
Get_ParentParagraph
();
var
ParentParagraph
=
this
.
Get_ParentParagraph
();
if
(
ParentParagraph
)
if
(
ParentParagraph
&&
undefined
!==
ParentParagraph
.
Parent
)
{
{
if
(
ParentParagraph
)
var
DocContent
=
ParentParagraph
.
Parent
;
{
if
(
true
===
DocContent
.
Is_DrawingShape
()
||
(
DocContent
.
Get_TopDocumentContent
()
instanceof
CFootEndnote
))
if
(
undefined
!=
ParentParagraph
.
Parent
&&
true
===
ParentParagraph
.
Parent
.
Is_DrawingShape
())
Props
.
CanBeFlow
=
false
;
Props
.
CanBeFlow
=
false
;
}
}
}
Props
.
title
=
this
.
docPr
.
title
!==
null
?
this
.
docPr
.
title
:
undefined
;
Props
.
title
=
this
.
docPr
.
title
!==
null
?
this
.
docPr
.
title
:
undefined
;
Props
.
description
=
this
.
docPr
.
descr
!==
null
?
this
.
docPr
.
descr
:
undefined
;
Props
.
description
=
this
.
docPr
.
descr
!==
null
?
this
.
docPr
.
descr
:
undefined
;
...
...
word/Editor/Run.js
View file @
aa643059
...
@@ -5262,7 +5262,7 @@ ParaRun.prototype.Get_ParaContentPosByXY = function(SearchPos, Depth, _CurLine,
...
@@ -5262,7 +5262,7 @@ ParaRun.prototype.Get_ParaContentPosByXY = function(SearchPos, Depth, _CurLine,
return
Result
;
return
Result
;
};
};
ParaRun
.
prototype
.
Get_ParaContentPos
=
function
(
bSelection
,
bStart
,
ContentPos
)
ParaRun
.
prototype
.
Get_ParaContentPos
=
function
(
bSelection
,
bStart
,
ContentPos
,
bUseCorrection
)
{
{
var
Pos
=
(
true
!==
bSelection
?
this
.
State
.
ContentPos
:
(
false
!==
bStart
?
this
.
State
.
Selection
.
StartPos
:
this
.
State
.
Selection
.
EndPos
)
);
var
Pos
=
(
true
!==
bSelection
?
this
.
State
.
ContentPos
:
(
false
!==
bStart
?
this
.
State
.
Selection
.
StartPos
:
this
.
State
.
Selection
.
EndPos
)
);
ContentPos
.
Add
(
Pos
);
ContentPos
.
Add
(
Pos
);
...
...
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