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
5702208a
Commit
5702208a
authored
Sep 26, 2016
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug with filling up default styles for footnotes.
parent
e0d1a863
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
word/Editor/Styles.js
word/Editor/Styles.js
+3
-3
No files found.
word/Editor/Styles.js
View file @
5702208a
...
@@ -4217,18 +4217,18 @@ function CStyles(bCreateDefault)
...
@@ -4217,18 +4217,18 @@ function CStyles(bCreateDefault)
// Создаем стили для сносок
// Создаем стили для сносок
var
StyleFootnoteText
=
new
CStyle
(
"
footnote text
"
,
this
.
Default
.
Paragraph
,
null
,
styletype_Paragraph
);
var
StyleFootnoteText
=
new
CStyle
(
"
footnote text
"
,
this
.
Default
.
Paragraph
,
null
,
styletype_Paragraph
);
StyleFootnoteText
.
CreateFootnoteText
();
StyleFootnoteText
.
CreateFootnoteText
();
this
.
Default
.
FootnoteText
=
StyleFootnoteText
;
this
.
Default
.
FootnoteText
=
this
.
Add
(
StyleFootnoteText
)
;
var
StyleFootnoteTextChar
=
new
CStyle
(
"
Footnote Text Char
"
,
this
.
Default
.
Character
,
null
,
styletype_Character
);
var
StyleFootnoteTextChar
=
new
CStyle
(
"
Footnote Text Char
"
,
this
.
Default
.
Character
,
null
,
styletype_Character
);
StyleFootnoteTextChar
.
CreateFootnoteTextChar
();
StyleFootnoteTextChar
.
CreateFootnoteTextChar
();
this
.
Default
.
FootnoteTextChar
=
StyleFootnoteTextChar
;
this
.
Default
.
FootnoteTextChar
=
this
.
Add
(
StyleFootnoteTextChar
)
;
StyleFootnoteTextChar
.
Set_Link
(
StyleFootnoteText
.
GetId
());
StyleFootnoteTextChar
.
Set_Link
(
StyleFootnoteText
.
GetId
());
StyleFootnoteText
.
Set_Link
(
StyleFootnoteTextChar
.
GetId
());
StyleFootnoteText
.
Set_Link
(
StyleFootnoteTextChar
.
GetId
());
var
StyleFootnoteReference
=
new
CStyle
(
"
footnote reference
"
,
this
.
Default
.
Character
,
null
,
styletype_Character
);
var
StyleFootnoteReference
=
new
CStyle
(
"
footnote reference
"
,
this
.
Default
.
Character
,
null
,
styletype_Character
);
StyleFootnoteReference
.
CreateFootnoteReference
();
StyleFootnoteReference
.
CreateFootnoteReference
();
this
.
Default
.
FootnoteReference
=
StyleFootnoteReference
;
this
.
Default
.
FootnoteReference
=
this
.
Add
(
StyleFootnoteReference
)
;
// Добавляем данный класс в таблицу Id (обязательно в конце конструктора)
// Добавляем данный класс в таблицу Id (обязательно в конце конструктора)
g_oTableId
.
Add
(
this
,
this
.
Id
);
g_oTableId
.
Add
(
this
,
this
.
Id
);
...
...
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