696 lines
26 KiB
JavaScript
696 lines
26 KiB
JavaScript
/*
|
|
* (c) Copyright Ascensio System SIA 2010-2024
|
|
*
|
|
* This program is a free software product. You can redistribute it and/or
|
|
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
|
* version 3 as published by the Free Software Foundation. In accordance with
|
|
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
|
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
|
* of any third-party rights.
|
|
*
|
|
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
|
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
|
*
|
|
* You can contact Ascensio System SIA at 20A-6 Ernesta Birznieka-Upish
|
|
* street, Riga, Latvia, EU, LV-1050.
|
|
*
|
|
* The interactive user interfaces in modified source and object code versions
|
|
* of the Program must display Appropriate Legal Notices, as required under
|
|
* Section 5 of the GNU AGPL version 3.
|
|
*
|
|
* Pursuant to Section 7(b) of the License you must retain the original Product
|
|
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
|
* grant you any rights under trademark law for use of our trademarks.
|
|
*
|
|
* All the Product's GUI elements, including illustrations and icon sets, as
|
|
* well as technical writing content are licensed under the terms of the
|
|
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
|
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
|
*
|
|
*/
|
|
|
|
"use strict";
|
|
|
|
/** @enum {number} */
|
|
var c_oAscZoomType = {
|
|
Current : 0,
|
|
FitWidth : 1,
|
|
FitPage : 2
|
|
};
|
|
|
|
/** @enum {number} */
|
|
var c_oAscAlignType = {
|
|
LEFT : 0,
|
|
CENTER : 1,
|
|
RIGHT : 2,
|
|
JUSTIFY : 3,
|
|
TOP : 4,
|
|
MIDDLE : 5,
|
|
BOTTOM : 6
|
|
};
|
|
|
|
/** @enum {number} */
|
|
var c_oAscWrapStyle2 = {
|
|
Inline : 0,
|
|
Square : 1,
|
|
Tight : 2,
|
|
Through : 3,
|
|
TopAndBottom : 4,
|
|
Behind : 5,
|
|
InFront : 6
|
|
};
|
|
|
|
/** @enum {number} */
|
|
var c_oAscTableSelectionType = {
|
|
Cell : 0,
|
|
Row : 1,
|
|
Column : 2,
|
|
Table : 3
|
|
};
|
|
|
|
/** @enum {number} */
|
|
var c_oAscContextMenuTypes = {
|
|
Common : 0, // Обычное контекстное меню
|
|
ChangeHdrFtr : 1 // Специальное контестное меню для попадания в колонтитул
|
|
};
|
|
|
|
/** @enum {number} */
|
|
var c_oAscMouseMoveLockedObjectType = {
|
|
Common : 0,
|
|
Header : 1,
|
|
Footer : 2
|
|
};
|
|
|
|
/** @enum {number} */
|
|
var c_oAscCollaborativeMarksShowType = {
|
|
None : -1,
|
|
All : 0,
|
|
LastChanges : 1
|
|
};
|
|
|
|
/** @enum {number} */
|
|
var c_oAscChangeLevel = {
|
|
BringToFront : 0x00,
|
|
BringForward : 0x01,
|
|
SendToBack : 0x02,
|
|
BringBackward : 0x03
|
|
};
|
|
|
|
|
|
|
|
/** @enum {number} */
|
|
var c_oAscVertAlignJc = {
|
|
Top : 0x00, // var vertalignjc_Top = 0x00;
|
|
Center : 0x01, // var vertalignjc_Center = 0x01;
|
|
Bottom : 0x02 // var vertalignjc_Bottom = 0x02
|
|
};
|
|
|
|
/** @enum {number} */
|
|
var c_oAscTableLayout = {
|
|
AutoFit : 0x00,
|
|
Fixed : 0x01
|
|
};
|
|
|
|
/** @enum {number} */
|
|
var c_oAscAlignShapeType = {
|
|
ALIGN_LEFT : 0,
|
|
ALIGN_RIGHT : 1,
|
|
ALIGN_TOP : 2,
|
|
ALIGN_BOTTOM : 3,
|
|
ALIGN_CENTER : 4,
|
|
ALIGN_MIDDLE : 5
|
|
};
|
|
|
|
var TABLE_STYLE_WIDTH_PIX = 72;
|
|
var TABLE_STYLE_HEIGHT_PIX = 52;
|
|
|
|
|
|
|
|
|
|
/** @enum {number} */
|
|
var c_oAscRevisionsObjectType = {
|
|
Image : 0,
|
|
Shape : 1,
|
|
Chart : 2,
|
|
MathEquation : 3
|
|
};
|
|
|
|
var c_oSerFormat = {
|
|
Version : 5, //1.0.0.5
|
|
Signature : "DOCY"
|
|
};
|
|
|
|
var c_oAscFootnotePos = {
|
|
BeneathText : 0x00,
|
|
DocEnd : 0x01,
|
|
PageBottom : 0x02,
|
|
SectEnd : 0x03
|
|
};
|
|
|
|
var c_oAscEndnotePos = {
|
|
DocEnd : 0x00,
|
|
SectEnd : 0x01
|
|
};
|
|
|
|
var c_oAscFootnoteRestart = {
|
|
Continuous : 0x00, //section_footnote_RestartContinuous,
|
|
EachSect : 0x01, //section_footnote_RestartEachSect,
|
|
EachPage : 0x02 //section_footnote_RestartEachPage
|
|
};
|
|
|
|
|
|
var c_oAscSdtLevelType = {
|
|
Block : 0x01,
|
|
Inline : 0x02,
|
|
Row : 0x03,
|
|
Cell : 0x04
|
|
};
|
|
|
|
var c_oAscTOCStylesType = {
|
|
Current : 0,
|
|
Simple : 1,
|
|
Standard : 2,
|
|
Modern : 3,
|
|
Classic : 4,
|
|
Web : 5
|
|
};
|
|
|
|
var c_oAscTOFStylesType = {
|
|
Current : 0,
|
|
Classic : 1,
|
|
Distinctive : 2,
|
|
Centered : 3,
|
|
Formal : 4,
|
|
Simple : 5,
|
|
Web : 6
|
|
};
|
|
|
|
var c_oAscStyleType = {
|
|
Paragraph : 1,
|
|
Numbering : 2,
|
|
Table : 3,
|
|
Character : 4
|
|
};
|
|
|
|
var c_oAscHyperlinkAnchor = {
|
|
Heading : 1,
|
|
Bookmark : 2
|
|
};
|
|
|
|
|
|
var c_oAscSdtCheckBoxDefaults = {
|
|
CheckedSymbol : 0x2612,
|
|
UncheckedSymbol : 0x2610,
|
|
CheckedFont : "MS Gothic",
|
|
UncheckedFont : "MS Gothic",
|
|
|
|
FormCheckedFont : "Segoe UI Symbol",
|
|
FormUncheckedFont : "Segoe UI Symbol",
|
|
|
|
FormCheckedSymbol : 0x2611,
|
|
FormUncheckedSymbol : 0x2610,
|
|
|
|
FormCheckedRadioSymbol : 0x25C9,
|
|
FormUncheckedRadioSymbol : 0x25CB
|
|
};
|
|
|
|
window["flat_desine"] = false;
|
|
|
|
var c_oAscDocumentShortcutType = {
|
|
OpenFilePanel : 1,
|
|
OpenFindDialog : 2,
|
|
OpenFindAndReplaceMenu : 3,
|
|
OpenCommentsPanel : 4,
|
|
OpenCommentField : 5,
|
|
OpenChatPanel : 6,
|
|
Save : 7,
|
|
PrintPreviewAndPrint : 8,
|
|
SaveAs : 9,
|
|
OpenHelpMenu : 10,
|
|
OpenExistingFile : 11, //desktop editors
|
|
NextFileTab : 12, //desktop editors
|
|
PreviousFileTab : 13, //desktop editors
|
|
CloseFile : 14, //desktop editors
|
|
OpenContextMenu : 15,
|
|
CloseMenu : 16,
|
|
Zoom100 : 17,
|
|
UpdateFields : 18,
|
|
MoveToStartLine : 19,
|
|
MoveToStartDocument : 20,
|
|
MoveToEndLine : 21,
|
|
MoveToEndDocument : 22,
|
|
MoveToStartPreviousPage : 23,
|
|
MoveToStartNextPage : 24,
|
|
ScrollDown : 25,
|
|
ScrollUp : 26,
|
|
ZoomIn : 27,
|
|
ZoomOut : 28,
|
|
MoveToRightChar : 29,
|
|
MoveToLeftChar : 30,
|
|
MoveToUpLine : 31,
|
|
MoveToDownLine : 32,
|
|
MoveToStartWord : 33,
|
|
MoveToEndWord : 34,
|
|
NextModalControl : 35,
|
|
PreviousModalControl : 36,
|
|
MoveToLowerHeaderFooter : 37,
|
|
MoveToUpperHeaderFooter : 38,
|
|
MoveToLowerHeader : 39,
|
|
MoveToUpperHeader : 40,
|
|
EndParagraph : 41,
|
|
InsertLineBreak : 42,
|
|
InsertColumnBreak : 43,
|
|
EquationAddPlaceholder : 44,
|
|
EquationChangeAlignmentLeft : 45,
|
|
EquationChangeAlignmentRight : 46,
|
|
DeleteLeftChar : 47,
|
|
DeleteRightChar : 48,
|
|
DeleteLeftWord : 49,
|
|
DeleteRightWord : 50,
|
|
NonBreakingSpace : 51,
|
|
NonBreakingHyphen : 52,
|
|
EditUndo : 53,
|
|
EditRedo : 54,
|
|
Cut : 55,
|
|
Copy : 56,
|
|
Paste : 57,
|
|
PasteTextWithoutFormat : 58,
|
|
CopyFormat : 59,
|
|
PasteFormat : 60,
|
|
SpecialOptionsKeepSourceFormat: 61,
|
|
SpecialOptionsKeepTextOnly : 62,
|
|
SpecialOptionsOverwriteCells : 63,
|
|
SpecialOptionsNestTable : 64,
|
|
InsertHyperlink : 65,
|
|
VisitHyperlink : 66,
|
|
EditSelectAll : 67,
|
|
SelectToStartLine : 68,
|
|
SelectToEndLine : 69,
|
|
SelectToStartDocument : 70,
|
|
SelectToEndDocument : 71,
|
|
SelectRightChar : 72,
|
|
SelectLeftChar : 73,
|
|
SelectRightWord : 74,
|
|
SelectLeftWord : 75,
|
|
SelectLineUp : 76,
|
|
SelectLineDown : 77,
|
|
SelectPageUp : 78,
|
|
SelectPageDown : 79,
|
|
SelectToBeginPreviousPage : 80,
|
|
SelectToBeginNextPage : 81,
|
|
Bold : 82,
|
|
Italic : 83,
|
|
Underline : 84,
|
|
Strikeout : 85,
|
|
Subscript : 86,
|
|
Superscript : 87,
|
|
ApplyHeading1 : 88,
|
|
ApplyHeading2 : 89,
|
|
ApplyHeading3 : 90,
|
|
ApplyListBullet : 91,
|
|
ResetChar : 92,
|
|
IncreaseFontSize : 93,
|
|
DecreaseFontSize : 94,
|
|
CenterPara : 95,
|
|
JustifyPara : 96,
|
|
RightPara : 97,
|
|
LeftPara : 98,
|
|
InsertPageBreak : 99,
|
|
Indent : 100,
|
|
UnIndent : 101,
|
|
InsertPageNumber : 102,
|
|
ShowAll : 103, // Показать/скрыть непечатаемые символы
|
|
StartIndent : 104,
|
|
StartUnIndent : 105,
|
|
InsertTab : 106,
|
|
MixedIndent : 107,
|
|
MixedUnIndent : 108,
|
|
EditShape : 109,
|
|
LittleMoveObjectLeft : 110,
|
|
LittleMoveObjectRight : 111,
|
|
LittleMoveObjectUp : 112,
|
|
LittleMoveObjectDown : 113,
|
|
BigMoveObjectLeft : 114,
|
|
BigMoveObjectRight : 115,
|
|
BigMoveObjectUp : 116,
|
|
BigMoveObjectDown : 117,
|
|
MoveFocusToNextObject : 118,
|
|
MoveFocusToPreviousObject : 119,
|
|
InsertEndnoteNow : 120,
|
|
InsertFootnoteNow : 121,
|
|
MoveToNextCell : 122,
|
|
MoveToPreviousCell : 123,
|
|
MoveToNextRow : 124,
|
|
MoveToPreviousRow : 125,
|
|
EndParagraphCell : 126,
|
|
AddNewRow : 127,
|
|
InsertTableBreak : 128,
|
|
MoveToNextForm : 129,
|
|
MoveToPreviousForm : 130,
|
|
ChooseNextComboBoxOption : 131,
|
|
ChoosePreviousComboBoxOption : 132,
|
|
InsertEquation : 133,
|
|
EmDash : 134,
|
|
EnDash : 135,
|
|
CopyrightSign : 136,
|
|
EuroSign : 137,
|
|
RegisteredSign : 138,
|
|
TrademarkSign : 139,
|
|
HorizontalEllipsis : 140,
|
|
ReplaceUnicodeToSymbol : 141,
|
|
SpeechWorker : 143,
|
|
EditChart : 144,
|
|
InsertLineBreakMultilineForm : 145,
|
|
MoveToNextPage : 146,
|
|
MoveToPreviousPage : 147
|
|
};
|
|
|
|
var c_oAscDocumentRefenceToType = {
|
|
Text : 0,
|
|
PageNum : 1,
|
|
ParaNum : 2,
|
|
ParaNumNoContext : 3,
|
|
ParaNumFullContex : 4,
|
|
AboveBelow : 5,
|
|
OnlyLabelAndNumber : 6,
|
|
OnlyCaptionText : 7,
|
|
NoteNumber : 8,
|
|
NoteNumberFormatted : 9
|
|
};
|
|
|
|
var c_oAscTextToTableSeparator = {
|
|
Paragraph : 1,
|
|
Tab : 2,
|
|
Symbol : 3
|
|
};
|
|
|
|
var c_oAscTextToTableAutoFitType = {
|
|
Fixed : 1,
|
|
Content : 2,
|
|
Window : 3
|
|
};
|
|
|
|
|
|
var c_oAscEDocProtect = {
|
|
Comments: 0,
|
|
Forms: 1,
|
|
None: 2,
|
|
ReadOnly: 3,
|
|
TrackedChanges: 4
|
|
};
|
|
|
|
//------------------------------------------------------------export---------------------------------------------------
|
|
var prot;
|
|
window['Asc'] = window['Asc'] || {};
|
|
window['AscCommonWord'] = window['AscCommonWord'] || {};
|
|
|
|
prot = window['Asc']['c_oAscWrapStyle2'] = c_oAscWrapStyle2;
|
|
prot['Inline'] = c_oAscWrapStyle2.Inline;
|
|
prot['Square'] = c_oAscWrapStyle2.Square;
|
|
prot['Tight'] = c_oAscWrapStyle2.Tight;
|
|
prot['Through'] = c_oAscWrapStyle2.Through;
|
|
prot['TopAndBottom'] = c_oAscWrapStyle2.TopAndBottom;
|
|
prot['Behind'] = c_oAscWrapStyle2.Behind;
|
|
prot['InFront'] = c_oAscWrapStyle2.InFront;
|
|
|
|
prot = window['Asc']['c_oAscContextMenuTypes'] = window['Asc'].c_oAscContextMenuTypes = c_oAscContextMenuTypes;
|
|
prot['Common'] = c_oAscContextMenuTypes.Common;
|
|
prot['ChangeHdrFtr'] = c_oAscContextMenuTypes.ChangeHdrFtr;
|
|
|
|
prot = window['Asc']['c_oAscCollaborativeMarksShowType'] = c_oAscCollaborativeMarksShowType;
|
|
prot['None'] = c_oAscCollaborativeMarksShowType.None;
|
|
prot['All'] = c_oAscCollaborativeMarksShowType.All;
|
|
prot['LastChanges'] = c_oAscCollaborativeMarksShowType.LastChanges;
|
|
|
|
|
|
prot = window['Asc']['c_oAscChangeLevel'] = c_oAscChangeLevel;
|
|
prot['BringToFront'] = c_oAscChangeLevel.BringToFront;
|
|
prot['BringForward'] = c_oAscChangeLevel.BringForward;
|
|
prot['SendToBack'] = c_oAscChangeLevel.SendToBack;
|
|
prot['BringBackward'] = c_oAscChangeLevel.BringBackward;
|
|
|
|
prot = window['Asc']['c_oAscVertAlignJc'] = c_oAscVertAlignJc;
|
|
prot['Top'] = c_oAscVertAlignJc.Top;
|
|
prot['Center'] = c_oAscVertAlignJc.Center;
|
|
prot['Bottom'] = c_oAscVertAlignJc.Bottom;
|
|
|
|
prot = window['Asc']['c_oAscTableLayout'] = c_oAscTableLayout;
|
|
prot['AutoFit'] = c_oAscTableLayout.AutoFit;
|
|
prot['Fixed'] = c_oAscTableLayout.Fixed;
|
|
|
|
prot = window['Asc']['c_oAscAlignShapeType'] = c_oAscAlignShapeType;
|
|
prot['ALIGN_LEFT'] = c_oAscAlignShapeType.ALIGN_LEFT;
|
|
prot['ALIGN_RIGHT'] = c_oAscAlignShapeType.ALIGN_RIGHT;
|
|
prot['ALIGN_TOP'] = c_oAscAlignShapeType.ALIGN_TOP;
|
|
prot['ALIGN_BOTTOM'] = c_oAscAlignShapeType.ALIGN_BOTTOM;
|
|
prot['ALIGN_CENTER'] = c_oAscAlignShapeType.ALIGN_CENTER;
|
|
prot['ALIGN_MIDDLE'] = c_oAscAlignShapeType.ALIGN_MIDDLE;
|
|
|
|
|
|
|
|
prot = window['Asc']['c_oAscFootnotePos'] = 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_oAscEndnotePos'] = window['Asc'].c_oAscEndnotePos = c_oAscEndnotePos;
|
|
prot['DocEnd'] = c_oAscEndnotePos.DocEnd;
|
|
prot['SectEnd'] = c_oAscEndnotePos.SectEnd;
|
|
|
|
prot = window['Asc']['c_oAscFootnoteRestart'] = window['Asc'].c_oAscFootnoteRestart = c_oAscFootnoteRestart;
|
|
prot['Continuous'] = c_oAscFootnoteRestart.Continuous;
|
|
prot['EachSect'] = c_oAscFootnoteRestart.EachSect;
|
|
prot['EachPage'] = c_oAscFootnoteRestart.EachPage;
|
|
|
|
|
|
prot = window['Asc']['c_oAscSdtLevelType'] = window['Asc'].c_oAscSdtLevelType = c_oAscSdtLevelType;
|
|
prot['Block'] = c_oAscSdtLevelType.Block;
|
|
prot['Inline'] = c_oAscSdtLevelType.Inline;
|
|
prot['Row'] = c_oAscSdtLevelType.Row;
|
|
prot['Cell'] = c_oAscSdtLevelType.Cell;
|
|
|
|
prot = window['Asc']['c_oAscTOCStylesType'] = window['Asc'].c_oAscTOCStylesType = c_oAscTOCStylesType;
|
|
prot['Current'] = c_oAscTOCStylesType.Current;
|
|
prot['Simple'] = c_oAscTOCStylesType.Simple;
|
|
prot['Standard'] = c_oAscTOCStylesType.Standard;
|
|
prot['Modern'] = c_oAscTOCStylesType.Modern;
|
|
prot['Classic'] = c_oAscTOCStylesType.Classic;
|
|
prot['Web'] = c_oAscTOCStylesType.Web;
|
|
|
|
prot = window['Asc']['c_oAscTOFStylesType'] = window['Asc'].c_oAscTOFStylesType = c_oAscTOFStylesType;
|
|
prot['Current'] = prot.Current;
|
|
prot['Classic'] = prot.Classic;
|
|
prot['Distinctive'] = prot.Distinctive;
|
|
prot['Centered'] = prot.Centered;
|
|
prot['Formal'] = prot.Formal;
|
|
prot['Simple'] = prot.Simple;
|
|
prot['Web'] = prot.Web;
|
|
|
|
prot = window['Asc']['c_oAscStyleType'] = window['Asc'].c_oAscStyleType = c_oAscStyleType;
|
|
prot['Paragraph'] = c_oAscStyleType.Paragraph;
|
|
prot['Numbering'] = c_oAscStyleType.Numbering;
|
|
prot['Table'] = c_oAscStyleType.Table;
|
|
prot['Character'] = c_oAscStyleType.Character;
|
|
|
|
prot = window['Asc']['c_oAscHyperlinkAnchor'] = window['Asc'].c_oAscHyperlinkAnchor = c_oAscHyperlinkAnchor;
|
|
prot['Heading'] = c_oAscHyperlinkAnchor.Heading;
|
|
prot['Bookmark'] = c_oAscHyperlinkAnchor.Bookmark;
|
|
|
|
window['AscCommon'] = window['AscCommon'] || {};
|
|
window['AscCommon'].c_oSerFormat = c_oSerFormat;
|
|
window['AscCommon'].CurFileVersion = c_oSerFormat.Version;
|
|
|
|
prot = window['Asc']['c_oAscSdtCheckBoxDefaults'] = window['Asc'].c_oAscSdtCheckBoxDefaults = c_oAscSdtCheckBoxDefaults;
|
|
prot['CheckedSymbol'] = prot.CheckedSymbol;
|
|
prot['UncheckedSymbol'] = prot.UncheckedSymbol;
|
|
prot['CheckedFont'] = prot.CheckedFont;
|
|
prot['UncheckedFont'] = prot.UncheckedFont;
|
|
prot['FormCheckedFont'] = prot.FormCheckedFont;
|
|
prot['FormUncheckedFont'] = prot.FormUncheckedFont;
|
|
prot['FormCheckedSymbol'] = prot.FormCheckedSymbol;
|
|
prot['FormUncheckedSymbol'] = prot.FormUncheckedSymbol;
|
|
prot['FormCheckedRadioSymbol'] = prot.FormCheckedRadioSymbol;
|
|
prot['FormUncheckedRadioSymbol'] = prot.FormUncheckedRadioSymbol;
|
|
|
|
window['Asc']['NoYLimit'] = window['Asc'].NoYLimit = 0x7FFFFFFF;
|
|
|
|
prot = window['Asc']['c_oAscDocumentShortcutType'] = window['Asc'].c_oAscDocumentShortcutType = c_oAscDocumentShortcutType;
|
|
prot['OpenFilePanel'] = prot.OpenFilePanel;
|
|
prot['OpenFindDialog'] = prot.OpenFindDialog;
|
|
prot['OpenFindAndReplaceMenu'] = prot.OpenFindAndReplaceMenu;
|
|
prot['OpenCommentsPanel'] = prot.OpenCommentsPanel;
|
|
prot['OpenCommentField'] = prot.OpenCommentField;
|
|
prot['OpenChatPanel'] = prot.OpenChatPanel;
|
|
prot['Save'] = prot.Save;
|
|
prot['PrintPreviewAndPrint'] = prot.PrintPreviewAndPrint;
|
|
prot['SaveAs'] = prot.SaveAs;
|
|
prot['OpenHelpMenu'] = prot.OpenHelpMenu;
|
|
prot['OpenExistingFile'] = prot.OpenExistingFile;
|
|
prot['NextFileTab'] = prot.NextFileTab;
|
|
prot['PreviousFileTab'] = prot.PreviousFileTab;
|
|
prot['CloseFile'] = prot.CloseFile;
|
|
prot['OpenContextMenu'] = prot.OpenContextMenu;
|
|
prot['CloseMenu'] = prot.CloseMenu;
|
|
prot['Zoom100'] = prot.Zoom100;
|
|
prot['UpdateFields'] = prot.UpdateFields;
|
|
prot['MoveToStartLine'] = prot.MoveToStartLine;
|
|
prot['MoveToStartDocument'] = prot.MoveToStartDocument;
|
|
prot['MoveToEndLine'] = prot.MoveToEndLine;
|
|
prot['MoveToEndDocument'] = prot.MoveToEndDocument;
|
|
prot['MoveToStartPreviousPage'] = prot.MoveToStartPreviousPage;
|
|
prot['MoveToStartNextPage'] = prot.MoveToStartNextPage;
|
|
prot['MoveToNextPage'] = prot.MoveToNextPage;
|
|
prot['MoveToPreviousPage'] = prot.MoveToPreviousPage;
|
|
prot['ScrollDown'] = prot.ScrollDown;
|
|
prot['ScrollUp'] = prot.ScrollUp;
|
|
prot['ZoomIn'] = prot.ZoomIn;
|
|
prot['ZoomOut'] = prot.ZoomOut;
|
|
prot['MoveToRightChar'] = prot.MoveToRightChar;
|
|
prot['MoveToLeftChar'] = prot.MoveToLeftChar;
|
|
prot['MoveToUpLine'] = prot.MoveToUpLine;
|
|
prot['MoveToDownLine'] = prot.MoveToDownLine;
|
|
prot['MoveToStartWord'] = prot.MoveToStartWord;
|
|
prot['MoveToEndWord'] = prot.MoveToEndWord;
|
|
prot['NextModalControl'] = prot.NextModalControl;
|
|
prot['PreviousModalControl'] = prot.PreviousModalControl;
|
|
prot['MoveToLowerHeaderFooter'] = prot.MoveToLowerHeaderFooter;
|
|
prot['MoveToUpperHeaderFooter'] = prot.MoveToUpperHeaderFooter;
|
|
prot['MoveToLowerHeader'] = prot.MoveToLowerHeader;
|
|
prot['MoveToUpperHeader'] = prot.MoveToUpperHeader;
|
|
prot['EndParagraph'] = prot.EndParagraph;
|
|
prot['InsertLineBreak'] = prot.InsertLineBreak;
|
|
prot['InsertColumnBreak'] = prot.InsertColumnBreak;
|
|
prot['EquationAddPlaceholder'] = prot.EquationAddPlaceholder;
|
|
prot['EquationChangeAlignmentLeft'] = prot.EquationChangeAlignmentLeft;
|
|
prot['EquationChangeAlignmentRight'] = prot.EquationChangeAlignmentRight;
|
|
prot['DeleteLeftChar'] = prot.DeleteLeftChar;
|
|
prot['DeleteRightChar'] = prot.DeleteRightChar;
|
|
prot['DeleteLeftWord'] = prot.DeleteLeftWord;
|
|
prot['DeleteRightWord'] = prot.DeleteRightWord;
|
|
prot['NonBreakingSpace'] = prot.NonBreakingSpace;
|
|
prot['NonBreakingHyphen'] = prot.NonBreakingHyphen;
|
|
prot['EditUndo'] = prot.EditUndo;
|
|
prot['EditRedo'] = prot.EditRedo;
|
|
prot['Cut'] = prot.Cut;
|
|
prot['Copy'] = prot.Copy;
|
|
prot['Paste'] = prot.Paste;
|
|
prot['PasteTextWithoutFormat'] = prot.PasteTextWithoutFormat;
|
|
prot['CopyFormat'] = prot.CopyFormat;
|
|
prot['PasteFormat'] = prot.PasteFormat;
|
|
prot['SpecialOptionsKeepSourceFormat']= prot.SpecialOptionsKeepSourceFormat;
|
|
prot['SpecialOptionsKeepTextOnly'] = prot.SpecialOptionsKeepTextOnly;
|
|
prot['SpecialOptionsOverwriteCells'] = prot.SpecialOptionsOverwriteCells;
|
|
prot['SpecialOptionsNestTable'] = prot.SpecialOptionsNestTable;
|
|
prot['InsertHyperlink'] = prot.InsertHyperlink;
|
|
prot['VisitHyperlink'] = prot.VisitHyperlink;
|
|
prot['EditSelectAll'] = prot.EditSelectAll;
|
|
prot['SelectToStartLine'] = prot.SelectToStartLine;
|
|
prot['SelectToEndLine'] = prot.SelectToEndLine;
|
|
prot['SelectToStartDocument'] = prot.SelectToStartDocument;
|
|
prot['SelectToEndDocument'] = prot.SelectToEndDocument;
|
|
prot['SelectRightChar'] = prot.SelectRightChar;
|
|
prot['SelectLeftChar'] = prot.SelectLeftChar;
|
|
prot['SelectRightWord'] = prot.SelectRightWord;
|
|
prot['SelectLeftWord'] = prot.SelectLeftWord;
|
|
prot['SelectLineUp'] = prot.SelectLineUp;
|
|
prot['SelectLineDown'] = prot.SelectLineDown;
|
|
prot['SelectPageUp'] = prot.SelectPageUp;
|
|
prot['SelectPageDown'] = prot.SelectPageDown;
|
|
prot['SelectToBeginPreviousPage'] = prot.SelectToBeginPreviousPage;
|
|
prot['SelectToBeginNextPage'] = prot.SelectToBeginNextPage;
|
|
prot['Bold'] = prot.Bold;
|
|
prot['Italic'] = prot.Italic;
|
|
prot['Underline'] = prot.Underline;
|
|
prot['Strikeout'] = prot.Strikeout;
|
|
prot['Subscript'] = prot.Subscript;
|
|
prot['Superscript'] = prot.Superscript;
|
|
prot['ApplyHeading1'] = prot.ApplyHeading1;
|
|
prot['ApplyHeading2'] = prot.ApplyHeading2;
|
|
prot['ApplyHeading3'] = prot.ApplyHeading3;
|
|
prot['ApplyListBullet'] = prot.ApplyListBullet;
|
|
prot['ResetChar'] = prot.ResetChar;
|
|
prot['IncreaseFontSize'] = prot.IncreaseFontSize;
|
|
prot['DecreaseFontSize'] = prot.DecreaseFontSize;
|
|
prot['CenterPara'] = prot.CenterPara;
|
|
prot['JustifyPara'] = prot.JustifyPara;
|
|
prot['RightPara'] = prot.RightPara;
|
|
prot['LeftPara'] = prot.LeftPara;
|
|
prot['InsertPageBreak'] = prot.InsertPageBreak;
|
|
prot['Indent'] = prot.Indent;
|
|
prot['UnIndent'] = prot.UnIndent;
|
|
prot['InsertPageNumber'] = prot.InsertPageNumber;
|
|
prot['ShowAll'] = prot.ShowAll;
|
|
prot['StartIndent'] = prot.StartIndent;
|
|
prot['StartUnIndent'] = prot.StartUnIndent;
|
|
prot['InsertTab'] = prot.InsertTab;
|
|
prot['MixedIndent'] = prot.MixedIndent;
|
|
prot['MixedUnIndent'] = prot.MixedUnIndent;
|
|
prot['EditShape'] = prot.EditShape;
|
|
prot['EditChart'] = prot.EditChart;
|
|
prot['LittleMoveObjectLeft'] = prot.LittleMoveObjectLeft;
|
|
prot['LittleMoveObjectRight'] = prot.LittleMoveObjectRight;
|
|
prot['LittleMoveObjectUp'] = prot.LittleMoveObjectUp;
|
|
prot['LittleMoveObjectDown'] = prot.LittleMoveObjectDown;
|
|
prot['BigMoveObjectLeft'] = prot.BigMoveObjectLeft;
|
|
prot['BigMoveObjectRight'] = prot.BigMoveObjectRight;
|
|
prot['BigMoveObjectUp'] = prot.BigMoveObjectUp;
|
|
prot['BigMoveObjectDown'] = prot.BigMoveObjectDown;
|
|
prot['MoveFocusToNextObject'] = prot.MoveFocusToNextObject;
|
|
prot['MoveFocusToPreviousObject'] = prot.MoveFocusToPreviousObject;
|
|
prot['InsertEndnoteNow'] = prot.InsertEndnoteNow;
|
|
prot['InsertFootnoteNow'] = prot.InsertFootnoteNow;
|
|
prot['MoveToNextCell'] = prot.MoveToNextCell;
|
|
prot['MoveToPreviousCell'] = prot.MoveToPreviousCell;
|
|
prot['MoveToNextRow'] = prot.MoveToNextRow;
|
|
prot['MoveToPreviousRow'] = prot.MoveToPreviousRow;
|
|
prot['EndParagraphCell'] = prot.EndParagraphCell;
|
|
prot['AddNewRow'] = prot.AddNewRow;
|
|
prot['InsertTableBreak'] = prot.InsertTableBreak;
|
|
prot['MoveToNextForm'] = prot.MoveToNextForm;
|
|
prot['MoveToPreviousForm'] = prot.MoveToPreviousForm;
|
|
prot['ChooseNextComboBoxOption'] = prot.ChooseNextComboBoxOption;
|
|
prot['ChoosePreviousComboBoxOption'] = prot.ChoosePreviousComboBoxOption;
|
|
prot['InsertLineBreakMultilineForm'] = prot.InsertLineBreakMultilineForm;
|
|
prot['InsertEquation'] = prot.InsertEquation;
|
|
prot['EmDash'] = prot.EmDash;
|
|
prot['EnDash'] = prot.EnDash;
|
|
prot['CopyrightSign'] = prot.CopyrightSign;
|
|
prot['EuroSign'] = prot.EuroSign;
|
|
prot['RegisteredSign'] = prot.RegisteredSign;
|
|
prot['TrademarkSign'] = prot.TrademarkSign;
|
|
prot['HorizontalEllipsis'] = prot.HorizontalEllipsis;
|
|
prot['ReplaceUnicodeToSymbol'] = prot.ReplaceUnicodeToSymbol;
|
|
prot['SpeechWorker'] = prot.SpeechWorker;
|
|
|
|
prot = window['Asc']['c_oAscDocumentRefenceToType'] = window['Asc'].c_oAscDocumentRefenceToType = c_oAscDocumentRefenceToType;
|
|
prot['Text'] = prot.Text;
|
|
prot['PageNum'] = prot.PageNum;
|
|
prot['ParaNum'] = prot.ParaNum;
|
|
prot['ParaNumNoContext'] = prot.ParaNumNoContext;
|
|
prot['ParaNumFullContex'] = prot.ParaNumFullContex;
|
|
prot['AboveBelow'] = prot.AboveBelow;
|
|
prot['OnlyLabelAndNumber'] = prot.OnlyLabelAndNumber;
|
|
prot['OnlyCaptionText'] = prot.OnlyCaptionText;
|
|
prot['NoteNumber'] = prot.NoteNumber;
|
|
prot['NoteNumberFormatted'] = prot.NoteNumberFormatted;
|
|
|
|
prot = window['Asc']['c_oAscTextToTableSeparator'] = window['Asc'].c_oAscTextToTableSeparator = c_oAscTextToTableSeparator;
|
|
prot['Paragraph'] = prot.Paragraph;
|
|
prot['Tab'] = prot.Tab;
|
|
prot['Symbol'] = prot.Symbol;
|
|
|
|
prot = window['Asc']['c_oAscTextToTableAutoFitType'] = window['Asc'].c_oAscTextToTableAutoFitType = c_oAscTextToTableAutoFitType;
|
|
prot['Fixed'] = prot.Fixed;
|
|
prot['Content'] = prot.Content;
|
|
prot['Window'] = prot.Window;
|
|
|
|
|
|
prot = window['Asc']['c_oAscEDocProtect'] = window['Asc'].c_oAscEDocProtect = c_oAscEDocProtect;
|
|
prot['Comments'] = prot.Comments;
|
|
prot['Forms'] = prot.Forms;
|
|
prot['None'] = prot.None;
|
|
prot['ReadOnly'] = prot.ReadOnly;
|
|
prot['TrackedChanges'] = prot.TrackedChanges;
|