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
72e1c7fa
Commit
72e1c7fa
authored
Sep 23, 2016
by
Ilya Kirillov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added functions for getting new default styles for footnotes.
parent
1b921a09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
28 deletions
+43
-28
word/Editor/Styles.js
word/Editor/Styles.js
+43
-28
No files found.
word/Editor/Styles.js
View file @
72e1c7fa
...
@@ -4235,13 +4235,13 @@ function CStyles(bCreateDefault)
...
@@ -4235,13 +4235,13 @@ function CStyles(bCreateDefault)
}
}
else
else
{
{
this
.
Default
=
this
.
Default
=
{
{
ParaPr
:
new
CParaPr
(),
ParaPr
:
new
CParaPr
(),
TextPr
:
new
CTextPr
(),
TextPr
:
new
CTextPr
(),
TablePr
:
new
CTablePr
(),
TablePr
:
new
CTablePr
(),
TableRowPr
:
new
CTableRowPr
(),
TableRowPr
:
new
CTableRowPr
(),
TableCellPr
:
new
CTableCellPr
(),
TableCellPr
:
new
CTableCellPr
(),
Paragraph
:
null
,
Paragraph
:
null
,
Character
:
null
,
Character
:
null
,
Numbering
:
null
,
Numbering
:
null
,
...
@@ -4251,7 +4251,10 @@ function CStyles(bCreateDefault)
...
@@ -4251,7 +4251,10 @@ function CStyles(bCreateDefault)
ParaList
:
null
,
ParaList
:
null
,
Header
:
null
,
Header
:
null
,
Footer
:
null
,
Footer
:
null
,
Hyperlink
:
null
Hyperlink
:
null
,
FootnoteText
:
null
,
FootnoteTextChar
:
null
,
FootnoteReference
:
null
};
};
// Заполняем значения по умолчанию
// Заполняем значения по умолчанию
...
@@ -5191,6 +5194,18 @@ CStyles.prototype =
...
@@ -5191,6 +5194,18 @@ CStyles.prototype =
}
}
}
}
};
};
CStyles
.
prototype
.
GetDefaultFootnoteText
=
function
()
{
return
this
.
Default
.
FootnoteText
;
};
CStyles
.
prototype
.
GetDefaultFootnoteTextChar
=
function
()
{
return
this
.
Default
.
FootnoteTextChar
;
};
CStyles
.
prototype
.
GetDefaultFootnoteReference
=
function
()
{
return
this
.
Default
.
FootnoteReference
;
};
function
CDocumentColor
(
r
,
g
,
b
,
Auto
)
function
CDocumentColor
(
r
,
g
,
b
,
Auto
)
{
{
...
...
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