Commit 72e1c7fa authored by Ilya Kirillov's avatar Ilya Kirillov

Added functions for getting new default styles for footnotes.

parent 1b921a09
...@@ -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)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment