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
d4fe4cad
Commit
d4fe4cad
authored
Mar 25, 2016
by
Ilya Kirillov
Committed by
Alexander.Trofimov
May 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #32026 Исправлен баг с расчетом висячих строк с учетом колонок.
parent
2d9a943d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
word/Editor/Document.js
word/Editor/Document.js
+3
-0
word/Editor/Paragraph_Recalculate.js
word/Editor/Paragraph_Recalculate.js
+1
-1
No files found.
word/Editor/Document.js
View file @
d4fe4cad
...
@@ -1976,6 +1976,9 @@ CDocument.prototype =
...
@@ -1976,6 +1976,9 @@ CDocument.prototype =
var
StartIndex
=
this
.
FullRecalc
.
StartIndex
;
var
StartIndex
=
this
.
FullRecalc
.
StartIndex
;
var
bResetStartElement
=
this
.
FullRecalc
.
ResetStartElement
;
var
bResetStartElement
=
this
.
FullRecalc
.
ResetStartElement
;
//console.log("Page " + PageIndex + " Section " + SectionIndex + " Column " + ColumnIndex + " Element " + StartIndex);
//console.log(this.RecalcInfo);
var
StartPos
=
this
.
Get_PageContentStartPos2
(
PageIndex
,
ColumnIndex
,
0
,
StartIndex
);
var
StartPos
=
this
.
Get_PageContentStartPos2
(
PageIndex
,
ColumnIndex
,
0
,
StartIndex
);
var
X
=
StartPos
.
X
;
var
X
=
StartPos
.
X
;
...
...
word/Editor/Paragraph_Recalculate.js
View file @
d4fe4cad
...
@@ -1299,7 +1299,7 @@ Paragraph.prototype.private_RecalculateLineBottomBound = function(CurLine, CurPa
...
@@ -1299,7 +1299,7 @@ Paragraph.prototype.private_RecalculateLineBottomBound = function(CurLine, CurPa
&&
true
===
ParaPr
.
WidowControl
&&
true
===
ParaPr
.
WidowControl
&&
CurLine
-
this
.
Pages
[
CurPage
].
StartLine
<=
1
&&
CurLine
-
this
.
Pages
[
CurPage
].
StartLine
<=
1
&&
CurLine
>=
1
&&
true
!=
PRS
.
BreakPageLine
&&
CurLine
>=
1
&&
true
!=
PRS
.
BreakPageLine
&&
(
0
===
Real
CurPage
&&
null
!=
this
.
Get_DocumentPrev
()
)
)
&&
(
0
===
CurPage
&&
null
!=
this
.
Get_DocumentPrev
()
)
)
{
{
// Вызываем данную функцию для удаления картинок с предыдущей страницы
// Вызываем данную функцию для удаления картинок с предыдущей страницы
this
.
Recalculate_Drawing_AddPageBreak
(
0
,
0
,
true
);
this
.
Recalculate_Drawing_AddPageBreak
(
0
,
0
,
true
);
...
...
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