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)
}
else
{
this.Default =
{
this.Default = {
ParaPr : new CParaPr(),
TextPr : new CTextPr(),
TablePr : new CTablePr(),
TableRowPr : new CTableRowPr(),
TableCellPr : new CTableCellPr(),
Paragraph : null,
Character : null,
Numbering : null,
......@@ -4251,7 +4251,10 @@ function CStyles(bCreateDefault)
ParaList : null,
Header : null,
Footer : null,
Hyperlink : null
Hyperlink : null,
FootnoteText : null,
FootnoteTextChar : null,
FootnoteReference : null
};
// Заполняем значения по умолчанию
......@@ -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)
{
......
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