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
bf6764dc
Commit
bf6764dc
authored
Mar 23, 2017
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug #34490
parent
67b2b204
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
word/Editor/Document.js
word/Editor/Document.js
+4
-0
word/Editor/Paragraph.js
word/Editor/Paragraph.js
+1
-0
word/api.js
word/api.js
+1
-1
No files found.
word/Editor/Document.js
View file @
bf6764dc
...
@@ -11380,6 +11380,10 @@ CDocument.prototype.GetFootnotePr = function()
...
@@ -11380,6 +11380,10 @@ CDocument.prototype.GetFootnotePr = function()
oFootnotePr
.
put_NumFormat
(
oSectPr
.
GetFootnoteNumFormat
());
oFootnotePr
.
put_NumFormat
(
oSectPr
.
GetFootnoteNumFormat
());
return
oFootnotePr
;
return
oFootnotePr
;
};
};
CDocument
.
prototype
.
IsCursorInFootnote
=
function
()
{
return
(
docpostype_Footnotes
===
this
.
Get_DocPosType
()
?
true
:
false
);
};
CDocument
.
prototype
.
TurnOffCheckChartSelection
=
function
(){
CDocument
.
prototype
.
TurnOffCheckChartSelection
=
function
(){
...
...
word/Editor/Paragraph.js
View file @
bf6764dc
...
@@ -607,6 +607,7 @@ Paragraph.prototype =
...
@@ -607,6 +607,7 @@ Paragraph.prototype =
// Кроме случая, когда параграф меняет свое местоположение на страницах и колонках
// Кроме случая, когда параграф меняет свое местоположение на страницах и колонках
if
(
true
===
this
.
Parent
.
RecalcInfo
.
Can_RecalcObject
()
||
ColumnNumOld
!==
this
.
ColumnNum
||
PageNumOld
!==
this
.
PageNum
)
if
(
true
===
this
.
Parent
.
RecalcInfo
.
Can_RecalcObject
()
||
ColumnNumOld
!==
this
.
ColumnNum
||
PageNumOld
!==
this
.
PageNum
)
{
{
// Эти значения нужны для правильного рассчета положения картинок, смотри баг #34392
var
Ranges
=
this
.
Parent
.
CheckRange
(
X
,
Y
,
XLimit
,
Y
,
Y
,
Y
,
X
,
XLimit
,
this
.
PageNum
,
true
);
var
Ranges
=
this
.
Parent
.
CheckRange
(
X
,
Y
,
XLimit
,
Y
,
Y
,
Y
,
X
,
XLimit
,
this
.
PageNum
,
true
);
if
(
Ranges
.
length
>
0
)
if
(
Ranges
.
length
>
0
)
{
{
...
...
word/api.js
View file @
bf6764dc
...
@@ -3584,7 +3584,7 @@ background-repeat: no-repeat;\
...
@@ -3584,7 +3584,7 @@ background-repeat: no-repeat;\
asc_docs_api
.
prototype
.
asc_IsCursorInFootnote
=
function
()
asc_docs_api
.
prototype
.
asc_IsCursorInFootnote
=
function
()
{
{
var
oLogicDocument
=
this
.
WordControl
.
m_oLogicDocument
;
var
oLogicDocument
=
this
.
WordControl
.
m_oLogicDocument
;
if
(
oLogicDocument
&&
docpostype_Footnotes
===
oLogicDocument
.
Get_DocPosTyp
e
())
if
(
oLogicDocument
&&
true
===
oLogicDocument
.
IsCursorInFootnot
e
())
return
true
;
return
true
;
return
false
;
return
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