Commit f616b32e authored by Oleg Korshul's avatar Oleg Korshul

/** @enum {number} */

чтобы не мешались var b и window.b
parent 0aa192f7
......@@ -33,17 +33,18 @@
"use strict";
(/**
* @param {Window} window
* @param {undefined} undefined
*/
function(window, undefined) {
var g_cCharDelimiter = String.fromCharCode(5);
var FONT_THUMBNAIL_HEIGHT = (7 * 96.0 / 25.4) >> 0;
var c_oAscMaxColumnWidth = 255;
var c_oAscMaxRowHeight = 409;
//files type for Saving & DownloadAs
var c_oAscFileType = {
* @param {Window} window
* @param {undefined} undefined
*/
function(window, undefined)
{
var g_cCharDelimiter = String.fromCharCode(5);
var FONT_THUMBNAIL_HEIGHT = (7 * 96.0 / 25.4) >> 0;
var c_oAscMaxColumnWidth = 255;
var c_oAscMaxRowHeight = 409;
//files type for Saving & DownloadAs
var c_oAscFileType = {
UNKNOWN : 0,
PDF : 0x0201,
HTML : 0x0803,
......@@ -72,91 +73,91 @@ var c_oAscFileType = {
PPTX : 0x0081,
PPT : 0x0082,
ODP : 0x0083
};
};
var c_oAscError = {
Level: {
Critical: -1,
NoCritical: 0
Level : {
Critical : -1,
NoCritical : 0
},
ID: {
ServerSaveComplete: 3,
ConvertationProgress: 2,
DownloadProgress: 1,
No: 0,
Unknown: -1,
ConvertationTimeout: -2,
ConvertationError: -3,
DownloadError: -4,
UnexpectedGuid: -5,
Database: -6,
FileRequest: -7,
FileVKey: -8,
UplImageSize: -9,
UplImageExt: -10,
UplImageFileCount: -11,
NoSupportClipdoard: -12,
UplImageUrl: -13,
StockChartError: -17,
CoAuthoringDisconnect: -18,
ConvertationPassword: -19,
VKeyEncrypt: -20,
KeyExpire: -21,
UserCountExceed: -22,
SplitCellMaxRows: -30,
SplitCellMaxCols: -31,
SplitCellRowsDivider: -32,
MobileUnexpectedCharCount: -35,
ID : {
ServerSaveComplete : 3,
ConvertationProgress : 2,
DownloadProgress : 1,
No : 0,
Unknown : -1,
ConvertationTimeout : -2,
ConvertationError : -3,
DownloadError : -4,
UnexpectedGuid : -5,
Database : -6,
FileRequest : -7,
FileVKey : -8,
UplImageSize : -9,
UplImageExt : -10,
UplImageFileCount : -11,
NoSupportClipdoard : -12,
UplImageUrl : -13,
StockChartError : -17,
CoAuthoringDisconnect : -18,
ConvertationPassword : -19,
VKeyEncrypt : -20,
KeyExpire : -21,
UserCountExceed : -22,
SplitCellMaxRows : -30,
SplitCellMaxCols : -31,
SplitCellRowsDivider : -32,
MobileUnexpectedCharCount : -35,
// Mail Merge
MailMergeLoadFile: -40,
MailMergeSaveFile: -41,
MailMergeLoadFile : -40,
MailMergeSaveFile : -41,
// for AutoFilter
AutoFilterDataRangeError: -50,
AutoFilterChangeFormatTableError: -51,
AutoFilterChangeError: -52,
AutoFilterMoveToHiddenRangeError: -53,
LockedAllError: -54,
LockedWorksheetRename: -55,
FTChangeTableRangeError: -56,
FTRangeIncludedOtherTables: -57,
AutoFilterDataRangeError : -50,
AutoFilterChangeFormatTableError : -51,
AutoFilterChangeError : -52,
AutoFilterMoveToHiddenRangeError : -53,
LockedAllError : -54,
LockedWorksheetRename : -55,
FTChangeTableRangeError : -56,
FTRangeIncludedOtherTables : -57,
PasteMaxRangeError: -64,
PastInMergeAreaError: -65,
PasteMaxRangeError : -64,
PastInMergeAreaError : -65,
DataRangeError: -72,
CannotMoveRange: -71,
DataRangeError : -72,
CannotMoveRange : -71,
MaxDataSeriesError: -80,
CannotFillRange: -81,
MaxDataSeriesError : -80,
CannotFillRange : -81,
UserDrop: -100,
Warning: -101,
UserDrop : -100,
Warning : -101,
/* для формул */
FrmlWrongCountParentheses: -300,
FrmlWrongOperator: -301,
FrmlWrongMaxArgument: -302,
FrmlWrongCountArgument: -303,
FrmlWrongFunctionName: -304,
FrmlAnotherParsingError: -305,
FrmlWrongArgumentRange: -306,
FrmlOperandExpected: -307,
FrmlParenthesesCorrectCount: -308,
FrmlWrongReferences: -309,
InvalidReferenceOrName: -310,
LockCreateDefName: -311,
OpenWarning: 500
FrmlWrongCountParentheses : -300,
FrmlWrongOperator : -301,
FrmlWrongMaxArgument : -302,
FrmlWrongCountArgument : -303,
FrmlWrongFunctionName : -304,
FrmlAnotherParsingError : -305,
FrmlWrongArgumentRange : -306,
FrmlOperandExpected : -307,
FrmlParenthesesCorrectCount : -308,
FrmlWrongReferences : -309,
InvalidReferenceOrName : -310,
LockCreateDefName : -311,
OpenWarning : 500
}
};
var c_oAscAsyncAction = {
var c_oAscAsyncAction = {
Open : 0, // открытие документа
Save : 1, // сохранение
LoadDocumentFonts : 2, // загружаем фонты документа (сразу после открытия)
......@@ -174,47 +175,47 @@ var c_oAscAsyncAction = {
MailMergeLoadFile : 13, // загрузка файла для mail merge
DownloadMerge : 14, // cкачать файл с mail merge
SendMailMerge : 15 // рассылка mail merge по почте
};
};
var c_oAscAdvancedOptionsID = {
CSV: 0,
TXT: 1
};
var c_oAscAdvancedOptionsID = {
CSV : 0,
TXT : 1
};
var c_oAscAdvancedOptionsAction = {
None: 0,
Open: 1,
Save: 2
};
var c_oAscAdvancedOptionsAction = {
None : 0,
Open : 1,
Save : 2
};
// Режимы отрисовки
var c_oAscFontRenderingModeType = {
// Режимы отрисовки
var c_oAscFontRenderingModeType = {
noHinting : 1,
hinting : 2,
hintingAndSubpixeling : 3
};
};
var c_oAscAsyncActionType = {
var c_oAscAsyncActionType = {
Information : 0,
BlockInteraction : 1
};
};
var DownloadType = {
var DownloadType = {
None : '',
Download : 'asc_onDownloadUrl',
Print : 'asc_onPrintUrl',
MailMerge : 'asc_onSaveMailMerge'
};
};
var CellValueType = {
var CellValueType = {
Number : 0,
String : 1,
Bool : 2,
Error : 3
};
};
//NumFormat defines
var c_oAscNumFormatType = {
//NumFormat defines
var c_oAscNumFormatType = {
General : 0,
Custom : 1,
Text : 2,
......@@ -227,7 +228,7 @@ var c_oAscNumFormatType = {
Percent : 9,
Fraction : 10,
Accounting : 11
};
};
var c_oAscDrawingLayerType = {
BringToFront : 0,
......@@ -236,23 +237,23 @@ var c_oAscNumFormatType = {
SendBackward : 3
};
var c_oAscCellAnchorType = {
var c_oAscCellAnchorType = {
cellanchorAbsolute : 0,
cellanchorOneCell : 1,
cellanchorTwoCell : 2
};
};
var c_oAscChartDefines = {
var c_oAscChartDefines = {
defaultChartWidth : 478,
defaultChartHeight : 286
};
};
var c_oAscStyleImage = {
var c_oAscStyleImage = {
Default : 0,
Document : 1
};
};
var c_oAscTypeSelectElement = {
var c_oAscTypeSelectElement = {
Paragraph : 0,
Table : 1,
Image : 2,
......@@ -264,132 +265,132 @@ var c_oAscTypeSelectElement = {
Chart : 8,
Math : 9,
MailMerge : 10
};
};
var c_oAscLineDrawingRule = {
var c_oAscLineDrawingRule = {
Left : 0,
Center : 1,
Right : 2,
Top : 0,
Bottom : 2
};
};
var align_Right = 0;
var align_Left = 1;
var align_Center = 2;
var align_Justify = 3;
var align_Right = 0;
var align_Left = 1;
var align_Center = 2;
var align_Justify = 3;
var linerule_AtLeast = 0x00;
var linerule_Auto = 0x01;
var linerule_Exact = 0x02;
var linerule_AtLeast = 0x00;
var linerule_Auto = 0x01;
var linerule_Exact = 0x02;
var c_oAscShdClear = 0;
var c_oAscShdNil = 1;
var c_oAscShdClear = 0;
var c_oAscShdNil = 1;
var vertalign_Baseline = 0;
var vertalign_SuperScript = 1;
var vertalign_SubScript = 2;
var hdrftr_Header = 0x01;
var hdrftr_Footer = 0x02;
var vertalign_Baseline = 0;
var vertalign_SuperScript = 1;
var vertalign_SubScript = 2;
var hdrftr_Header = 0x01;
var hdrftr_Footer = 0x02;
var c_oAscDropCap = {
None: 0x00,
Drop: 0x01,
Margin: 0x02
};
var c_oAscDropCap = {
None : 0x00,
Drop : 0x01,
Margin : 0x02
};
var c_oAscChartTitleShowSettings =
{
none: 0,
overlay: 1,
noOverlay: 2
};
var c_oAscChartTitleShowSettings =
{
none : 0,
overlay : 1,
noOverlay : 2
};
var c_oAscChartHorAxisLabelShowSettings =
{
none: 0,
noOverlay: 1
};
var c_oAscChartHorAxisLabelShowSettings =
{
none : 0,
noOverlay : 1
};
var c_oAscChartVertAxisLabelShowSettings =
{
none: 0,
rotated: 1,
vertical: 2,
horizontal: 3
};
var c_oAscChartVertAxisLabelShowSettings =
{
none : 0,
rotated : 1,
vertical : 2,
horizontal : 3
};
var c_oAscChartLegendShowSettings =
{
none: 0,
left: 1,
top: 2,
right: 3,
bottom: 4,
leftOverlay: 5,
rightOverlay: 6,
layout: 7,
topRight: 8 // ToDo добавить в меню
};
var c_oAscChartDataLabelsPos =
{
none: 0,
b: 1,
bestFit: 2,
ctr: 3,
inBase: 4,
inEnd: 5,
l: 6,
outEnd: 7,
r: 8,
t: 9
};
var c_oAscChartCatAxisSettings =
{
none: 0,
leftToRight: 1,
rightToLeft: 2,
noLabels: 3
};
var c_oAscChartLegendShowSettings =
{
none : 0,
left : 1,
top : 2,
right : 3,
bottom : 4,
leftOverlay : 5,
rightOverlay : 6,
layout : 7,
topRight : 8 // ToDo добавить в меню
};
var c_oAscChartValAxisSettings =
{
none: 0,
byDefault: 1,
thousands: 2,
millions: 3,
billions: 4,
log: 5
};
var c_oAscAxisTypeSettings =
{
vert: 0,
hor: 1
};
var c_oAscChartDataLabelsPos =
{
none : 0,
b : 1,
bestFit : 2,
ctr : 3,
inBase : 4,
inEnd : 5,
l : 6,
outEnd : 7,
r : 8,
t : 9
};
var c_oAscGridLinesSettings =
{
none: 0,
major: 1,
minor: 2,
majorMinor: 3
};
var c_oAscChartCatAxisSettings =
{
none : 0,
leftToRight : 1,
rightToLeft : 2,
noLabels : 3
};
var c_oAscChartValAxisSettings =
{
none : 0,
byDefault : 1,
thousands : 2,
millions : 3,
billions : 4,
log : 5
};
var c_oAscChartTypeSettings =
{
var c_oAscAxisTypeSettings =
{
vert : 0,
hor : 1
};
var c_oAscGridLinesSettings =
{
none : 0,
major : 1,
minor : 2,
majorMinor : 3
};
var c_oAscChartTypeSettings =
{
barNormal : 0,
barStacked : 1,
barStackedPer : 2,
barNormal3d : 3,
barStacked3d : 4,
barStackedPer3d : 5,
barNormal3dPerspective: 6,
barNormal3dPerspective : 6,
lineNormal : 7,
lineStacked : 8,
lineStackedPer : 9,
......@@ -418,171 +419,171 @@ var c_oAscChartTypeSettings =
scatterSmooth : 32,
scatterSmoothMarker : 33,
unknown : 34
};
};
var c_oAscValAxisRule =
{
auto:0,
fixed:1
};
var c_oAscValAxisRule =
{
auto : 0,
fixed : 1
};
var c_oAscValAxUnits =
{
none:0,
BILLIONS: 1,
HUNDRED_MILLIONS: 2,
HUNDREDS: 3,
HUNDRED_THOUSANDS: 4,
MILLIONS: 5,
TEN_MILLIONS: 6,
TEN_THOUSANDS: 7,
TRILLIONS: 8,
CUSTOM: 9,
THOUSANDS: 10
};
var c_oAscTickMark =
{
TICK_MARK_CROSS: 0,
TICK_MARK_IN: 1,
TICK_MARK_NONE: 2,
TICK_MARK_OUT: 3
};
var c_oAscValAxUnits =
{
none : 0,
BILLIONS : 1,
HUNDRED_MILLIONS : 2,
HUNDREDS : 3,
HUNDRED_THOUSANDS : 4,
MILLIONS : 5,
TEN_MILLIONS : 6,
TEN_THOUSANDS : 7,
TRILLIONS : 8,
CUSTOM : 9,
THOUSANDS : 10
var c_oAscTickLabelsPos =
{
TICK_LABEL_POSITION_HIGH:0,
TICK_LABEL_POSITION_LOW: 1,
TICK_LABEL_POSITION_NEXT_TO: 2,
};
var c_oAscTickMark =
{
TICK_MARK_CROSS : 0,
TICK_MARK_IN : 1,
TICK_MARK_NONE : 2,
TICK_MARK_OUT : 3
};
var c_oAscTickLabelsPos =
{
TICK_LABEL_POSITION_HIGH : 0,
TICK_LABEL_POSITION_LOW : 1,
TICK_LABEL_POSITION_NEXT_TO : 2,
TICK_LABEL_POSITION_NONE : 3
};
};
var c_oAscCrossesRule =
{
auto:0,
maxValue: 1,
value: 2,
minValue: 3
};
var c_oAscCrossesRule =
{
auto : 0,
maxValue : 1,
value : 2,
minValue : 3
};
var c_oAscHorAxisType =
{
auto: 0,
date: 1,
text: 2
};
var c_oAscHorAxisType =
{
auto : 0,
date : 1,
text : 2
};
var c_oAscBetweenLabelsRule =
{
auto: 0,
manual: 1
};
var c_oAscBetweenLabelsRule =
{
auto : 0,
manual : 1
};
var c_oAscLabelsPosition =
{
byDivisions: 0,
betweenDivisions: 1
};
var c_oAscLabelsPosition =
{
byDivisions : 0,
betweenDivisions : 1
};
var c_oAscAxisType =
{
auto: 0,
date: 1,
text: 2,
var c_oAscAxisType =
{
auto : 0,
date : 1,
text : 2,
cat : 3,
val : 4
};
var c_oAscHAnchor = {
Margin: 0x00,
Page: 0x01,
Text: 0x02,
PageInternal: 0xFF // только для внутреннего использования
};
var c_oAscXAlign = {
Center: 0x00,
Inside: 0x01,
Left: 0x02,
Outside: 0x03,
Right: 0x04
};
var c_oAscYAlign = {
Bottom: 0x00,
Center: 0x01,
Inline: 0x02,
Inside: 0x03,
Outside: 0x04,
Top: 0x05
};
var c_oAscVAnchor = {
Margin: 0x00,
Page: 0x01,
Text: 0x02
};
var c_oAscRelativeFromH = {
Character: 0x00,
Column: 0x01,
InsideMargin: 0x02,
LeftMargin: 0x03,
Margin: 0x04,
OutsideMargin: 0x05,
Page: 0x06,
RightMargin: 0x07
};
var c_oAscSizeRelFromH =
{
sizerelfromhMargin: 0,
sizerelfromhPage: 1,
sizerelfromhLeftMargin: 2,
sizerelfromhRightMargin: 3,
sizerelfromhInsideMargin: 4,
sizerelfromhOutsideMargin: 5
};
var c_oAscSizeRelFromV =
{
sizerelfromvMargin: 0,
sizerelfromvPage: 1,
sizerelfromvTopMargin: 2,
sizerelfromvBottomMargin: 3,
sizerelfromvInsideMargin: 4,
sizerelfromvOutsideMargin: 5
};
var c_oAscRelativeFromV = {
BottomMargin: 0x00,
InsideMargin: 0x01,
Line: 0x02,
Margin: 0x03,
OutsideMargin: 0x04,
Page: 0x05,
Paragraph: 0x06,
TopMargin: 0x07
};
// image wrap style
var c_oAscWrapStyle = {
Inline:0,
};
var c_oAscHAnchor = {
Margin : 0x00,
Page : 0x01,
Text : 0x02,
PageInternal : 0xFF // только для внутреннего использования
};
var c_oAscXAlign = {
Center : 0x00,
Inside : 0x01,
Left : 0x02,
Outside : 0x03,
Right : 0x04
};
var c_oAscYAlign = {
Bottom : 0x00,
Center : 0x01,
Inline : 0x02,
Inside : 0x03,
Outside : 0x04,
Top : 0x05
};
var c_oAscVAnchor = {
Margin : 0x00,
Page : 0x01,
Text : 0x02
};
var c_oAscRelativeFromH = {
Character : 0x00,
Column : 0x01,
InsideMargin : 0x02,
LeftMargin : 0x03,
Margin : 0x04,
OutsideMargin : 0x05,
Page : 0x06,
RightMargin : 0x07
};
var c_oAscSizeRelFromH =
{
sizerelfromhMargin : 0,
sizerelfromhPage : 1,
sizerelfromhLeftMargin : 2,
sizerelfromhRightMargin : 3,
sizerelfromhInsideMargin : 4,
sizerelfromhOutsideMargin : 5
};
var c_oAscSizeRelFromV =
{
sizerelfromvMargin : 0,
sizerelfromvPage : 1,
sizerelfromvTopMargin : 2,
sizerelfromvBottomMargin : 3,
sizerelfromvInsideMargin : 4,
sizerelfromvOutsideMargin : 5
};
var c_oAscRelativeFromV = {
BottomMargin : 0x00,
InsideMargin : 0x01,
Line : 0x02,
Margin : 0x03,
OutsideMargin : 0x04,
Page : 0x05,
Paragraph : 0x06,
TopMargin : 0x07
};
// image wrap style
var c_oAscWrapStyle = {
Inline : 0,
Flow : 1
};
};
// Толщина бордера
var c_oAscBorderWidth = {
// Толщина бордера
var c_oAscBorderWidth = {
None : 0, // 0px
Thin : 1, // 1px
Medium : 2, // 2px
Thick : 3 // 3px
};
// Располагаются в порядке значимости для отрисовки
var c_oAscBorderStyles = {
};
// Располагаются в порядке значимости для отрисовки
var c_oAscBorderStyles = {
None : 0,
Double : 1,
Hair : 2,
......@@ -597,51 +598,51 @@ var c_oAscBorderStyles = {
MediumDashed : 11,
Medium : 12,
Thick : 13
};
var c_oAscBorderType = {
};
var c_oAscBorderType = {
Hor : 1,
Ver : 2,
Diag : 3
};
// PageOrientation
var c_oAscPageOrientation = {
};
// PageOrientation
var c_oAscPageOrientation = {
PagePortrait : 0x00,
PageLandscape : 0x01
};
/**
};
/**
* lock types
* @const
*/
var c_oAscLockTypes = {
var c_oAscLockTypes = {
kLockTypeNone : 1, // никто не залочил данный объект
kLockTypeMine : 2, // данный объект залочен текущим пользователем
kLockTypeOther : 3, // данный объект залочен другим(не текущим) пользователем
kLockTypeOther2 : 4, // данный объект залочен другим(не текущим) пользователем (обновления уже пришли)
kLockTypeOther3 : 5 // данный объект был залочен (обновления пришли) и снова стал залочен
};
};
var c_oAscFormatPainterState = {
var c_oAscFormatPainterState = {
kOff : 0,
kOn : 1,
kMultiple : 2
};
};
var c_oAscSaveTypes = {
var c_oAscSaveTypes = {
PartStart : 0,
Part : 1,
Complete : 2,
CompleteAll : 3
};
};
var c_oAscColor = {
var c_oAscColor = {
COLOR_TYPE_NONE : 0,
COLOR_TYPE_SRGB : 1,
COLOR_TYPE_PRST : 2,
COLOR_TYPE_SCHEME : 3,
COLOR_TYPE_SYS : 4
};
};
var c_oAscFill = {
var c_oAscFill = {
FILL_TYPE_NONE : 0,
FILL_TYPE_BLIP : 1,
FILL_TYPE_NOFILL : 2,
......@@ -649,10 +650,10 @@ var c_oAscFill = {
FILL_TYPE_GRAD : 4,
FILL_TYPE_PATT : 5,
FILL_TYPE_GRP : 6
};
};
// Chart defines
var c_oAscChartType = {
// Chart defines
var c_oAscChartType = {
line : "Line",
bar : "Bar",
hbar : "HBar",
......@@ -660,60 +661,60 @@ var c_oAscChartType = {
pie : "Pie",
scatter : "Scatter",
stock : "Stock",
doughnut: "Doughnut"
};
var c_oAscChartSubType = {
doughnut : "Doughnut"
};
var c_oAscChartSubType = {
normal : "normal",
stacked : "stacked",
stackedPer : "stackedPer"
};
};
var c_oAscFillGradType = {
var c_oAscFillGradType = {
GRAD_LINEAR : 1,
GRAD_PATH : 2
};
var c_oAscFillBlipType = {
};
var c_oAscFillBlipType = {
STRETCH : 1,
TILE : 2
};
var c_oAscStrokeType = {
};
var c_oAscStrokeType = {
STROKE_NONE : 0,
STROKE_COLOR: 1
};
STROKE_COLOR : 1
};
var c_oAscVerticalTextAlign = {
var c_oAscVerticalTextAlign = {
TEXT_ALIGN_BOTTOM : 0, // (Text Anchor Enum ( Bottom ))
TEXT_ALIGN_CTR : 1, // (Text Anchor Enum ( Center ))
TEXT_ALIGN_DIST : 2, // (Text Anchor Enum ( Distributed ))
TEXT_ALIGN_JUST : 3, // (Text Anchor Enum ( Justified ))
TEXT_ALIGN_TOP : 4 // Top
};
};
var c_oAscVertDrawingText =
{
var c_oAscVertDrawingText =
{
normal : 1,
vert : 3,
vert270: 4
};
var c_oAscLineJoinType = {
vert270 : 4
};
var c_oAscLineJoinType = {
Round : 1,
Bevel : 2,
Miter : 3
};
var c_oAscLineCapType = {
};
var c_oAscLineCapType = {
Flat : 0,
Round : 1,
Square : 2
};
var c_oAscLineBeginType = {
};
var c_oAscLineBeginType = {
None : 0,
Arrow : 1,
Diamond : 2,
Oval : 3,
Stealth : 4,
Triangle: 5
};
var c_oAscLineBeginSize = {
Triangle : 5
};
var c_oAscLineBeginSize = {
small_small : 0,
small_mid : 1,
small_large : 2,
......@@ -723,88 +724,88 @@ var c_oAscLineBeginSize = {
large_small : 6,
large_mid : 7,
large_large : 8
};
var c_oAscCsvDelimiter = {
None: 0,
Tab: 1,
Semicolon: 2,
Сolon: 3,
Comma: 4,
Space: 5
};
var c_oAscUrlType = {
};
var c_oAscCsvDelimiter = {
None : 0,
Tab : 1,
Semicolon : 2,
Сolon : 3,
Comma : 4,
Space : 5
};
var c_oAscUrlType = {
Invalid : 0,
Http: 1,
Email: 2
};
Http : 1,
Email : 2
};
var c_oAscCellTextDirection = {
var c_oAscCellTextDirection = {
LRTB : 0x00,
TBRL : 0x01,
BTLR : 0x02
};
};
var c_oAscDocumentUnits = {
var c_oAscDocumentUnits = {
Millimeter : 0,
Inch : 1,
Point : 2
};
};
var c_oAscMouseMoveDataTypes = {
Common: 0,
Hyperlink: 1,
LockedObject: 2
};
var c_oAscMouseMoveDataTypes = {
Common : 0,
Hyperlink : 1,
LockedObject : 2
};
// selection type
var c_oAscSelectionType = {
RangeCells: 1,
RangeCol: 2,
RangeRow: 3,
RangeMax: 4,
RangeImage: 5,
RangeChart: 6,
RangeShape: 7,
RangeShapeText: 8,
RangeChartText: 9,
RangeFrozen: 10
RangeCells : 1,
RangeCol : 2,
RangeRow : 3,
RangeMax : 4,
RangeImage : 5,
RangeChart : 6,
RangeShape : 7,
RangeShapeText : 8,
RangeChartText : 9,
RangeFrozen : 10
};
var c_oAscInsertOptions = {
InsertCellsAndShiftRight: 1,
InsertCellsAndShiftDown: 2,
InsertColumns: 3,
InsertRows: 4,
InsertTableRowAbove: 5,
InsertTableRowBelow: 6,
InsertTableColLeft: 7,
InsertTableColRight: 8
InsertCellsAndShiftRight : 1,
InsertCellsAndShiftDown : 2,
InsertColumns : 3,
InsertRows : 4,
InsertTableRowAbove : 5,
InsertTableRowBelow : 6,
InsertTableColLeft : 7,
InsertTableColRight : 8
};
var c_oAscDeleteOptions = {
DeleteCellsAndShiftLeft: 1,
DeleteCellsAndShiftTop: 2,
DeleteColumns: 3,
DeleteRows: 4,
DeleteTable: 5
DeleteCellsAndShiftLeft : 1,
DeleteCellsAndShiftTop : 2,
DeleteColumns : 3,
DeleteRows : 4,
DeleteTable : 5
};
// Print default options (in mm)
var c_oAscPrintDefaultSettings = {
// Print default options (in mm)
var c_oAscPrintDefaultSettings = {
// Размеры страницы при печати
PageWidth: 210,
PageHeight: 297,
PageOrientation: c_oAscPageOrientation.PagePortrait,
PageWidth : 210,
PageHeight : 297,
PageOrientation : c_oAscPageOrientation.PagePortrait,
// Поля для страницы при печати
PageLeftField: 17.8,
PageRightField: 17.8,
PageTopField: 19.1,
PageBottomField: 19.1,
PageLeftField : 17.8,
PageRightField : 17.8,
PageTopField : 19.1,
PageBottomField : 19.1,
PageGridLines: 0,
PageHeadings: 0
};
PageGridLines : 0,
PageHeadings : 0
};
var c_oZoomType = {
FitToPage : 1,
......@@ -812,140 +813,143 @@ var c_oAscPrintDefaultSettings = {
CustomMode : 3
};
var c_oAscEncodings = [
[ 0, 28596, "ISO-8859-6", "Arabic (ISO 8859-6)" ],
[ 1, 720, "DOS-720", "Arabic (OEM 720)" ],
[ 2, 1256, "windows-1256", "Arabic (Windows)" ],
[ 3, 28594, "ISO-8859-4", "Baltic (ISO 8859-4)" ],
[ 4, 28603, "ISO-8859-13", "Baltic (ISO 8859-13)" ],
[ 5, 775, "IBM775", "Baltic (OEM 775)" ],
[ 6, 1257, "windows-1257", "Baltic (Windows)" ],
[ 7, 28604, "ISO-8859-14", "Celtic (ISO 8859-14)" ],
[ 8, 28595, "ISO-8859-5", "Cyrillic (ISO 8859-5)" ],
[ 9, 20866, "KOI8-R", "Cyrillic (KOI8-R)" ],
[ 10, 21866, "KOI8-U", "Cyrillic (KOI8-U)" ],
[ 11, 10007, "x-mac-cyrillic", "Cyrillic (Mac)" ],
[ 12, 855, "IBM855", "Cyrillic (OEM 855)" ],
[ 13, 866, "cp866", "Cyrillic (OEM 866)" ],
[ 14, 1251, "windows-1251", "Cyrillic (Windows)" ],
[ 15, 852, "IBM852", "Central European (OEM 852)" ],
[ 16, 1250, "windows-1250", "Central European (Windows)" ],
[ 17, 950, "Big5", "Chinese (Big5 Traditional)" ],
[ 18, 936, "GB2312", "Central (GB2312 Simplified)" ],
[ 19, 28592, "ISO-8859-2", "Eastern European (ISO 8859-2)" ],
[ 20, 28597, "ISO-8859-7", "Greek (ISO 8859-7)" ],
[ 21, 737, "IBM737", "Greek (OEM 737)" ],
[ 22, 869, "IBM869", "Greek (OEM 869)" ],
[ 23, 1253, "windows-1253", "Greek (Windows)" ],
[ 24, 28598, "ISO-8859-8", "Hebrew (ISO 8859-8)" ],
[ 25, 862, "DOS-862", "Hebrew (OEM 862)" ],
[ 26, 1255, "windows-1255", "Hebrew (Windows)" ],
[ 27, 932, "Shift_JIS", "Japanese (Shift-JIS)" ],
[ 28, 949, "KS_C_5601-1987", "Korean (Windows)" ],
[ 29, 51949, "EUC-KR", "Korean (EUC)" ],
[ 30, 861, "IBM861", "North European (Icelandic OEM 861)" ],
[ 31, 865, "IBM865", "North European (Nordic OEM 865)" ],
[ 32, 874, "windows-874", "Thai (TIS-620)" ],
[ 33, 28593, "ISO-8859-3", "Turkish (ISO 8859-3)" ],
[ 34, 28599, "ISO-8859-9", "Turkish (ISO 8859-9)" ],
[ 35, 857, "IBM857", "Turkish (OEM 857)" ],
[ 36, 1254, "windows-1254", "Turkish (Windows)" ],
[ 37, 28591, "ISO-8859-1", "Western European (ISO-8859-1)" ],
[ 38, 28605, "ISO-8859-15", "Western European (ISO-8859-15)" ],
[ 39, 850, "IBM850", "Western European (OEM 850)" ],
[ 40, 858, "IBM858", "Western European (OEM 858)" ],
[ 41, 860, "IBM860", "Western European (OEM 860 : Portuguese)" ],
[ 42, 863, "IBM863", "Western European (OEM 863 : French)" ],
[ 43, 437, "IBM437", "Western European (OEM-US)" ],
[ 44, 1252, "windows-1252", "Western European (Windows)" ],
[ 45, 1258, "windows-1258", "Vietnamese (Windows)" ],
[ 46, 65001, "UTF-8", "Unicode (UTF-8)" ],
[ 47, 65000, "UTF-7", "Unicode (UTF-7)" ],
[ 48, 1200, "UTF-16", "Unicode (UTF-16)" ],
[ 49, 1201, "UTF-16BE", "Unicode (UTF-16 Big Endian)" ],
[ 50, 12000, "UTF-32", "Unicode (UTF-32)" ],
[ 51, 12001, "UTF-32BE", "Unicode (UTF-32 Big Endian)" ]
];
var c_oAscEncodingsMap = {"437": 43, "720": 1, "737": 21, "775": 5, "850": 39, "852": 15, "855": 12, "857": 35, "858": 40, "860": 41, "861": 30, "862": 25, "863": 42, "865": 31, "866": 13, "869": 22, "874": 32, "932": 27, "936": 18, "949": 28, "950": 17, "1200": 48, "1201": 49, "1250": 16, "1251": 14, "1252": 44, "1253": 23, "1254": 36, "1255": 26, "1256": 2, "1257": 6, "1258": 45, "10007": 11, "12000": 50, "12001": 51, "20866": 9, "21866": 10, "28591": 37, "28592": 19, "28593": 33, "28594": 3, "28595": 8, "28596": 0, "28597": 20, "28598": 24, "28599": 34, "28603": 4, "28604": 7, "28605": 38, "51949": 29, "65000": 47, "65001": 46}
var c_oAscCodePageUtf8 = 46;//65001
// https://support.office.com/en-us/article/Excel-specifications-and-limits-16c69c74-3d6a-4aaf-ba35-e6eb276e8eaa?ui=en-US&rs=en-US&ad=US&fromAR=1
var c_oAscMaxTooltipLength = 256;
var c_oAscMaxCellOrCommentLength = 32767;
var c_oAscMaxFormulaLength = 8192;
var locktype_None = 1; // никто не залочил данный объект
var locktype_Mine = 2; // данный объект залочен текущим пользователем
var locktype_Other = 3; // данный объект залочен другим(не текущим) пользователем
var locktype_Other2 = 4; // данный объект залочен другим(не текущим) пользователем (обновления уже пришли)
var locktype_Other3 = 5; // данный объект был залочен (обновления пришли) и снова стал залочен
var changestype_None = 0; // Ничего не происходит с выделенным элементом (проверка идет через дополнительный параметр)
var changestype_Paragraph_Content = 1; // Добавление/удаление элементов в параграф
var changestype_Paragraph_Properties = 2; // Изменение свойств параграфа
var changestype_Document_Content = 10; // Добавление/удаление элементов в Document или в DocumentContent
var changestype_Document_Content_Add = 11; // Добавление элемента в класс Document или в класс DocumentContent
var changestype_Document_SectPr = 12; // Изменения свойств данной секции (размер страницы, поля и ориентация)
var changestype_Document_Styles = 13; // Изменяем стили документа (добавление/удаление/модифицирование)
var changestype_Table_Properties = 20; // Любые изменения в таблице
var changestype_Table_RemoveCells = 21; // Удаление ячеек (строк или столбцов)
var changestype_Image_Properties = 23; // Изменения настроек картинки
var changestype_HdrFtr = 30; // Изменения в колонтитуле (любые изменения)
var changestype_Remove = 40; // Удаление, через кнопку backspace (Удаление назад)
var changestype_Delete = 41; // Удаление, через кнопку delete (Удаление вперед)
var changestype_Drawing_Props = 51; // Изменение свойств фигуры
var changestype_ColorScheme = 60; // Изменение свойств фигуры
var changestype_Text_Props = 61; // Изменение свойств фигуры
var changestype_RemoveSlide = 62; // Изменение свойств фигуры
var changestype_PresentationProps = 63; // Изменение темы, цветовой схемы, размера слайда;
var changestype_Theme = 64; // Изменение темы;
var changestype_SlideSize = 65; // Изменение цветовой схемы;
var changestype_SlideBg = 66; // Изменение цветовой схемы;
var changestype_SlideTiming = 67; // Изменение цветовой схемы;
var changestype_MoveComment = 68;
var changestype_AddSp = 69;
var changestype_AddComment = 70;
var changestype_Layout = 71;
var changestype_AddShape = 72;
var changestype_AddShapes = 73;
var changestype_2_InlineObjectMove = 1; // Передвигаем объект в заданную позцию (проверяем место, в которое пытаемся передвинуть)
var changestype_2_HdrFtr = 2; // Изменения с колонтитулом
var changestype_2_Comment = 3; // Работает с комментариями
var changestype_2_Element_and_Type = 4; // Проверяем возможно ли сделать изменение заданного типа с заданным элементом(а не с текущим)
var changestype_2_ElementsArray_and_Type = 5; // Аналогично предыдущему, только идет массив элементов
var changestype_2_AdditionalTypes = 6; // Дополнительные проверки типа 1
var contentchanges_Add = 1;
var contentchanges_Remove = 2;
var offlineMode = '_offline_';
var c_oAscEncodings = [
[0, 28596, "ISO-8859-6", "Arabic (ISO 8859-6)"],
[1, 720, "DOS-720", "Arabic (OEM 720)"],
[2, 1256, "windows-1256", "Arabic (Windows)"],
[3, 28594, "ISO-8859-4", "Baltic (ISO 8859-4)"],
[4, 28603, "ISO-8859-13", "Baltic (ISO 8859-13)"],
[5, 775, "IBM775", "Baltic (OEM 775)"],
[6, 1257, "windows-1257", "Baltic (Windows)"],
[7, 28604, "ISO-8859-14", "Celtic (ISO 8859-14)"],
[8, 28595, "ISO-8859-5", "Cyrillic (ISO 8859-5)"],
[9, 20866, "KOI8-R", "Cyrillic (KOI8-R)"],
[10, 21866, "KOI8-U", "Cyrillic (KOI8-U)"],
[11, 10007, "x-mac-cyrillic", "Cyrillic (Mac)"],
[12, 855, "IBM855", "Cyrillic (OEM 855)"],
[13, 866, "cp866", "Cyrillic (OEM 866)"],
[14, 1251, "windows-1251", "Cyrillic (Windows)"],
[15, 852, "IBM852", "Central European (OEM 852)"],
[16, 1250, "windows-1250", "Central European (Windows)"],
[17, 950, "Big5", "Chinese (Big5 Traditional)"],
[18, 936, "GB2312", "Central (GB2312 Simplified)"],
[19, 28592, "ISO-8859-2", "Eastern European (ISO 8859-2)"],
[20, 28597, "ISO-8859-7", "Greek (ISO 8859-7)"],
[21, 737, "IBM737", "Greek (OEM 737)"],
[22, 869, "IBM869", "Greek (OEM 869)"],
[23, 1253, "windows-1253", "Greek (Windows)"],
[24, 28598, "ISO-8859-8", "Hebrew (ISO 8859-8)"],
[25, 862, "DOS-862", "Hebrew (OEM 862)"],
[26, 1255, "windows-1255", "Hebrew (Windows)"],
[27, 932, "Shift_JIS", "Japanese (Shift-JIS)"],
[28, 949, "KS_C_5601-1987", "Korean (Windows)"],
[29, 51949, "EUC-KR", "Korean (EUC)"],
[30, 861, "IBM861", "North European (Icelandic OEM 861)"],
[31, 865, "IBM865", "North European (Nordic OEM 865)"],
[32, 874, "windows-874", "Thai (TIS-620)"],
[33, 28593, "ISO-8859-3", "Turkish (ISO 8859-3)"],
[34, 28599, "ISO-8859-9", "Turkish (ISO 8859-9)"],
[35, 857, "IBM857", "Turkish (OEM 857)"],
[36, 1254, "windows-1254", "Turkish (Windows)"],
[37, 28591, "ISO-8859-1", "Western European (ISO-8859-1)"],
[38, 28605, "ISO-8859-15", "Western European (ISO-8859-15)"],
[39, 850, "IBM850", "Western European (OEM 850)"],
[40, 858, "IBM858", "Western European (OEM 858)"],
[41, 860, "IBM860", "Western European (OEM 860 : Portuguese)"],
[42, 863, "IBM863", "Western European (OEM 863 : French)"],
[43, 437, "IBM437", "Western European (OEM-US)"],
[44, 1252, "windows-1252", "Western European (Windows)"],
[45, 1258, "windows-1258", "Vietnamese (Windows)"],
[46, 65001, "UTF-8", "Unicode (UTF-8)"],
[47, 65000, "UTF-7", "Unicode (UTF-7)"],
[48, 1200, "UTF-16", "Unicode (UTF-16)"],
[49, 1201, "UTF-16BE", "Unicode (UTF-16 Big Endian)"],
[50, 12000, "UTF-32", "Unicode (UTF-32)"],
[51, 12001, "UTF-32BE", "Unicode (UTF-32 Big Endian)"]
];
var c_oAscEncodingsMap = {
"437" : 43, "720" : 1, "737" : 21, "775" : 5, "850" : 39, "852" : 15, "855" : 12, "857" : 35, "858" : 40, "860" : 41, "861" : 30, "862" : 25, "863" : 42, "865" : 31, "866" : 13, "869" : 22, "874" : 32, "932" : 27, "936" : 18, "949" : 28, "950" : 17, "1200" : 48, "1201" : 49, "1250" : 16, "1251" : 14, "1252" : 44, "1253" : 23, "1254" : 36, "1255" : 26, "1256" : 2, "1257" : 6, "1258" : 45, "10007" : 11, "12000" : 50, "12001" : 51, "20866" : 9, "21866" : 10, "28591" : 37, "28592" : 19,
"28593" : 33, "28594" : 3, "28595" : 8, "28596" : 0, "28597" : 20, "28598" : 24, "28599" : 34, "28603" : 4, "28604" : 7, "28605" : 38, "51949" : 29, "65000" : 47, "65001" : 46
}
var c_oAscCodePageUtf8 = 46;//65001
// https://support.office.com/en-us/article/Excel-specifications-and-limits-16c69c74-3d6a-4aaf-ba35-e6eb276e8eaa?ui=en-US&rs=en-US&ad=US&fromAR=1
var c_oAscMaxTooltipLength = 256;
var c_oAscMaxCellOrCommentLength = 32767;
var c_oAscMaxFormulaLength = 8192;
var locktype_None = 1; // никто не залочил данный объект
var locktype_Mine = 2; // данный объект залочен текущим пользователем
var locktype_Other = 3; // данный объект залочен другим(не текущим) пользователем
var locktype_Other2 = 4; // данный объект залочен другим(не текущим) пользователем (обновления уже пришли)
var locktype_Other3 = 5; // данный объект был залочен (обновления пришли) и снова стал залочен
var changestype_None = 0; // Ничего не происходит с выделенным элементом (проверка идет через дополнительный параметр)
var changestype_Paragraph_Content = 1; // Добавление/удаление элементов в параграф
var changestype_Paragraph_Properties = 2; // Изменение свойств параграфа
var changestype_Document_Content = 10; // Добавление/удаление элементов в Document или в DocumentContent
var changestype_Document_Content_Add = 11; // Добавление элемента в класс Document или в класс DocumentContent
var changestype_Document_SectPr = 12; // Изменения свойств данной секции (размер страницы, поля и ориентация)
var changestype_Document_Styles = 13; // Изменяем стили документа (добавление/удаление/модифицирование)
var changestype_Table_Properties = 20; // Любые изменения в таблице
var changestype_Table_RemoveCells = 21; // Удаление ячеек (строк или столбцов)
var changestype_Image_Properties = 23; // Изменения настроек картинки
var changestype_HdrFtr = 30; // Изменения в колонтитуле (любые изменения)
var changestype_Remove = 40; // Удаление, через кнопку backspace (Удаление назад)
var changestype_Delete = 41; // Удаление, через кнопку delete (Удаление вперед)
var changestype_Drawing_Props = 51; // Изменение свойств фигуры
var changestype_ColorScheme = 60; // Изменение свойств фигуры
var changestype_Text_Props = 61; // Изменение свойств фигуры
var changestype_RemoveSlide = 62; // Изменение свойств фигуры
var changestype_PresentationProps = 63; // Изменение темы, цветовой схемы, размера слайда;
var changestype_Theme = 64; // Изменение темы;
var changestype_SlideSize = 65; // Изменение цветовой схемы;
var changestype_SlideBg = 66; // Изменение цветовой схемы;
var changestype_SlideTiming = 67; // Изменение цветовой схемы;
var changestype_MoveComment = 68;
var changestype_AddSp = 69;
var changestype_AddComment = 70;
var changestype_Layout = 71;
var changestype_AddShape = 72;
var changestype_AddShapes = 73;
var changestype_2_InlineObjectMove = 1; // Передвигаем объект в заданную позцию (проверяем место, в которое пытаемся передвинуть)
var changestype_2_HdrFtr = 2; // Изменения с колонтитулом
var changestype_2_Comment = 3; // Работает с комментариями
var changestype_2_Element_and_Type = 4; // Проверяем возможно ли сделать изменение заданного типа с заданным элементом(а не с текущим)
var changestype_2_ElementsArray_and_Type = 5; // Аналогично предыдущему, только идет массив элементов
var changestype_2_AdditionalTypes = 6; // Дополнительные проверки типа 1
var contentchanges_Add = 1;
var contentchanges_Remove = 2;
var offlineMode = '_offline_';
//------------------------------------------------------------export--------------------------------------------------
var prot;
window['Asc'] = window['Asc'] || {};
window['Asc']['FONT_THUMBNAIL_HEIGHT'] = FONT_THUMBNAIL_HEIGHT;
window['Asc']['c_oAscMaxColumnWidth'] = window['Asc'].c_oAscMaxColumnWidth = c_oAscMaxColumnWidth;
window['Asc']['c_oAscMaxRowHeight'] = window['Asc'].c_oAscMaxRowHeight = c_oAscMaxRowHeight;
window['Asc']['c_oAscFileType'] = window['Asc'].c_oAscFileType = c_oAscFileType;
window['Asc'] = window['Asc'] || {};
window['Asc']['FONT_THUMBNAIL_HEIGHT'] = FONT_THUMBNAIL_HEIGHT;
window['Asc']['c_oAscMaxColumnWidth'] = window['Asc'].c_oAscMaxColumnWidth = c_oAscMaxColumnWidth;
window['Asc']['c_oAscMaxRowHeight'] = window['Asc'].c_oAscMaxRowHeight = c_oAscMaxRowHeight;
window['Asc']['c_oAscFileType'] = window['Asc'].c_oAscFileType = c_oAscFileType;
prot = c_oAscFileType;
prot['UNKNOWN'] = prot.UNKNOWN;
prot['PDF'] = prot.PDF;
......@@ -969,7 +973,7 @@ window['Asc']['c_oAscFileType'] = window['Asc'].c_oAscFileType = c_oAscFileType;
prot['PPTX'] = prot.PPTX;
prot['PPT'] = prot.PPT;
prot['ODP'] = prot.ODP;
window['Asc']['c_oAscError'] = window['Asc'].c_oAscError = c_oAscError;
window['Asc']['c_oAscError'] = window['Asc'].c_oAscError = c_oAscError;
prot = c_oAscError;
prot['Level'] = prot.Level;
prot['ID'] = prot.ID;
......@@ -1035,7 +1039,7 @@ window['Asc']['c_oAscError'] = window['Asc'].c_oAscError = c_oAscError;
prot['InvalidReferenceOrName'] = prot.InvalidReferenceOrName;
prot['LockCreateDefName'] = prot.LockCreateDefName;
prot['OpenWarning'] = prot.OpenWarning;
window['Asc']['c_oAscAsyncAction'] = window['Asc'].c_oAscAsyncAction = c_oAscAsyncAction;
window['Asc']['c_oAscAsyncAction'] = window['Asc'].c_oAscAsyncAction = c_oAscAsyncAction;
prot = c_oAscAsyncAction;
prot['Open'] = prot.Open;
prot['Save'] = prot.Save;
......@@ -1052,20 +1056,20 @@ window['Asc']['c_oAscAsyncAction'] = window['Asc'].c_oAscAsyncAction = c_oAscAsy
prot['MailMergeLoadFile'] = prot.MailMergeLoadFile;
prot['DownloadMerge'] = prot.DownloadMerge;
prot['SendMailMerge'] = prot.SendMailMerge;
window['Asc']['c_oAscAdvancedOptionsID'] = window['Asc'].c_oAscAdvancedOptionsID = c_oAscAdvancedOptionsID;
window['Asc']['c_oAscAdvancedOptionsID'] = window['Asc'].c_oAscAdvancedOptionsID = c_oAscAdvancedOptionsID;
prot = c_oAscAdvancedOptionsID;
prot['CSV'] = prot.CSV;
prot['TXT'] = prot.TXT;
window['Asc']['c_oAscFontRenderingModeType'] = window['Asc'].c_oAscFontRenderingModeType = c_oAscFontRenderingModeType;
window['Asc']['c_oAscFontRenderingModeType'] = window['Asc'].c_oAscFontRenderingModeType = c_oAscFontRenderingModeType;
prot = c_oAscFontRenderingModeType;
prot['noHinting'] = prot.noHinting;
prot['hinting'] = prot.hinting;
prot['hintingAndSubpixeling'] = prot.hintingAndSubpixeling;
window['Asc']['c_oAscAsyncActionType'] = window['Asc'].c_oAscAsyncActionType = c_oAscAsyncActionType;
window['Asc']['c_oAscAsyncActionType'] = window['Asc'].c_oAscAsyncActionType = c_oAscAsyncActionType;
prot = c_oAscAsyncActionType;
prot['Information'] = prot.Information;
prot['BlockInteraction'] = prot.BlockInteraction;
window['Asc']['c_oAscNumFormatType'] = window['Asc'].c_oAscNumFormatType = c_oAscNumFormatType;
window['Asc']['c_oAscNumFormatType'] = window['Asc'].c_oAscNumFormatType = c_oAscNumFormatType;
prot = c_oAscNumFormatType;
prot['General'] = prot.General;
prot['Custom'] = prot.Custom;
......@@ -1079,13 +1083,13 @@ window['Asc']['c_oAscNumFormatType'] = window['Asc'].c_oAscNumFormatType = c_oAs
prot['Percent'] = prot.Percent;
prot['Fraction'] = prot.Fraction;
prot['Accounting'] = prot.Accounting;
window['Asc']['c_oAscDrawingLayerType'] = c_oAscDrawingLayerType;
window['Asc']['c_oAscDrawingLayerType'] = c_oAscDrawingLayerType;
prot = c_oAscDrawingLayerType;
prot['BringToFront'] = prot.BringToFront;
prot['SendToBack'] = prot.SendToBack;
prot['BringForward'] = prot.BringForward;
prot['SendBackward'] = prot.SendBackward;
window['Asc']['c_oAscTypeSelectElement'] = window['Asc'].c_oAscTypeSelectElement = c_oAscTypeSelectElement;
window['Asc']['c_oAscTypeSelectElement'] = window['Asc'].c_oAscTypeSelectElement = c_oAscTypeSelectElement;
prot = c_oAscTypeSelectElement;
prot['Paragraph'] = prot.Paragraph;
prot['Table'] = prot.Table;
......@@ -1098,32 +1102,32 @@ window['Asc']['c_oAscTypeSelectElement'] = window['Asc'].c_oAscTypeSelectElement
prot['Chart'] = prot.Chart;
prot['Math'] = prot.Math;
prot['MailMerge'] = prot.MailMerge;
window['Asc']['linerule_AtLeast'] = window['Asc'].linerule_AtLeast = linerule_AtLeast;
window['Asc']['linerule_Auto'] = window['Asc'].linerule_Auto = linerule_Auto;
window['Asc']['linerule_Exact'] = window['Asc'].linerule_Exact = linerule_Exact;
window['Asc']['c_oAscShdClear'] = window['Asc'].c_oAscShdClear = c_oAscShdClear;
window['Asc']['c_oAscShdNil'] = window['Asc'].c_oAscShdNil = c_oAscShdNil;
window['Asc']['c_oAscDropCap'] = window['Asc'].c_oAscDropCap = c_oAscDropCap;
window['Asc']['linerule_AtLeast'] = window['Asc'].linerule_AtLeast = linerule_AtLeast;
window['Asc']['linerule_Auto'] = window['Asc'].linerule_Auto = linerule_Auto;
window['Asc']['linerule_Exact'] = window['Asc'].linerule_Exact = linerule_Exact;
window['Asc']['c_oAscShdClear'] = window['Asc'].c_oAscShdClear = c_oAscShdClear;
window['Asc']['c_oAscShdNil'] = window['Asc'].c_oAscShdNil = c_oAscShdNil;
window['Asc']['c_oAscDropCap'] = window['Asc'].c_oAscDropCap = c_oAscDropCap;
prot = c_oAscDropCap;
prot['None'] = prot.None;
prot['Drop'] = prot.Drop;
prot['Margin'] = prot.Margin;
window['Asc']['c_oAscChartTitleShowSettings'] = window['Asc'].c_oAscChartTitleShowSettings = c_oAscChartTitleShowSettings;
window['Asc']['c_oAscChartTitleShowSettings'] = window['Asc'].c_oAscChartTitleShowSettings = c_oAscChartTitleShowSettings;
prot = c_oAscChartTitleShowSettings;
prot['none'] = prot.none;
prot['overlay'] = prot.overlay;
prot['noOverlay'] = prot.noOverlay;
window['Asc']['c_oAscChartHorAxisLabelShowSettings'] = window['Asc'].c_oAscChartHorAxisLabelShowSettings = c_oAscChartHorAxisLabelShowSettings;
window['Asc']['c_oAscChartHorAxisLabelShowSettings'] = window['Asc'].c_oAscChartHorAxisLabelShowSettings = c_oAscChartHorAxisLabelShowSettings;
prot = c_oAscChartHorAxisLabelShowSettings;
prot['none'] = prot.none;
prot['noOverlay'] = prot.noOverlay;
window['Asc']['c_oAscChartVertAxisLabelShowSettings'] = window['Asc'].c_oAscChartVertAxisLabelShowSettings = c_oAscChartVertAxisLabelShowSettings;
window['Asc']['c_oAscChartVertAxisLabelShowSettings'] = window['Asc'].c_oAscChartVertAxisLabelShowSettings = c_oAscChartVertAxisLabelShowSettings;
prot = c_oAscChartVertAxisLabelShowSettings;
prot['none'] = prot.none;
prot['rotated'] = prot.rotated;
prot['vertical'] = prot.vertical;
prot['horizontal'] = prot.horizontal;
window['Asc']['c_oAscChartLegendShowSettings'] = window['Asc'].c_oAscChartLegendShowSettings = c_oAscChartLegendShowSettings;
window['Asc']['c_oAscChartLegendShowSettings'] = window['Asc'].c_oAscChartLegendShowSettings = c_oAscChartLegendShowSettings;
prot = c_oAscChartLegendShowSettings;
prot['none'] = prot.none;
prot['left'] = prot.left;
......@@ -1134,7 +1138,7 @@ window['Asc']['c_oAscChartLegendShowSettings'] = window['Asc'].c_oAscChartLegend
prot['rightOverlay'] = prot.rightOverlay;
prot['layout'] = prot.layout;
prot['topRight'] = prot.topRight;
window['Asc']['c_oAscChartDataLabelsPos'] = window['Asc'].c_oAscChartDataLabelsPos = c_oAscChartDataLabelsPos;
window['Asc']['c_oAscChartDataLabelsPos'] = window['Asc'].c_oAscChartDataLabelsPos = c_oAscChartDataLabelsPos;
prot = c_oAscChartDataLabelsPos;
prot['none'] = prot.none;
prot['b'] = prot.b;
......@@ -1146,13 +1150,13 @@ window['Asc']['c_oAscChartDataLabelsPos'] = window['Asc'].c_oAscChartDataLabelsP
prot['outEnd'] = prot.outEnd;
prot['r'] = prot.r;
prot['t'] = prot.t;
window['Asc']['c_oAscGridLinesSettings'] = window['Asc'].c_oAscGridLinesSettings = c_oAscGridLinesSettings;
window['Asc']['c_oAscGridLinesSettings'] = window['Asc'].c_oAscGridLinesSettings = c_oAscGridLinesSettings;
prot = c_oAscGridLinesSettings;
prot['none'] = prot.none;
prot['major'] = prot.major;
prot['minor'] = prot.minor;
prot['majorMinor'] = prot.majorMinor;
window['Asc']['c_oAscChartTypeSettings'] = window['Asc'].c_oAscChartTypeSettings = c_oAscChartTypeSettings;
window['Asc']['c_oAscChartTypeSettings'] = window['Asc'].c_oAscChartTypeSettings = c_oAscChartTypeSettings;
prot = c_oAscChartTypeSettings;
prot['barNormal'] = prot.barNormal;
prot['barStacked'] = prot.barStacked;
......@@ -1189,11 +1193,11 @@ window['Asc']['c_oAscChartTypeSettings'] = window['Asc'].c_oAscChartTypeSettings
prot['scatterSmooth'] = prot.scatterSmooth;
prot['scatterSmoothMarker'] = prot.scatterSmoothMarker;
prot['unknown'] = prot.unknown;
window['Asc']['c_oAscValAxisRule'] = window['Asc'].c_oAscValAxisRule = c_oAscValAxisRule;
window['Asc']['c_oAscValAxisRule'] = window['Asc'].c_oAscValAxisRule = c_oAscValAxisRule;
prot = c_oAscValAxisRule;
prot['auto'] = prot.auto;
prot['fixed'] = prot.fixed;
window['Asc']['c_oAscValAxUnits'] = window['Asc'].c_oAscValAxUnits = c_oAscValAxUnits;
window['Asc']['c_oAscValAxUnits'] = window['Asc'].c_oAscValAxUnits = c_oAscValAxUnits;
prot = c_oAscValAxUnits;
prot['BILLIONS'] = prot.BILLIONS;
prot['HUNDRED_MILLIONS'] = prot.HUNDRED_MILLIONS;
......@@ -1205,53 +1209,53 @@ window['Asc']['c_oAscValAxUnits'] = window['Asc'].c_oAscValAxUnits = c_oAscValAx
prot['TRILLIONS'] = prot.TRILLIONS;
prot['CUSTOM'] = prot.CUSTOM;
prot['THOUSANDS'] = prot.THOUSANDS;
window['Asc']['c_oAscTickMark'] = window['Asc'].c_oAscTickMark = c_oAscTickMark;
window['Asc']['c_oAscTickMark'] = window['Asc'].c_oAscTickMark = c_oAscTickMark;
prot = c_oAscTickMark;
prot['TICK_MARK_CROSS'] = prot.TICK_MARK_CROSS;
prot['TICK_MARK_IN'] = prot.TICK_MARK_IN;
prot['TICK_MARK_NONE'] = prot.TICK_MARK_NONE;
prot['TICK_MARK_OUT'] = prot.TICK_MARK_OUT;
window['Asc']['c_oAscTickLabelsPos'] = window['Asc'].c_oAscTickLabelsPos = c_oAscTickLabelsPos;
window['Asc']['c_oAscTickLabelsPos'] = window['Asc'].c_oAscTickLabelsPos = c_oAscTickLabelsPos;
prot = c_oAscTickLabelsPos;
prot['TICK_LABEL_POSITION_HIGH'] = prot.TICK_LABEL_POSITION_HIGH;
prot['TICK_LABEL_POSITION_LOW'] = prot.TICK_LABEL_POSITION_LOW;
prot['TICK_LABEL_POSITION_NEXT_TO'] = prot.TICK_LABEL_POSITION_NEXT_TO;
prot['TICK_LABEL_POSITION_NONE'] = prot.TICK_LABEL_POSITION_NONE;
window['Asc']['c_oAscCrossesRule'] = window['Asc'].c_oAscCrossesRule = c_oAscCrossesRule;
window['Asc']['c_oAscCrossesRule'] = window['Asc'].c_oAscCrossesRule = c_oAscCrossesRule;
prot = c_oAscCrossesRule;
prot['auto'] = prot.auto;
prot['maxValue'] = prot.maxValue;
prot['value'] = prot.value;
prot['minValue'] = prot.minValue;
window['Asc']['c_oAscBetweenLabelsRule'] = window['Asc'].c_oAscBetweenLabelsRule = c_oAscBetweenLabelsRule;
window['Asc']['c_oAscBetweenLabelsRule'] = window['Asc'].c_oAscBetweenLabelsRule = c_oAscBetweenLabelsRule;
prot = c_oAscBetweenLabelsRule;
prot['auto'] = prot.auto;
prot['manual'] = prot.manual;
window['Asc']['c_oAscLabelsPosition'] = window['Asc'].c_oAscLabelsPosition = c_oAscLabelsPosition;
window['Asc']['c_oAscLabelsPosition'] = window['Asc'].c_oAscLabelsPosition = c_oAscLabelsPosition;
prot = c_oAscLabelsPosition;
prot['byDivisions'] = prot.byDivisions;
prot['betweenDivisions'] = prot.betweenDivisions;
window['Asc']['c_oAscAxisType'] = window['Asc'].c_oAscAxisType = c_oAscAxisType;
window['Asc']['c_oAscAxisType'] = window['Asc'].c_oAscAxisType = c_oAscAxisType;
prot = c_oAscAxisType;
prot['auto'] = prot.auto;
prot['date'] = prot.date;
prot['text'] = prot.text;
prot['cat'] = prot.cat;
prot['val'] = prot.val;
window['Asc']['c_oAscHAnchor'] = window['Asc'].c_oAscHAnchor = c_oAscHAnchor;
window['Asc']['c_oAscHAnchor'] = window['Asc'].c_oAscHAnchor = c_oAscHAnchor;
prot = c_oAscHAnchor;
prot['Margin'] = prot.Margin;
prot['Page'] = prot.Page;
prot['Text'] = prot.Text;
prot['PageInternal'] = prot.PageInternal;
window['Asc']['c_oAscXAlign'] = window['Asc'].c_oAscXAlign = c_oAscXAlign;
window['Asc']['c_oAscXAlign'] = window['Asc'].c_oAscXAlign = c_oAscXAlign;
prot = c_oAscXAlign;
prot['Center'] = prot.Center;
prot['Inside'] = prot.Inside;
prot['Left'] = prot.Left;
prot['Outside'] = prot.Outside;
prot['Right'] = prot.Right;
window['Asc']['c_oAscYAlign'] = window['Asc'].c_oAscYAlign = c_oAscYAlign;
window['Asc']['c_oAscYAlign'] = window['Asc'].c_oAscYAlign = c_oAscYAlign;
prot = c_oAscYAlign;
prot['Bottom'] = prot.Bottom;
prot['Center'] = prot.Center;
......@@ -1259,12 +1263,12 @@ window['Asc']['c_oAscYAlign'] = window['Asc'].c_oAscYAlign = c_oAscYAlign;
prot['Inside'] = prot.Inside;
prot['Outside'] = prot.Outside;
prot['Top'] = prot.Top;
window['Asc']['c_oAscVAnchor'] = window['Asc'].c_oAscVAnchor = c_oAscVAnchor;
window['Asc']['c_oAscVAnchor'] = window['Asc'].c_oAscVAnchor = c_oAscVAnchor;
prot = c_oAscVAnchor;
prot['Margin'] = prot.Margin;
prot['Page'] = prot.Page;
prot['Text'] = prot.Text;
window['Asc']['c_oAscRelativeFromH'] = window['Asc'].c_oAscRelativeFromH = c_oAscRelativeFromH;
window['Asc']['c_oAscRelativeFromH'] = window['Asc'].c_oAscRelativeFromH = c_oAscRelativeFromH;
prot = c_oAscRelativeFromH;
prot['Character'] = prot.Character;
prot['Column'] = prot.Column;
......@@ -1274,7 +1278,7 @@ window['Asc']['c_oAscRelativeFromH'] = window['Asc'].c_oAscRelativeFromH = c_oAs
prot['OutsideMargin'] = prot.OutsideMargin;
prot['Page'] = prot.Page;
prot['RightMargin'] = prot.RightMargin;
window['Asc']['c_oAscRelativeFromV'] = window['Asc'].c_oAscRelativeFromV = c_oAscRelativeFromV;
window['Asc']['c_oAscRelativeFromV'] = window['Asc'].c_oAscRelativeFromV = c_oAscRelativeFromV;
prot = c_oAscRelativeFromV;
prot['BottomMargin'] = prot.BottomMargin;
prot['InsideMargin'] = prot.InsideMargin;
......@@ -1284,18 +1288,18 @@ window['Asc']['c_oAscRelativeFromV'] = window['Asc'].c_oAscRelativeFromV = c_oAs
prot['Page'] = prot.Page;
prot['Paragraph'] = prot.Paragraph;
prot['TopMargin'] = prot.TopMargin;
window['Asc']['c_oAscPageOrientation'] = window['Asc'].c_oAscPageOrientation = c_oAscPageOrientation;
window['Asc']['c_oAscPageOrientation'] = window['Asc'].c_oAscPageOrientation = c_oAscPageOrientation;
prot = c_oAscPageOrientation;
prot['PagePortrait'] = prot.PagePortrait;
prot['PageLandscape'] = prot.PageLandscape;
window['Asc']['c_oAscColor'] = window['Asc'].c_oAscColor = c_oAscColor;
window['Asc']['c_oAscColor'] = window['Asc'].c_oAscColor = c_oAscColor;
prot = c_oAscColor;
prot['COLOR_TYPE_NONE'] = prot.COLOR_TYPE_NONE;
prot['COLOR_TYPE_SRGB'] = prot.COLOR_TYPE_SRGB;
prot['COLOR_TYPE_PRST'] = prot.COLOR_TYPE_PRST;
prot['COLOR_TYPE_SCHEME'] = prot.COLOR_TYPE_SCHEME;
prot['COLOR_TYPE_SYS'] = prot.COLOR_TYPE_SYS;
window['Asc']['c_oAscFill'] = window['Asc'].c_oAscFill = c_oAscFill;
window['Asc']['c_oAscFill'] = window['Asc'].c_oAscFill = c_oAscFill;
prot = c_oAscFill;
prot['FILL_TYPE_NONE'] = prot.FILL_TYPE_NONE;
prot['FILL_TYPE_BLIP'] = prot.FILL_TYPE_BLIP;
......@@ -1304,41 +1308,41 @@ window['Asc']['c_oAscFill'] = window['Asc'].c_oAscFill = c_oAscFill;
prot['FILL_TYPE_GRAD'] = prot.FILL_TYPE_GRAD;
prot['FILL_TYPE_PATT'] = prot.FILL_TYPE_PATT;
prot['FILL_TYPE_GRP'] = prot.FILL_TYPE_GRP;
window['Asc']['c_oAscFillGradType'] = window['Asc'].c_oAscFillGradType = c_oAscFillGradType;
window['Asc']['c_oAscFillGradType'] = window['Asc'].c_oAscFillGradType = c_oAscFillGradType;
prot = c_oAscFillGradType;
prot['GRAD_LINEAR'] = prot.GRAD_LINEAR;
prot['GRAD_PATH'] = prot.GRAD_PATH;
window['Asc']['c_oAscFillBlipType'] = window['Asc'].c_oAscFillBlipType = c_oAscFillBlipType;
window['Asc']['c_oAscFillBlipType'] = window['Asc'].c_oAscFillBlipType = c_oAscFillBlipType;
prot = c_oAscFillBlipType;
prot['STRETCH'] = prot.STRETCH;
prot['TILE'] = prot.TILE;
window['Asc']['c_oAscStrokeType'] = window['Asc'].c_oAscStrokeType = c_oAscStrokeType;
window['Asc']['c_oAscStrokeType'] = window['Asc'].c_oAscStrokeType = c_oAscStrokeType;
prot = c_oAscStrokeType;
prot['STROKE_NONE'] = prot.STROKE_NONE;
prot['STROKE_COLOR'] = prot.STROKE_COLOR;
window['Asc']['c_oAscVerticalTextAlign'] = c_oAscVerticalTextAlign;
window['Asc']['c_oAscVerticalTextAlign'] = c_oAscVerticalTextAlign;
prot = c_oAscVerticalTextAlign;
prot['TEXT_ALIGN_BOTTOM'] = prot.TEXT_ALIGN_BOTTOM;
prot['TEXT_ALIGN_CTR'] = prot.TEXT_ALIGN_CTR;
prot['TEXT_ALIGN_DIST'] = prot.TEXT_ALIGN_DIST;
prot['TEXT_ALIGN_JUST'] = prot.TEXT_ALIGN_JUST;
prot['TEXT_ALIGN_TOP'] = prot.TEXT_ALIGN_TOP;
window['Asc']['c_oAscVertDrawingText'] = c_oAscVertDrawingText;
window['Asc']['c_oAscVertDrawingText'] = c_oAscVertDrawingText;
prot = c_oAscVertDrawingText;
prot['normal'] = prot.normal;
prot['vert'] = prot.vert;
prot['vert270'] = prot.vert270;
window['Asc']['c_oAscLineJoinType'] = c_oAscLineJoinType;
window['Asc']['c_oAscLineJoinType'] = c_oAscLineJoinType;
prot = c_oAscLineJoinType;
prot['Round'] = prot.Round;
prot['Bevel'] = prot.Bevel;
prot['Miter'] = prot.Miter;
window['Asc']['c_oAscLineCapType'] = c_oAscLineCapType;
window['Asc']['c_oAscLineCapType'] = c_oAscLineCapType;
prot = c_oAscLineCapType;
prot['Flat'] = prot.Flat;
prot['Round'] = prot.Round;
prot['Square'] = prot.Square;
window['Asc']['c_oAscLineBeginType'] = c_oAscLineBeginType;
window['Asc']['c_oAscLineBeginType'] = c_oAscLineBeginType;
prot = c_oAscLineBeginType;
prot['None'] = prot.None;
prot['Arrow'] = prot.Arrow;
......@@ -1346,7 +1350,7 @@ window['Asc']['c_oAscLineBeginType'] = c_oAscLineBeginType;
prot['Oval'] = prot.Oval;
prot['Stealth'] = prot.Stealth;
prot['Triangle'] = prot.Triangle;
window['Asc']['c_oAscLineBeginSize'] = c_oAscLineBeginSize;
window['Asc']['c_oAscLineBeginSize'] = c_oAscLineBeginSize;
prot = c_oAscLineBeginSize;
prot['small_small'] = prot.small_small;
prot['small_mid'] = prot.small_mid;
......@@ -1357,18 +1361,18 @@ window['Asc']['c_oAscLineBeginSize'] = c_oAscLineBeginSize;
prot['large_small'] = prot.large_small;
prot['large_mid'] = prot.large_mid;
prot['large_large'] = prot.large_large;
window['Asc']['c_oAscCellTextDirection'] = window['Asc'].c_oAscCellTextDirection = c_oAscCellTextDirection;
window['Asc']['c_oAscCellTextDirection'] = window['Asc'].c_oAscCellTextDirection = c_oAscCellTextDirection;
prot = c_oAscCellTextDirection;
prot['LRTB'] = prot.LRTB;
prot['TBRL'] = prot.TBRL;
prot['BTLR'] = prot.BTLR;
window['Asc']['c_oAscDocumentUnits'] = window['Asc'].c_oAscDocumentUnits = c_oAscDocumentUnits;
window['Asc']['c_oAscDocumentUnits'] = window['Asc'].c_oAscDocumentUnits = c_oAscDocumentUnits;
prot = c_oAscDocumentUnits;
prot['Millimeter'] = prot.Millimeter;
prot['Inch'] = prot.Inch;
prot['Point'] = prot.Point;
window['Asc']['c_oAscMaxTooltipLength'] = window['Asc'].c_oAscMaxTooltipLength = c_oAscMaxTooltipLength;
window['Asc']['c_oAscMaxCellOrCommentLength'] = window['Asc'].c_oAscMaxCellOrCommentLength = c_oAscMaxCellOrCommentLength;
window['Asc']['c_oAscMaxTooltipLength'] = window['Asc'].c_oAscMaxTooltipLength = c_oAscMaxTooltipLength;
window['Asc']['c_oAscMaxCellOrCommentLength'] = window['Asc'].c_oAscMaxCellOrCommentLength = c_oAscMaxCellOrCommentLength;
window['Asc']['c_oAscSelectionType'] = window['Asc'].c_oAscSelectionType = c_oAscSelectionType;
prot = c_oAscSelectionType;
prot['RangeCells'] = prot.RangeCells;
......@@ -1518,39 +1522,111 @@ window['Asc']['c_oAscMaxCellOrCommentLength'] = window['Asc'].c_oAscMaxCellOrCom
this.isUpdateOleOnResize = false;
this.buttons = [{"text":"Ok","primary":true},{"text":"Cancel","primary":false}];
this.buttons = [{"text" : "Ok", "primary" : true}, {"text" : "Cancel", "primary" : false}];
}
CPluginVariation.prototype["get_Description"] = function() { return this.description; };
CPluginVariation.prototype["set_Description"] = function(value) { this.description = value; } ;
CPluginVariation.prototype["get_Url"] = function() { return this.url; };
CPluginVariation.prototype["set_Url"] = function(value) { this.url = value; };
CPluginVariation.prototype["get_Description"] = function()
{
return this.description;
};
CPluginVariation.prototype["set_Description"] = function(value)
{
this.description = value;
};
CPluginVariation.prototype["get_Url"] = function()
{
return this.url;
};
CPluginVariation.prototype["set_Url"] = function(value)
{
this.url = value;
};
CPluginVariation.prototype["get_Icons"] = function() { return this.icons; };
CPluginVariation.prototype["set_Icons"] = function(value) { this.icons = value; };
CPluginVariation.prototype["get_Icons"] = function()
{
return this.icons;
};
CPluginVariation.prototype["set_Icons"] = function(value)
{
this.icons = value;
};
CPluginVariation.prototype["get_Viewer"] = function() { return this.isViewer; };
CPluginVariation.prototype["set_Viewer"] = function(value) { this.isViewer = value; };
CPluginVariation.prototype["get_EditorsSupport"] = function() { return this.EditorsSupport; };
CPluginVariation.prototype["set_EditorsSupport"] = function(value) { this.EditorsSupport = value; };
CPluginVariation.prototype["get_Viewer"] = function()
{
return this.isViewer;
};
CPluginVariation.prototype["set_Viewer"] = function(value)
{
this.isViewer = value;
};
CPluginVariation.prototype["get_EditorsSupport"] = function()
{
return this.EditorsSupport;
};
CPluginVariation.prototype["set_EditorsSupport"] = function(value)
{
this.EditorsSupport = value;
};
CPluginVariation.prototype["get_Visual"] = function() { return this.isVisual; };
CPluginVariation.prototype["set_Visual"] = function(value) { this.isVisual = value; };
CPluginVariation.prototype["get_Modal"] = function() { return this.isModal; };
CPluginVariation.prototype["set_Modal"] = function(value) { this.isModal = value; };
CPluginVariation.prototype["get_InsideMode"] = function() { return this.isInsideMode; };
CPluginVariation.prototype["set_InsideMode"] = function(value) { this.isInsideMode = value; };
CPluginVariation.prototype["get_Visual"] = function()
{
return this.isVisual;
};
CPluginVariation.prototype["set_Visual"] = function(value)
{
this.isVisual = value;
};
CPluginVariation.prototype["get_Modal"] = function()
{
return this.isModal;
};
CPluginVariation.prototype["set_Modal"] = function(value)
{
this.isModal = value;
};
CPluginVariation.prototype["get_InsideMode"] = function()
{
return this.isInsideMode;
};
CPluginVariation.prototype["set_InsideMode"] = function(value)
{
this.isInsideMode = value;
};
CPluginVariation.prototype["get_InitDataType"] = function() { return this.initDataType; };
CPluginVariation.prototype["set_InitDataType"] = function(value) { this.initDataType = value; };
CPluginVariation.prototype["get_InitData"] = function() { return this.initData; };
CPluginVariation.prototype["set_InitData"] = function(value) { this.initData = value; };
CPluginVariation.prototype["get_InitDataType"] = function()
{
return this.initDataType;
};
CPluginVariation.prototype["set_InitDataType"] = function(value)
{
this.initDataType = value;
};
CPluginVariation.prototype["get_InitData"] = function()
{
return this.initData;
};
CPluginVariation.prototype["set_InitData"] = function(value)
{
this.initData = value;
};
CPluginVariation.prototype["get_UpdateOleOnResize"] = function() { return this.isUpdateOleOnResize; };
CPluginVariation.prototype["set_UpdateOleOnResize"] = function(value) { this.isUpdateOleOnResize = value; };
CPluginVariation.prototype["get_Buttons"] = function() { return this.buttons; };
CPluginVariation.prototype["set_Buttons"] = function(value) { this.buttons = value; };
CPluginVariation.prototype["get_UpdateOleOnResize"] = function()
{
return this.isUpdateOleOnResize;
};
CPluginVariation.prototype["set_UpdateOleOnResize"] = function(value)
{
this.isUpdateOleOnResize = value;
};
CPluginVariation.prototype["get_Buttons"] = function()
{
return this.buttons;
};
CPluginVariation.prototype["set_Buttons"] = function(value)
{
this.buttons = value;
};
CPluginVariation.prototype["serialize"] = function()
{
......@@ -1606,15 +1682,39 @@ window['Asc']['c_oAscMaxCellOrCommentLength'] = window['Asc'].c_oAscMaxCellOrCom
this.variations = [];
}
CPlugin.prototype["get_Name"] = function() { return this.name; };
CPlugin.prototype["set_Name"] = function(value) { this.name = value; } ;
CPlugin.prototype["get_Guid"] = function() { return this.guid; };
CPlugin.prototype["set_Guid"] = function(value) { this.guid = value; };
CPlugin.prototype["get_BaseUrl"] = function() { return this.baseUrl; };
CPlugin.prototype["set_BaseUrl"] = function(value) { this.baseUrl = value; };
CPlugin.prototype["get_Name"] = function()
{
return this.name;
};
CPlugin.prototype["set_Name"] = function(value)
{
this.name = value;
};
CPlugin.prototype["get_Guid"] = function()
{
return this.guid;
};
CPlugin.prototype["set_Guid"] = function(value)
{
this.guid = value;
};
CPlugin.prototype["get_BaseUrl"] = function()
{
return this.baseUrl;
};
CPlugin.prototype["set_BaseUrl"] = function(value)
{
this.baseUrl = value;
};
CPlugin.prototype["get_Variations"] = function() { return this.variations; };
CPlugin.prototype["set_Variations"] = function(value) { this.variations = value; };
CPlugin.prototype["get_Variations"] = function()
{
return this.variations;
};
CPlugin.prototype["set_Variations"] = function(value)
{
this.variations = value;
};
CPlugin.prototype["serialize"] = function()
{
......
......@@ -32,37 +32,41 @@
"use strict";
/** @enum {number} */
var c_oAscZoomType = {
Current: 0,
FitWidth: 1,
FitPage: 2
Current : 0,
FitWidth : 1,
FitPage : 2
};
/** @enum {number} */
var c_oAscCollaborativeMarksShowType = {
All: 0,
LastChanges: 1
All : 0,
LastChanges : 1
};
/** @enum {number} */
var c_oAscVertAlignJc = {
Top: 0x00, // var vertalignjc_Top = 0x00;
Center: 0x01, // var vertalignjc_Center = 0x01;
Bottom: 0x02 // var vertalignjc_Bottom = 0x02
Top : 0x00, // var vertalignjc_Top = 0x00;
Center : 0x01, // var vertalignjc_Center = 0x01;
Bottom : 0x02 // var vertalignjc_Bottom = 0x02
};
// Right = 0; Left = 1; Center = 2; Justify = 3;
/** @enum {number} */
var c_oAscAlignType = {
LEFT: 0,
CENTER: 1,
RIGHT: 2,
JUSTIFY: 3,
TOP: 4,
MIDDLE: 5,
BOTTOM: 6
LEFT : 0,
CENTER : 1,
RIGHT : 2,
JUSTIFY : 3,
TOP : 4,
MIDDLE : 5,
BOTTOM : 6
};
/** @enum {number} */
var c_oAscContextMenuTypes = {
Main: 0,
Thumbnails: 1
Main : 0,
Thumbnails : 1
};
var THEME_THUMBNAIL_WIDTH = 180;
......@@ -70,71 +74,76 @@ var THEME_THUMBNAIL_HEIGHT = 135;
var LAYOUT_THUMBNAIL_WIDTH = 180;
var LAYOUT_THUMBNAIL_HEIGHT = 135;
/** @enum {number} */
var c_oAscTableSelectionType = {
Cell: 0,
Row: 1,
Column: 2,
Table: 3
Cell : 0,
Row : 1,
Column : 2,
Table : 3
};
/** @enum {number} */
var c_oAscAlignShapeType = {
ALIGN_LEFT: 0,
ALIGN_RIGHT: 1,
ALIGN_TOP: 2,
ALIGN_BOTTOM: 3,
ALIGN_CENTER: 4,
ALIGN_MIDDLE: 5
ALIGN_LEFT : 0,
ALIGN_RIGHT : 1,
ALIGN_TOP : 2,
ALIGN_BOTTOM : 3,
ALIGN_CENTER : 4,
ALIGN_MIDDLE : 5
};
/** @enum {number} */
var c_oAscTableLayout = {
AutoFit: 0x00,
Fixed: 0x01
AutoFit : 0x00,
Fixed : 0x01
};
/** @enum {number} */
var c_oAscSlideTransitionTypes = {
None: 0,
Fade: 1,
Push: 2,
Wipe: 3,
Split: 4,
UnCover: 5,
Cover: 6,
Clock: 7,
Zoom: 8
None : 0,
Fade : 1,
Push : 2,
Wipe : 3,
Split : 4,
UnCover : 5,
Cover : 6,
Clock : 7,
Zoom : 8
};
/** @enum {number} */
var c_oAscSlideTransitionParams = {
Fade_Smoothly: 0,
Fade_Through_Black: 1,
Param_Left: 0,
Param_Top: 1,
Param_Right: 2,
Param_Bottom: 3,
Param_TopLeft: 4,
Param_TopRight: 5,
Param_BottomLeft: 6,
Param_BottomRight: 7,
Split_VerticalIn: 8,
Split_VerticalOut: 9,
Split_HorizontalIn: 10,
Split_HorizontalOut: 11,
Clock_Clockwise: 0,
Clock_Counterclockwise: 1,
Clock_Wedge: 2,
Zoom_In: 0,
Zoom_Out: 1,
Zoom_AndRotate: 2
Fade_Smoothly : 0,
Fade_Through_Black : 1,
Param_Left : 0,
Param_Top : 1,
Param_Right : 2,
Param_Bottom : 3,
Param_TopLeft : 4,
Param_TopRight : 5,
Param_BottomLeft : 6,
Param_BottomRight : 7,
Split_VerticalIn : 8,
Split_VerticalOut : 9,
Split_HorizontalIn : 10,
Split_HorizontalOut : 11,
Clock_Clockwise : 0,
Clock_Counterclockwise : 1,
Clock_Wedge : 2,
Zoom_In : 0,
Zoom_Out : 1,
Zoom_AndRotate : 2
};
/** @enum {number} */
var c_oAscLockTypeElemPresentation = {
Object: 1,
Slide: 2,
Presentation: 3
Object : 1,
Slide : 2,
Presentation : 3
};
var c_oSerFormat = {
......
......@@ -32,508 +32,523 @@
"use strict";
/** @enum {number} */
var c_oAscZoomType = {
Current: 0,
FitWidth: 1,
FitPage: 2
Current : 0,
FitWidth : 1,
FitPage : 2
};
// Right = 0; Left = 1; Center = 2; Justify = 3;
/** @enum {number} */
var c_oAscAlignType = {
LEFT: 0,
CENTER: 1,
RIGHT: 2,
JUSTIFY: 3,
TOP: 4,
MIDDLE: 5,
BOTTOM: 6
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
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
Cell : 0,
Row : 1,
Column : 2,
Table : 3
};
/** @enum {number} */
var c_oAscContextMenuTypes = {
Common: 0, // Обычное контекстное меню
ChangeHdrFtr: 1 // Специальное контестное меню для попадания в колонтитул
Common : 0, // Обычное контекстное меню
ChangeHdrFtr : 1 // Специальное контестное меню для попадания в колонтитул
};
/** @enum {number} */
var c_oAscMouseMoveLockedObjectType = {
Common: 0,
Header: 1,
Footer: 2
Common : 0,
Header : 1,
Footer : 2
};
/** @enum {number} */
var c_oAscCollaborativeMarksShowType = {
None: -1,
All: 0,
LastChanges: 1
None : -1,
All : 0,
LastChanges : 1
};
/**
* Типы горизонтального прилегания для автофигур.
* @type {{Center: number, Inside: number, Left: number, Outside: number, Right: number}}
* @enum {number}
*/
var c_oAscAlignH = {
Center: 0x00,
Inside: 0x01,
Left: 0x02,
Outside: 0x03,
Right: 0x04
Center : 0x00,
Inside : 0x01,
Left : 0x02,
Outside : 0x03,
Right : 0x04
};
/** @enum {number} */
var c_oAscChangeLevel = {
BringToFront: 0x00,
BringForward: 0x01,
SendToBack: 0x02,
BringBackward: 0x03
BringToFront : 0x00,
BringForward : 0x01,
SendToBack : 0x02,
BringBackward : 0x03
};
/**
* Типы вертикального прилегания для автофигур.
* @type {{Bottom: number, Center: number, Inside: number, Outside: number, Top: number}}
* @enum {number}
*/
var c_oAscAlignV = {
Bottom: 0x00,
Center: 0x01,
Inside: 0x02,
Outside: 0x03,
Top: 0x04
Bottom : 0x00,
Center : 0x01,
Inside : 0x02,
Outside : 0x03,
Top : 0x04
};
/** @enum {number} */
var c_oAscVertAlignJc = {
Top: 0x00, // var vertalignjc_Top = 0x00;
Center: 0x01, // var vertalignjc_Center = 0x01;
Bottom: 0x02 // var vertalignjc_Bottom = 0x02
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
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
ALIGN_LEFT : 0,
ALIGN_RIGHT : 1,
ALIGN_TOP : 2,
ALIGN_BOTTOM : 3,
ALIGN_CENTER : 4,
ALIGN_MIDDLE : 5
};
var TABLE_STYLE_WIDTH_PIX = 70;
var TABLE_STYLE_HEIGHT_PIX = 50;
/** @enum {number} */
var c_oAscSectionBreakType = {
NextPage: 0x00,
OddPage: 0x01,
EvenPage: 0x02,
Continuous: 0x03,
Column: 0x04
NextPage : 0x00,
OddPage : 0x01,
EvenPage : 0x02,
Continuous : 0x03,
Column : 0x04
};
/** @enum {number} */
var c_oAscMathMainType = {
Symbol: 0x00,
Fraction: 0x01,
Script: 0x02,
Radical: 0x03,
Integral: 0x04,
LargeOperator: 0x05,
Bracket: 0x06,
Function: 0x07,
Accent: 0x08,
LimitLog: 0x09,
Operator: 0x0a,
Matrix: 0x0b,
Empty_Content: 0x0c
Symbol : 0x00,
Fraction : 0x01,
Script : 0x02,
Radical : 0x03,
Integral : 0x04,
LargeOperator : 0x05,
Bracket : 0x06,
Function : 0x07,
Accent : 0x08,
LimitLog : 0x09,
Operator : 0x0a,
Matrix : 0x0b,
Empty_Content : 0x0c
};
var c_oAscMathMainTypeStrings = {};
c_oAscMathMainTypeStrings[c_oAscMathMainType.Symbol ] = "Symbols";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Fraction ] = "Fraction";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Script ] = "Script";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Radical ] = "Radical";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Integral ] = "Integral";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Symbol] = "Symbols";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Fraction] = "Fraction";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Script] = "Script";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Radical] = "Radical";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Integral] = "Integral";
c_oAscMathMainTypeStrings[c_oAscMathMainType.LargeOperator] = "LargeOperator";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Bracket ] = "Bracket";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Function ] = "Function";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Accent ] = "Accent";
c_oAscMathMainTypeStrings[c_oAscMathMainType.LimitLog ] = "LimitLog";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Operator ] = "Operator";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Matrix ] = "Matrix";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Bracket] = "Bracket";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Function] = "Function";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Accent] = "Accent";
c_oAscMathMainTypeStrings[c_oAscMathMainType.LimitLog] = "LimitLog";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Operator] = "Operator";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Matrix] = "Matrix";
c_oAscMathMainTypeStrings[c_oAscMathMainType.Empty_Content] = "Empty_Content";
/** @enum {number} */
var c_oAscMathType = {
//----------------------------------------------------------------------------------------------------------------------
Symbol_pm: 0x00000000,
Symbol_infinity: 0x00000001,
Symbol_equals: 0x00000002,
Symbol_neq: 0x00000003,
Symbol_about: 0x00000004,
Symbol_times: 0x00000005,
Symbol_div: 0x00000006,
Symbol_factorial: 0x00000007,
Symbol_propto: 0x00000008,
Symbol_less: 0x00000009,
Symbol_ll: 0x0000000a,
Symbol_greater: 0x0000000b,
Symbol_gg: 0x0000000c,
Symbol_leq: 0x0000000d,
Symbol_geq: 0x0000000e,
Symbol_mp: 0x0000000f,
Symbol_cong: 0x00000010,
Symbol_approx: 0x00000011,
Symbol_equiv: 0x00000012,
Symbol_forall: 0x00000013,
Symbol_additional: 0x00000014,
Symbol_partial: 0x00000015,
Symbol_sqrt: 0x00000016,
Symbol_cbrt: 0x00000017,
Symbol_qdrt: 0x00000018,
Symbol_cup: 0x00000019,
Symbol_cap: 0x0000001a,
Symbol_emptyset: 0x0000001b,
Symbol_percent: 0x0000001c,
Symbol_degree: 0x0000001d,
Symbol_fahrenheit: 0x0000001e,
Symbol_celsius: 0x0000001f,
Symbol_inc: 0x00000020,
Symbol_nabla: 0x00000021,
Symbol_exists: 0x00000022,
Symbol_notexists: 0x00000023,
Symbol_in: 0x00000024,
Symbol_ni: 0x00000025,
Symbol_leftarrow: 0x00000026,
Symbol_uparrow: 0x00000027,
Symbol_rightarrow: 0x00000028,
Symbol_downarrow: 0x00000029,
Symbol_leftrightarrow: 0x0000002a,
Symbol_therefore: 0x0000002b,
Symbol_plus: 0x0000002c,
Symbol_minus: 0x0000002d,
Symbol_not: 0x0000002e,
Symbol_ast: 0x0000002f,
Symbol_bullet: 0x00000030,
Symbol_vdots: 0x00000031,
Symbol_cdots: 0x00000032,
Symbol_rddots: 0x00000033,
Symbol_ddots: 0x00000034,
Symbol_aleph: 0x00000035,
Symbol_beth: 0x00000036,
Symbol_QED: 0x00000037,
Symbol_alpha: 0x00010000,
Symbol_beta: 0x00010001,
Symbol_gamma: 0x00010002,
Symbol_delta: 0x00010003,
Symbol_varepsilon: 0x00010004,
Symbol_epsilon: 0x00010005,
Symbol_zeta: 0x00010006,
Symbol_eta: 0x00010007,
Symbol_theta: 0x00010008,
Symbol_vartheta: 0x00010009,
Symbol_iota: 0x0001000a,
Symbol_kappa: 0x0001000b,
Symbol_lambda: 0x0001000c,
Symbol_mu: 0x0001000d,
Symbol_nu: 0x0001000e,
Symbol_xsi: 0x0001000f,
Symbol_o: 0x00010010,
Symbol_pi: 0x00010011,
Symbol_varpi: 0x00010012,
Symbol_rho: 0x00010013,
Symbol_varrho: 0x00010014,
Symbol_sigma: 0x00010015,
Symbol_varsigma: 0x00010016,
Symbol_tau: 0x00010017,
Symbol_upsilon: 0x00010018,
Symbol_varphi: 0x00010019,
Symbol_phi: 0x0001001a,
Symbol_chi: 0x0001001b,
Symbol_psi: 0x0001001c,
Symbol_omega: 0x0001001d,
Symbol_Alpha: 0x00020000,
Symbol_Beta: 0x00020001,
Symbol_Gamma: 0x00020002,
Symbol_Delta: 0x00020003,
Symbol_Epsilon: 0x00020004,
Symbol_Zeta: 0x00020005,
Symbol_Eta: 0x00020006,
Symbol_Theta: 0x00020007,
Symbol_Iota: 0x00020008,
Symbol_Kappa: 0x00020009,
Symbol_Lambda: 0x0002000a,
Symbol_Mu: 0x0002000b,
Symbol_Nu: 0x0002000c,
Symbol_Xsi: 0x0002000d,
Symbol_O: 0x0002000e,
Symbol_Pi: 0x0002000f,
Symbol_Rho: 0x00020010,
Symbol_Sigma: 0x00020011,
Symbol_Tau: 0x00020012,
Symbol_Upsilon: 0x00020013,
Symbol_Phi: 0x00020014,
Symbol_Chi: 0x00020015,
Symbol_Psi: 0x00020016,
Symbol_Omega: 0x00020017,
//----------------------------------------------------------------------------------------------------------------------
FractionVertical: 0x01000000,
FractionDiagonal: 0x01000001,
FractionHorizontal: 0x01000002,
FractionSmall: 0x01000003,
FractionDifferential_1: 0x01010000,
FractionDifferential_2: 0x01010001,
FractionDifferential_3: 0x01010002,
FractionDifferential_4: 0x01010003,
FractionPi_2: 0x01010004,
//----------------------------------------------------------------------------------------------------------------------
ScriptSup: 0x02000000,
ScriptSub: 0x02000001,
ScriptSubSup: 0x02000002,
ScriptSubSupLeft: 0x02000003,
ScriptCustom_1: 0x02010000,
ScriptCustom_2: 0x02010001,
ScriptCustom_3: 0x02010002,
ScriptCustom_4: 0x02010003,
//----------------------------------------------------------------------------------------------------------------------
RadicalSqrt: 0x03000000,
RadicalRoot_n: 0x03000001,
RadicalRoot_2: 0x03000002,
RadicalRoot_3: 0x03000003,
RadicalCustom_1: 0x03010000,
RadicalCustom_2: 0x03010001,
//----------------------------------------------------------------------------------------------------------------------
Integral: 0x04000000,
IntegralSubSup: 0x04000001,
IntegralCenterSubSup: 0x04000002,
IntegralDouble: 0x04000003,
IntegralDoubleSubSup: 0x04000004,
IntegralDoubleCenterSubSup: 0x04000005,
IntegralTriple: 0x04000006,
IntegralTripleSubSup: 0x04000007,
IntegralTripleCenterSubSup: 0x04000008,
IntegralOriented: 0x04010000,
IntegralOrientedSubSup: 0x04010001,
IntegralOrientedCenterSubSup: 0x04010002,
IntegralOrientedDouble: 0x04010003,
IntegralOrientedDoubleSubSup: 0x04010004,
IntegralOrientedDoubleCenterSubSup: 0x04010005,
IntegralOrientedTriple: 0x04010006,
IntegralOrientedTripleSubSup: 0x04010007,
IntegralOrientedTripleCenterSubSup: 0x04010008,
Integral_dx: 0x04020000,
Integral_dy: 0x04020001,
Integral_dtheta: 0x04020002,
//----------------------------------------------------------------------------------------------------------------------
LargeOperator_Sum: 0x05000000,
LargeOperator_Sum_CenterSubSup: 0x05000001,
LargeOperator_Sum_SubSup: 0x05000002,
LargeOperator_Sum_CenterSub: 0x05000003,
LargeOperator_Sum_Sub: 0x05000004,
LargeOperator_Prod: 0x05010000,
LargeOperator_Prod_CenterSubSup: 0x05010001,
LargeOperator_Prod_SubSup: 0x05010002,
LargeOperator_Prod_CenterSub: 0x05010003,
LargeOperator_Prod_Sub: 0x05010004,
LargeOperator_CoProd: 0x05010005,
LargeOperator_CoProd_CenterSubSup: 0x05010006,
LargeOperator_CoProd_SubSup: 0x05010007,
LargeOperator_CoProd_CenterSub: 0x05010008,
LargeOperator_CoProd_Sub: 0x05010009,
LargeOperator_Union: 0x05020000,
LargeOperator_Union_CenterSubSup: 0x05020001,
LargeOperator_Union_SubSup: 0x05020002,
LargeOperator_Union_CenterSub: 0x05020003,
LargeOperator_Union_Sub: 0x05020004,
LargeOperator_Intersection: 0x05020005,
LargeOperator_Intersection_CenterSubSup: 0x05020006,
LargeOperator_Intersection_SubSup: 0x05020007,
LargeOperator_Intersection_CenterSub: 0x05020008,
LargeOperator_Intersection_Sub: 0x05020009,
LargeOperator_Disjunction: 0x05030000,
LargeOperator_Disjunction_CenterSubSup: 0x05030001,
LargeOperator_Disjunction_SubSup: 0x05030002,
LargeOperator_Disjunction_CenterSub: 0x05030003,
LargeOperator_Disjunction_Sub: 0x05030004,
LargeOperator_Conjunction: 0x05030005,
LargeOperator_Conjunction_CenterSubSup: 0x05030006,
LargeOperator_Conjunction_SubSup: 0x05030007,
LargeOperator_Conjunction_CenterSub: 0x05030008,
LargeOperator_Conjunction_Sub: 0x05030009,
LargeOperator_Custom_1: 0x05040000,
LargeOperator_Custom_2: 0x05040001,
LargeOperator_Custom_3: 0x05040002,
LargeOperator_Custom_4: 0x05040003,
LargeOperator_Custom_5: 0x05040004,
//----------------------------------------------------------------------------------------------------------------------
Bracket_Round: 0x06000000,
Bracket_Square: 0x06000001,
Bracket_Curve: 0x06000002,
Bracket_Angle: 0x06000003,
Bracket_LowLim: 0x06000004,
Bracket_UppLim: 0x06000005,
Bracket_Line: 0x06000006,
Bracket_LineDouble: 0x06000007,
Bracket_Square_OpenOpen: 0x06000008,
Bracket_Square_CloseClose: 0x06000009,
Bracket_Square_CloseOpen: 0x0600000a,
Bracket_SquareDouble: 0x0600000b,
Bracket_Round_Delimiter_2: 0x06010000,
Bracket_Curve_Delimiter_2: 0x06010001,
Bracket_Angle_Delimiter_2: 0x06010002,
Bracket_Angle_Delimiter_3: 0x06010003,
Bracket_Round_OpenNone: 0x06020000,
Bracket_Round_NoneOpen: 0x06020001,
Bracket_Square_OpenNone: 0x06020002,
Bracket_Square_NoneOpen: 0x06020003,
Bracket_Curve_OpenNone: 0x06020004,
Bracket_Curve_NoneOpen: 0x06020005,
Bracket_Angle_OpenNone: 0x06020006,
Bracket_Angle_NoneOpen: 0x06020007,
Bracket_LowLim_OpenNone: 0x06020008,
Bracket_LowLim_NoneNone: 0x06020009,
Bracket_UppLim_OpenNone: 0x0602000a,
Bracket_UppLim_NoneOpen: 0x0602000b,
Bracket_Line_OpenNone: 0x0602000c,
Bracket_Line_NoneOpen: 0x0602000d,
Bracket_LineDouble_OpenNone: 0x0602000e,
Bracket_LineDouble_NoneOpen: 0x0602000f,
Bracket_SquareDouble_OpenNone: 0x06020010,
Bracket_SquareDouble_NoneOpen: 0x06020011,
Bracket_Custom_1: 0x06030000,
Bracket_Custom_2: 0x06030001,
Bracket_Custom_3: 0x06030002,
Bracket_Custom_4: 0x06030003,
Bracket_Custom_5: 0x06040000,
Bracket_Custom_6: 0x06040001,
Bracket_Custom_7: 0x06040002,
//----------------------------------------------------------------------------------------------------------------------
Function_Sin: 0x07000000,
Function_Cos: 0x07000001,
Function_Tan: 0x07000002,
Function_Csc: 0x07000003,
Function_Sec: 0x07000004,
Function_Cot: 0x07000005,
Function_1_Sin: 0x07010000,
Function_1_Cos: 0x07010001,
Function_1_Tan: 0x07010002,
Function_1_Csc: 0x07010003,
Function_1_Sec: 0x07010004,
Function_1_Cot: 0x07010005,
Function_Sinh: 0x07020000,
Function_Cosh: 0x07020001,
Function_Tanh: 0x07020002,
Function_Csch: 0x07020003,
Function_Sech: 0x07020004,
Function_Coth: 0x07020005,
Function_1_Sinh: 0x07030000,
Function_1_Cosh: 0x07030001,
Function_1_Tanh: 0x07030002,
Function_1_Csch: 0x07030003,
Function_1_Sech: 0x07030004,
Function_1_Coth: 0x07030005,
Function_Custom_1: 0x07040000,
Function_Custom_2: 0x07040001,
Function_Custom_3: 0x07040002,
//----------------------------------------------------------------------------------------------------------------------
Accent_Dot: 0x08000000,
Accent_DDot: 0x08000001,
Accent_DDDot: 0x08000002,
Accent_Hat: 0x08000003,
Accent_Check: 0x08000004,
Accent_Accent: 0x08000005,
Accent_Grave: 0x08000006,
Accent_Smile: 0x08000007,
Accent_Tilde: 0x08000008,
Accent_Bar: 0x08000009,
Accent_DoubleBar: 0x0800000a,
Accent_CurveBracketTop: 0x0800000b,
Accent_CurveBracketBot: 0x0800000c,
Accent_GroupTop: 0x0800000d,
Accent_GroupBot: 0x0800000e,
Accent_ArrowL: 0x0800000f,
Accent_ArrowR: 0x08000010,
Accent_ArrowD: 0x08000011,
Accent_HarpoonL: 0x08000012,
Accent_HarpoonR: 0x08000013,
Accent_BorderBox: 0x08010000,
Accent_BorderBoxCustom: 0x08010001,
Accent_BarTop: 0x08020000,
Accent_BarBot: 0x08020001,
Accent_Custom_1: 0x08030000,
Accent_Custom_2: 0x08030001,
Accent_Custom_3: 0x08030002,
//----------------------------------------------------------------------------------------------------------------------
LimitLog_LogBase: 0x09000000,
LimitLog_Log: 0x09000001,
LimitLog_Lim: 0x09000002,
LimitLog_Min: 0x09000003,
LimitLog_Max: 0x09000004,
LimitLog_Ln: 0x09000005,
LimitLog_Custom_1: 0x09010000,
LimitLog_Custom_2: 0x09010001,
//----------------------------------------------------------------------------------------------------------------------
Operator_ColonEquals: 0x0a000000,
Operator_EqualsEquals: 0x0a000001,
Operator_PlusEquals: 0x0a000002,
Operator_MinusEquals: 0x0a000003,
Operator_Definition: 0x0a000004,
Operator_UnitOfMeasure: 0x0a000005,
Operator_DeltaEquals: 0x0a000006,
Operator_ArrowL_Top: 0x0a010000,
Operator_ArrowR_Top: 0x0a010001,
Operator_ArrowL_Bot: 0x0a010002,
Operator_ArrowR_Bot: 0x0a010003,
Operator_DoubleArrowL_Top: 0x0a010004,
Operator_DoubleArrowR_Top: 0x0a010005,
Operator_DoubleArrowL_Bot: 0x0a010006,
Operator_DoubleArrowR_Bot: 0x0a010007,
Operator_ArrowD_Top: 0x0a010008,
Operator_ArrowD_Bot: 0x0a010009,
Operator_DoubleArrowD_Top: 0x0a01000a,
Operator_DoubleArrowD_Bot: 0x0a01000b,
Operator_Custom_1: 0x0a020000,
Operator_Custom_2: 0x0a020001,
//----------------------------------------------------------------------------------------------------------------------
Matrix_1_2: 0x0b000000,
Matrix_2_1: 0x0b000001,
Matrix_1_3: 0x0b000002,
Matrix_3_1: 0x0b000003,
Matrix_2_2: 0x0b000004,
Matrix_2_3: 0x0b000005,
Matrix_3_2: 0x0b000006,
Matrix_3_3: 0x0b000007,
Matrix_Dots_Center: 0x0b010000,
Matrix_Dots_Baseline: 0x0b010001,
Matrix_Dots_Vertical: 0x0b010002,
Matrix_Dots_Diagonal: 0x0b010003,
Matrix_Identity_2: 0x0b020000,
Matrix_Identity_2_NoZeros: 0x0b020001,
Matrix_Identity_3: 0x0b020002,
Matrix_Identity_3_NoZeros: 0x0b020003,
Matrix_2_2_RoundBracket: 0x0b030000,
Matrix_2_2_SquareBracket: 0x0b030001,
Matrix_2_2_LineBracket: 0x0b030002,
Matrix_2_2_DLineBracket: 0x0b030003,
Matrix_Flat_Round: 0x0b040000,
Matrix_Flat_Square: 0x0b040001,
//----------------------------------------------------------------------------------------------------------------------
Default_Text: 0x0c000000
};
//----------------------------------------------------------------------------------------------------------------------
Symbol_pm : 0x00000000,
Symbol_infinity : 0x00000001,
Symbol_equals : 0x00000002,
Symbol_neq : 0x00000003,
Symbol_about : 0x00000004,
Symbol_times : 0x00000005,
Symbol_div : 0x00000006,
Symbol_factorial : 0x00000007,
Symbol_propto : 0x00000008,
Symbol_less : 0x00000009,
Symbol_ll : 0x0000000a,
Symbol_greater : 0x0000000b,
Symbol_gg : 0x0000000c,
Symbol_leq : 0x0000000d,
Symbol_geq : 0x0000000e,
Symbol_mp : 0x0000000f,
Symbol_cong : 0x00000010,
Symbol_approx : 0x00000011,
Symbol_equiv : 0x00000012,
Symbol_forall : 0x00000013,
Symbol_additional : 0x00000014,
Symbol_partial : 0x00000015,
Symbol_sqrt : 0x00000016,
Symbol_cbrt : 0x00000017,
Symbol_qdrt : 0x00000018,
Symbol_cup : 0x00000019,
Symbol_cap : 0x0000001a,
Symbol_emptyset : 0x0000001b,
Symbol_percent : 0x0000001c,
Symbol_degree : 0x0000001d,
Symbol_fahrenheit : 0x0000001e,
Symbol_celsius : 0x0000001f,
Symbol_inc : 0x00000020,
Symbol_nabla : 0x00000021,
Symbol_exists : 0x00000022,
Symbol_notexists : 0x00000023,
Symbol_in : 0x00000024,
Symbol_ni : 0x00000025,
Symbol_leftarrow : 0x00000026,
Symbol_uparrow : 0x00000027,
Symbol_rightarrow : 0x00000028,
Symbol_downarrow : 0x00000029,
Symbol_leftrightarrow : 0x0000002a,
Symbol_therefore : 0x0000002b,
Symbol_plus : 0x0000002c,
Symbol_minus : 0x0000002d,
Symbol_not : 0x0000002e,
Symbol_ast : 0x0000002f,
Symbol_bullet : 0x00000030,
Symbol_vdots : 0x00000031,
Symbol_cdots : 0x00000032,
Symbol_rddots : 0x00000033,
Symbol_ddots : 0x00000034,
Symbol_aleph : 0x00000035,
Symbol_beth : 0x00000036,
Symbol_QED : 0x00000037,
Symbol_alpha : 0x00010000,
Symbol_beta : 0x00010001,
Symbol_gamma : 0x00010002,
Symbol_delta : 0x00010003,
Symbol_varepsilon : 0x00010004,
Symbol_epsilon : 0x00010005,
Symbol_zeta : 0x00010006,
Symbol_eta : 0x00010007,
Symbol_theta : 0x00010008,
Symbol_vartheta : 0x00010009,
Symbol_iota : 0x0001000a,
Symbol_kappa : 0x0001000b,
Symbol_lambda : 0x0001000c,
Symbol_mu : 0x0001000d,
Symbol_nu : 0x0001000e,
Symbol_xsi : 0x0001000f,
Symbol_o : 0x00010010,
Symbol_pi : 0x00010011,
Symbol_varpi : 0x00010012,
Symbol_rho : 0x00010013,
Symbol_varrho : 0x00010014,
Symbol_sigma : 0x00010015,
Symbol_varsigma : 0x00010016,
Symbol_tau : 0x00010017,
Symbol_upsilon : 0x00010018,
Symbol_varphi : 0x00010019,
Symbol_phi : 0x0001001a,
Symbol_chi : 0x0001001b,
Symbol_psi : 0x0001001c,
Symbol_omega : 0x0001001d,
Symbol_Alpha : 0x00020000,
Symbol_Beta : 0x00020001,
Symbol_Gamma : 0x00020002,
Symbol_Delta : 0x00020003,
Symbol_Epsilon : 0x00020004,
Symbol_Zeta : 0x00020005,
Symbol_Eta : 0x00020006,
Symbol_Theta : 0x00020007,
Symbol_Iota : 0x00020008,
Symbol_Kappa : 0x00020009,
Symbol_Lambda : 0x0002000a,
Symbol_Mu : 0x0002000b,
Symbol_Nu : 0x0002000c,
Symbol_Xsi : 0x0002000d,
Symbol_O : 0x0002000e,
Symbol_Pi : 0x0002000f,
Symbol_Rho : 0x00020010,
Symbol_Sigma : 0x00020011,
Symbol_Tau : 0x00020012,
Symbol_Upsilon : 0x00020013,
Symbol_Phi : 0x00020014,
Symbol_Chi : 0x00020015,
Symbol_Psi : 0x00020016,
Symbol_Omega : 0x00020017,
//----------------------------------------------------------------------------------------------------------------------
FractionVertical : 0x01000000,
FractionDiagonal : 0x01000001,
FractionHorizontal : 0x01000002,
FractionSmall : 0x01000003,
FractionDifferential_1 : 0x01010000,
FractionDifferential_2 : 0x01010001,
FractionDifferential_3 : 0x01010002,
FractionDifferential_4 : 0x01010003,
FractionPi_2 : 0x01010004,
//----------------------------------------------------------------------------------------------------------------------
ScriptSup : 0x02000000,
ScriptSub : 0x02000001,
ScriptSubSup : 0x02000002,
ScriptSubSupLeft : 0x02000003,
ScriptCustom_1 : 0x02010000,
ScriptCustom_2 : 0x02010001,
ScriptCustom_3 : 0x02010002,
ScriptCustom_4 : 0x02010003,
//----------------------------------------------------------------------------------------------------------------------
RadicalSqrt : 0x03000000,
RadicalRoot_n : 0x03000001,
RadicalRoot_2 : 0x03000002,
RadicalRoot_3 : 0x03000003,
RadicalCustom_1 : 0x03010000,
RadicalCustom_2 : 0x03010001,
//----------------------------------------------------------------------------------------------------------------------
Integral : 0x04000000,
IntegralSubSup : 0x04000001,
IntegralCenterSubSup : 0x04000002,
IntegralDouble : 0x04000003,
IntegralDoubleSubSup : 0x04000004,
IntegralDoubleCenterSubSup : 0x04000005,
IntegralTriple : 0x04000006,
IntegralTripleSubSup : 0x04000007,
IntegralTripleCenterSubSup : 0x04000008,
IntegralOriented : 0x04010000,
IntegralOrientedSubSup : 0x04010001,
IntegralOrientedCenterSubSup : 0x04010002,
IntegralOrientedDouble : 0x04010003,
IntegralOrientedDoubleSubSup : 0x04010004,
IntegralOrientedDoubleCenterSubSup : 0x04010005,
IntegralOrientedTriple : 0x04010006,
IntegralOrientedTripleSubSup : 0x04010007,
IntegralOrientedTripleCenterSubSup : 0x04010008,
Integral_dx : 0x04020000,
Integral_dy : 0x04020001,
Integral_dtheta : 0x04020002,
//----------------------------------------------------------------------------------------------------------------------
LargeOperator_Sum : 0x05000000,
LargeOperator_Sum_CenterSubSup : 0x05000001,
LargeOperator_Sum_SubSup : 0x05000002,
LargeOperator_Sum_CenterSub : 0x05000003,
LargeOperator_Sum_Sub : 0x05000004,
LargeOperator_Prod : 0x05010000,
LargeOperator_Prod_CenterSubSup : 0x05010001,
LargeOperator_Prod_SubSup : 0x05010002,
LargeOperator_Prod_CenterSub : 0x05010003,
LargeOperator_Prod_Sub : 0x05010004,
LargeOperator_CoProd : 0x05010005,
LargeOperator_CoProd_CenterSubSup : 0x05010006,
LargeOperator_CoProd_SubSup : 0x05010007,
LargeOperator_CoProd_CenterSub : 0x05010008,
LargeOperator_CoProd_Sub : 0x05010009,
LargeOperator_Union : 0x05020000,
LargeOperator_Union_CenterSubSup : 0x05020001,
LargeOperator_Union_SubSup : 0x05020002,
LargeOperator_Union_CenterSub : 0x05020003,
LargeOperator_Union_Sub : 0x05020004,
LargeOperator_Intersection : 0x05020005,
LargeOperator_Intersection_CenterSubSup : 0x05020006,
LargeOperator_Intersection_SubSup : 0x05020007,
LargeOperator_Intersection_CenterSub : 0x05020008,
LargeOperator_Intersection_Sub : 0x05020009,
LargeOperator_Disjunction : 0x05030000,
LargeOperator_Disjunction_CenterSubSup : 0x05030001,
LargeOperator_Disjunction_SubSup : 0x05030002,
LargeOperator_Disjunction_CenterSub : 0x05030003,
LargeOperator_Disjunction_Sub : 0x05030004,
LargeOperator_Conjunction : 0x05030005,
LargeOperator_Conjunction_CenterSubSup : 0x05030006,
LargeOperator_Conjunction_SubSup : 0x05030007,
LargeOperator_Conjunction_CenterSub : 0x05030008,
LargeOperator_Conjunction_Sub : 0x05030009,
LargeOperator_Custom_1 : 0x05040000,
LargeOperator_Custom_2 : 0x05040001,
LargeOperator_Custom_3 : 0x05040002,
LargeOperator_Custom_4 : 0x05040003,
LargeOperator_Custom_5 : 0x05040004,
//----------------------------------------------------------------------------------------------------------------------
Bracket_Round : 0x06000000,
Bracket_Square : 0x06000001,
Bracket_Curve : 0x06000002,
Bracket_Angle : 0x06000003,
Bracket_LowLim : 0x06000004,
Bracket_UppLim : 0x06000005,
Bracket_Line : 0x06000006,
Bracket_LineDouble : 0x06000007,
Bracket_Square_OpenOpen : 0x06000008,
Bracket_Square_CloseClose : 0x06000009,
Bracket_Square_CloseOpen : 0x0600000a,
Bracket_SquareDouble : 0x0600000b,
Bracket_Round_Delimiter_2 : 0x06010000,
Bracket_Curve_Delimiter_2 : 0x06010001,
Bracket_Angle_Delimiter_2 : 0x06010002,
Bracket_Angle_Delimiter_3 : 0x06010003,
Bracket_Round_OpenNone : 0x06020000,
Bracket_Round_NoneOpen : 0x06020001,
Bracket_Square_OpenNone : 0x06020002,
Bracket_Square_NoneOpen : 0x06020003,
Bracket_Curve_OpenNone : 0x06020004,
Bracket_Curve_NoneOpen : 0x06020005,
Bracket_Angle_OpenNone : 0x06020006,
Bracket_Angle_NoneOpen : 0x06020007,
Bracket_LowLim_OpenNone : 0x06020008,
Bracket_LowLim_NoneNone : 0x06020009,
Bracket_UppLim_OpenNone : 0x0602000a,
Bracket_UppLim_NoneOpen : 0x0602000b,
Bracket_Line_OpenNone : 0x0602000c,
Bracket_Line_NoneOpen : 0x0602000d,
Bracket_LineDouble_OpenNone : 0x0602000e,
Bracket_LineDouble_NoneOpen : 0x0602000f,
Bracket_SquareDouble_OpenNone : 0x06020010,
Bracket_SquareDouble_NoneOpen : 0x06020011,
Bracket_Custom_1 : 0x06030000,
Bracket_Custom_2 : 0x06030001,
Bracket_Custom_3 : 0x06030002,
Bracket_Custom_4 : 0x06030003,
Bracket_Custom_5 : 0x06040000,
Bracket_Custom_6 : 0x06040001,
Bracket_Custom_7 : 0x06040002,
//----------------------------------------------------------------------------------------------------------------------
Function_Sin : 0x07000000,
Function_Cos : 0x07000001,
Function_Tan : 0x07000002,
Function_Csc : 0x07000003,
Function_Sec : 0x07000004,
Function_Cot : 0x07000005,
Function_1_Sin : 0x07010000,
Function_1_Cos : 0x07010001,
Function_1_Tan : 0x07010002,
Function_1_Csc : 0x07010003,
Function_1_Sec : 0x07010004,
Function_1_Cot : 0x07010005,
Function_Sinh : 0x07020000,
Function_Cosh : 0x07020001,
Function_Tanh : 0x07020002,
Function_Csch : 0x07020003,
Function_Sech : 0x07020004,
Function_Coth : 0x07020005,
Function_1_Sinh : 0x07030000,
Function_1_Cosh : 0x07030001,
Function_1_Tanh : 0x07030002,
Function_1_Csch : 0x07030003,
Function_1_Sech : 0x07030004,
Function_1_Coth : 0x07030005,
Function_Custom_1 : 0x07040000,
Function_Custom_2 : 0x07040001,
Function_Custom_3 : 0x07040002,
//----------------------------------------------------------------------------------------------------------------------
Accent_Dot : 0x08000000,
Accent_DDot : 0x08000001,
Accent_DDDot : 0x08000002,
Accent_Hat : 0x08000003,
Accent_Check : 0x08000004,
Accent_Accent : 0x08000005,
Accent_Grave : 0x08000006,
Accent_Smile : 0x08000007,
Accent_Tilde : 0x08000008,
Accent_Bar : 0x08000009,
Accent_DoubleBar : 0x0800000a,
Accent_CurveBracketTop : 0x0800000b,
Accent_CurveBracketBot : 0x0800000c,
Accent_GroupTop : 0x0800000d,
Accent_GroupBot : 0x0800000e,
Accent_ArrowL : 0x0800000f,
Accent_ArrowR : 0x08000010,
Accent_ArrowD : 0x08000011,
Accent_HarpoonL : 0x08000012,
Accent_HarpoonR : 0x08000013,
Accent_BorderBox : 0x08010000,
Accent_BorderBoxCustom : 0x08010001,
Accent_BarTop : 0x08020000,
Accent_BarBot : 0x08020001,
Accent_Custom_1 : 0x08030000,
Accent_Custom_2 : 0x08030001,
Accent_Custom_3 : 0x08030002,
//----------------------------------------------------------------------------------------------------------------------
LimitLog_LogBase : 0x09000000,
LimitLog_Log : 0x09000001,
LimitLog_Lim : 0x09000002,
LimitLog_Min : 0x09000003,
LimitLog_Max : 0x09000004,
LimitLog_Ln : 0x09000005,
LimitLog_Custom_1 : 0x09010000,
LimitLog_Custom_2 : 0x09010001,
//----------------------------------------------------------------------------------------------------------------------
Operator_ColonEquals : 0x0a000000,
Operator_EqualsEquals : 0x0a000001,
Operator_PlusEquals : 0x0a000002,
Operator_MinusEquals : 0x0a000003,
Operator_Definition : 0x0a000004,
Operator_UnitOfMeasure : 0x0a000005,
Operator_DeltaEquals : 0x0a000006,
Operator_ArrowL_Top : 0x0a010000,
Operator_ArrowR_Top : 0x0a010001,
Operator_ArrowL_Bot : 0x0a010002,
Operator_ArrowR_Bot : 0x0a010003,
Operator_DoubleArrowL_Top : 0x0a010004,
Operator_DoubleArrowR_Top : 0x0a010005,
Operator_DoubleArrowL_Bot : 0x0a010006,
Operator_DoubleArrowR_Bot : 0x0a010007,
Operator_ArrowD_Top : 0x0a010008,
Operator_ArrowD_Bot : 0x0a010009,
Operator_DoubleArrowD_Top : 0x0a01000a,
Operator_DoubleArrowD_Bot : 0x0a01000b,
Operator_Custom_1 : 0x0a020000,
Operator_Custom_2 : 0x0a020001,
//----------------------------------------------------------------------------------------------------------------------
Matrix_1_2 : 0x0b000000,
Matrix_2_1 : 0x0b000001,
Matrix_1_3 : 0x0b000002,
Matrix_3_1 : 0x0b000003,
Matrix_2_2 : 0x0b000004,
Matrix_2_3 : 0x0b000005,
Matrix_3_2 : 0x0b000006,
Matrix_3_3 : 0x0b000007,
Matrix_Dots_Center : 0x0b010000,
Matrix_Dots_Baseline : 0x0b010001,
Matrix_Dots_Vertical : 0x0b010002,
Matrix_Dots_Diagonal : 0x0b010003,
Matrix_Identity_2 : 0x0b020000,
Matrix_Identity_2_NoZeros : 0x0b020001,
Matrix_Identity_3 : 0x0b020002,
Matrix_Identity_3_NoZeros : 0x0b020003,
Matrix_2_2_RoundBracket : 0x0b030000,
Matrix_2_2_SquareBracket : 0x0b030001,
Matrix_2_2_LineBracket : 0x0b030002,
Matrix_2_2_DLineBracket : 0x0b030003,
Matrix_Flat_Round : 0x0b040000,
Matrix_Flat_Square : 0x0b040001,
//----------------------------------------------------------------------------------------------------------------------
Default_Text : 0x0c000000
};
/** @enum {number} */
var c_oAscMathInterfaceType = {
Common : 0x00,
Fraction : 0x01,
......@@ -553,11 +568,13 @@ var c_oAscMathInterfaceType = {
Phantom : 0x0f
};
/** @enum {number} */
var c_oAscMathInterfaceBarPos = {
Top : 0,
Bottom : 1
};
/** @enum {number} */
var c_oAscMathInterfaceScript = {
None : 0x000, // Удаление скрипта
Sup : 0x001,
......@@ -566,6 +583,7 @@ var c_oAscMathInterfaceScript = {
PreSubSup : 0x004
};
/** @enum {number} */
var c_oAscMathInterfaceFraction = {
Bar : 0x001,
Skewed : 0x002,
......@@ -573,24 +591,28 @@ var c_oAscMathInterfaceFraction = {
NoBar : 0x004
};
/** @enum {number} */
var c_oAscMathInterfaceLimitPos = {
None : -1, // Удаление предела
Top : 0,
Bottom : 1
};
/** @enum {number} */
var c_oAscMathInterfaceMatrixMatrixAlign = {
Top : 0,
Center : 1,
Bottom : 2
};
/** @enum {number} */
var c_oAscMathInterfaceMatrixColumnAlign = {
Left : 0,
Center : 1,
Right : 2
};
/** @enum {number} */
var c_oAscMathInterfaceMatrixRowRule = {
Single : 0x00,
OneAndHalf : 0x01,
......@@ -600,6 +622,7 @@ var c_oAscMathInterfaceMatrixRowRule = {
};
/** @enum {number} */
var c_oAscMathInterfaceMatrixColumnRule = {
Single : 0x00,
OneAndHalf : 0x01,
......@@ -608,12 +631,14 @@ var c_oAscMathInterfaceMatrixColumnRule = {
Multiple : 0x04
};
/** @enum {number} */
var c_oAscMathInterfaceEqArrayAlign = {
Top : 0,
Center : 1,
Bottom : 2
};
/** @enum {number} */
var c_oAscMathInterfaceEqArrayLineRule = {
Single : 0x00,
OneAndHalf : 0x01,
......@@ -622,23 +647,27 @@ var c_oAscMathInterfaceEqArrayLineRule = {
Multiple : 0x04
};
/** @enum {number} */
var c_oAscMathInterfaceNaryLimitLocation = {
UndOvr : 0,
SubSup : 1
};
/** @enum {number} */
var c_oAscMathInterfaceGroupCharPos = {
None : -1, // Удаление GroupChar
Top : 0,
Bottom : 1
};
/** @enum {number} */
var c_oAscMathInterfaceSettingsBrkBin = {
BreakRepeat : 0x00,
BreakBefore : 0x01,
BreakAfter : 0x02
};
/** @enum {number} */
var c_oAscMathInterfaceSettingsAlign = {
Left : 0,
Center : 1,
......@@ -646,19 +675,19 @@ var c_oAscMathInterfaceSettingsAlign = {
Justify : 3
};
/** @enum {number} */
var c_oAscRevisionsChangeType = {
Unknown: 0x00,
TextAdd: 0x01,
TextRem: 0x02,
ParaAdd: 0x03,
ParaRem: 0x04,
TextPr: 0x05,
ParaPr: 0x06
Unknown : 0x00,
TextAdd : 0x01,
TextRem : 0x02,
ParaAdd : 0x03,
ParaRem : 0x04,
TextPr : 0x05,
ParaPr : 0x06
};
var c_oAscRevisionsObjectType =
{
/** @enum {number} */
var c_oAscRevisionsObjectType = {
Image : 0,
Shape : 1,
Chart : 2,
......
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