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
Hide 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
...
@@ -4233,36 +4233,39 @@ function CStyles(bCreateDefault)
...
@@ -4233,36 +4233,39 @@ function CStyles(bCreateDefault)
// Добавляем данный класс в таблицу Id (обязательно в конце конструктора)
// Добавляем данный класс в таблицу Id (обязательно в конце конструктора)
g_oTableId
.
Add
(
this
,
this
.
Id
);
g_oTableId
.
Add
(
this
,
this
.
Id
);
}
}
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
,
Character
:
null
,
Numbering
:
null
,
Table
:
null
,
TableGrid
:
null
,
Headings
:
[],
ParaList
:
null
,
Header
:
null
,
Footer
:
null
,
Hyperlink
:
null
};
// Заполняем значения по умолчанию
Paragraph
:
null
,
this
.
Default
.
ParaPr
.
Init_Default
();
Character
:
null
,
this
.
Default
.
TextPr
.
Init_Default
();
Numbering
:
null
,
this
.
Default
.
TablePr
.
Init_Default
();
Table
:
null
,
this
.
Default
.
TableRowPr
.
Init_Default
();
TableGrid
:
null
,
this
.
Default
.
TableCellPr
.
Init_Default
();
Headings
:
[],
ParaList
:
null
,
Header
:
null
,
Footer
:
null
,
Hyperlink
:
null
,
FootnoteText
:
null
,
FootnoteTextChar
:
null
,
FootnoteReference
:
null
};
this
.
Style
=
[];
// Заполняем значения по умолчанию
}
this
.
Default
.
ParaPr
.
Init_Default
();
this
.
Default
.
TextPr
.
Init_Default
();
this
.
Default
.
TablePr
.
Init_Default
();
this
.
Default
.
TableRowPr
.
Init_Default
();
this
.
Default
.
TableCellPr
.
Init_Default
();
this
.
Style
=
[];
}
this
.
LogicDocument
=
null
;
this
.
LogicDocument
=
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