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
ee1c459a
Commit
ee1c459a
authored
Jan 30, 2017
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented sequentially numbering of paragraphs in the footnotes.
parent
e8dd8451
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
word/Editor/DocumentContent.js
word/Editor/DocumentContent.js
+3
-0
word/Editor/Footnotes.js
word/Editor/Footnotes.js
+10
-0
No files found.
word/Editor/DocumentContent.js
View file @
ee1c459a
...
@@ -343,6 +343,9 @@ CDocumentContent.prototype.Get_Numbering = function()
...
@@ -343,6 +343,9 @@ CDocumentContent.prototype.Get_Numbering = function()
CDocumentContent
.
prototype
.
Internal_GetNumInfo
=
function
(
ParaId
,
NumPr
)
CDocumentContent
.
prototype
.
Internal_GetNumInfo
=
function
(
ParaId
,
NumPr
)
{
{
var
TopDocument
=
this
.
Get_TopDocumentContent
();
var
TopDocument
=
this
.
Get_TopDocumentContent
();
if
(
TopDocument
instanceof
CFootEndnote
)
return
TopDocument
.
Parent
.
GetNumberingInfo
(
ParaId
,
NumPr
,
TopDocument
);
return
TopDocument
.
Get_NumberingInfo
(
null
,
ParaId
,
NumPr
);
return
TopDocument
.
Get_NumberingInfo
(
null
,
ParaId
,
NumPr
);
};
};
CDocumentContent
.
prototype
.
Get_Styles
=
function
(
lvl
)
CDocumentContent
.
prototype
.
Get_Styles
=
function
(
lvl
)
...
...
word/Editor/Footnotes.js
View file @
ee1c459a
...
@@ -1053,6 +1053,16 @@ CFootnotesController.prototype.GotoPrevFootnote = function()
...
@@ -1053,6 +1053,16 @@ CFootnotesController.prototype.GotoPrevFootnote = function()
this
.
private_SetCurrentFootnoteNoSelection
(
oPrevFootnote
);
this
.
private_SetCurrentFootnoteNoSelection
(
oPrevFootnote
);
}
}
};
};
CFootnotesController
.
prototype
.
GetNumberingInfo
=
function
(
ParaId
,
NumPr
,
oFootnote
)
{
var
arrFootnotes
=
this
.
LogicDocument
.
Get_FootnotesList
(
null
,
oFootnote
);
var
oNumberingEngine
=
new
CDocumentNumberingInfoEngine
(
ParaId
,
NumPr
,
this
.
Get_Numbering
());
for
(
var
nIndex
=
0
,
nCount
=
arrFootnotes
.
length
;
nIndex
<
nCount
;
++
nIndex
)
{
arrFootnotes
[
nIndex
].
Get_NumberingInfo
(
oNumberingEngine
,
ParaId
,
NumPr
);
}
return
oNumberingEngine
.
Get_NumInfo
();
};
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Private area
// Private area
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
...
...
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