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
79aab551
Commit
79aab551
authored
Jun 21, 2017
by
SergeyLuzyanin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 35166
parent
ade2026b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
17 deletions
+26
-17
word/Editor/Paragraph.js
word/Editor/Paragraph.js
+26
-17
No files found.
word/Editor/Paragraph.js
View file @
79aab551
...
@@ -2733,27 +2733,36 @@ Paragraph.prototype.Remove = function(nCount, bOnlyText, bRemoveOnlySelection, b
...
@@ -2733,27 +2733,36 @@ Paragraph.prototype.Remove = function(nCount, bOnlyText, bRemoveOnlySelection, b
{
{
this
.
Remove_PresentationNumbering
();
this
.
Remove_PresentationNumbering
();
}
}
else
if
(
align_Right
===
Pr
.
Jc
)
else
if
(
this
.
bFromDocument
)
{
{
this
.
Set_Align
(
align_Center
);
if
(
align_Right
===
Pr
.
Jc
)
}
{
else
if
(
align_Center
===
Pr
.
Jc
)
this
.
Set_Align
(
align_Center
);
{
}
this
.
Set_Align
(
align_Left
);
else
if
(
align_Center
===
Pr
.
Jc
)
}
{
else
if
(
Math
.
abs
(
Pr
.
Ind
.
FirstLine
)
>
0.001
)
this
.
Set_Align
(
align_Left
);
{
}
if
(
Pr
.
Ind
.
FirstLine
>
0
)
else
if
(
Math
.
abs
(
Pr
.
Ind
.
FirstLine
)
>
0.001
)
this
.
Set_Ind
({
FirstLine
:
0
},
false
);
{
else
if
(
Pr
.
Ind
.
FirstLine
>
0
)
this
.
Set_Ind
({
Left
:
Pr
.
Ind
.
Left
+
Pr
.
Ind
.
FirstLine
,
FirstLine
:
0
},
false
);
this
.
Set_Ind
({
FirstLine
:
0
},
false
);
else
this
.
Set_Ind
({
Left
:
Pr
.
Ind
.
Left
+
Pr
.
Ind
.
FirstLine
,
FirstLine
:
0
},
false
);
}
else
if
(
Math
.
abs
(
Pr
.
Ind
.
Left
)
>
0.001
)
{
this
.
Set_Ind
({
Left
:
0
},
false
);
}
else
{
Result
=
false
;
}
}
}
else
if
(
Math
.
abs
(
Pr
.
Ind
.
Left
)
>
0.001
)
else
{
{
this
.
Set_Ind
({
Left
:
0
},
false
)
;
Result
=
false
;
}
}
else
Result
=
false
;
}
}
}
}
...
...
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