Commit ae700716 authored by Ilya Kirillov's avatar Ilya Kirillov

Some of the constants that related to footnotes were moved to ApiDefines.js...

Some of the constants that related to footnotes were moved to ApiDefines.js file and also were added to export.
parent 1b2ac0a4
......@@ -53,15 +53,6 @@ var section_borders_OffsetFromText = 0x01;
var section_borders_ZOrderBack = 0x00;
var section_borders_ZOrderFront = 0x01;
var section_footnote_RestartContinuous = 0x00;
var section_footnote_RestartEachSect = 0x01;
var section_footnote_RestartEachPage = 0x02;
var section_footnote_PosBeneathText = 0x00;
var section_footnote_PosDocEnd = 0x01;
var section_footnote_PosPageBottom = 0x02;
var section_footnote_PosSectEnd = 0x03;
function CSectionPr(LogicDocument)
{
this.Id = AscCommon.g_oIdCounter.Get_NewId();
......
......@@ -182,6 +182,28 @@ var c_oSerFormat = {
Signature : "DOCY"
};
var section_footnote_RestartContinuous = 0x00;
var section_footnote_RestartEachSect = 0x01;
var section_footnote_RestartEachPage = 0x02;
var section_footnote_PosBeneathText = 0x00;
var section_footnote_PosDocEnd = 0x01;
var section_footnote_PosPageBottom = 0x02;
var section_footnote_PosSectEnd = 0x03;
var c_oAscFootnotePos = {
BeneathText : section_footnote_PosBeneathText,
DocEnd : section_footnote_PosDocEnd,
PageBottom : section_footnote_PosPageBottom,
SectEnd : section_footnote_PosSectEnd
};
var c_oAscFootnoteRestart = {
Continuous : section_footnote_RestartContinuous,
EachSect : section_footnote_RestartEachSect,
EachPage : section_footnote_RestartEachPage
};
window["flat_desine"] = false;
//------------------------------------------------------------export---------------------------------------------------
......@@ -259,6 +281,18 @@ prot['ParaRem'] = c_oAscRevisionsChangeType.ParaRem;
prot['TextPr'] = c_oAscRevisionsChangeType.TextPr;
prot['ParaPr'] = c_oAscRevisionsChangeType.ParaPr;
prot = window['Asc']['c_oAscFootnotePos'] = c_oAscFootnotePos;
prot['BeneathText'] = c_oAscFootnotePos.BeneathText;
prot['DocEnd'] = c_oAscFootnotePos.DocEnd;
prot['PageBottom'] = c_oAscFootnotePos.PageBottom;
prot['SectEnd'] = c_oAscFootnotePos.SectEnd;
prot = window['Asc']['c_oAscFootnoteRestart'] = c_oAscFootnoteRestart;
prot['Continuous'] = c_oAscFootnoteRestart.Continuous;
prot['EachSect'] = c_oAscFootnoteRestart.EachSect;
prot['EachPage'] = c_oAscFootnoteRestart.EachPage;
window['AscCommon'] = window['AscCommon'] || {};
window['AscCommon'].c_oSerFormat = c_oSerFormat;
window['AscCommon'].CurFileVersion = c_oSerFormat.Version;
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