Commit 6418bf60 authored by Alexander.Trofimov's avatar Alexander.Trofimov

add export used 'c_oAsc...' variables

parent 3693d8a4
......@@ -349,3 +349,29 @@ var c_oAscPopUpSelectorType = {
Range: 2,
Table: 3
};
//------------------------------------------------------------export---------------------------------------------------
if (undefined === window['Asc']) {
window['Asc'] = {};
}
window['Asc']['c_oAscError'] = c_oAscError;
window['Asc']['c_oAscConfirm'] = c_oAscConfirm;
window['Asc']['c_oAscMergeOptions'] = c_oAscMergeOptions;
window['Asc']['c_oAscInsertOptions'] = c_oAscInsertOptions;
window['Asc']['c_oAscDeleteOptions'] = c_oAscDeleteOptions;
window['Asc']['c_oAscBorderOptions'] = c_oAscBorderOptions;
window['Asc']['c_oAscCleanOptions'] = c_oAscCleanOptions;
window['Asc']['c_oAscSelectionType'] = c_oAscSelectionType;
window['Asc']['c_oAscSelectionDialogType'] = c_oAscSelectionDialogType;
window['Asc']['c_oAscHyperlinkType'] = c_oAscHyperlinkType;
window['Asc']['c_oAscMouseMoveType'] = c_oAscMouseMoveType;
window['Asc']['c_oAscMouseMoveLockedObjectType'] = c_oAscMouseMoveLockedObjectType;
window['Asc']['c_oAscPrintType'] = c_oAscPrintType;
window['Asc']['c_oAscCustomAutoFilter'] = c_oAscCustomAutoFilter;
window['Asc']['c_oAscChangeFilterOptions'] = c_oAscChangeFilterOptions;
window['Asc']['c_oAscCellEditorState'] = c_oAscCellEditorState;
window['Asc']['c_oAscAutoFilterTypes'] = c_oAscAutoFilterTypes;
window['Asc']['c_oAscFindLookIn'] = c_oAscFindLookIn;
window['Asc']['c_oAscGetDefinedNamesList'] = c_oAscGetDefinedNamesList;
window['Asc']['c_oAscDefinedNameReason'] = c_oAscDefinedNameReason;
window['Asc']['c_oAscPopUpSelectorType'] = c_oAscPopUpSelectorType;
......@@ -2846,9 +2846,6 @@ var CDocInfo = window["CDocInfo"];
var CErrorData = window["CErrorData"];
var c_oAscArrUserColors = [16757719, 7929702, 56805, 10081791, 12884479, 16751001, 6748927, 16762931, 6865407,
15650047, 16737894, 3407768, 16759142, 10852863, 6750176, 16774656, 13926655, 13815039, 3397375, 11927347,
16752947, 9404671, 4980531, 16744678, 3407830, 15919360, 16731553, 52479, 13330175, 16743219, 3386367, 14221056,
......@@ -2858,8 +2855,6 @@ var c_oAscArrUserColors = [16757719, 7929702, 56805, 10081791, 12884479, 1675100
16718470, 14274816, 53721, 16718545, 1625088, 15881472, 13419776, 32985, 16711800, 1490688, 16711884, 8991743,
13407488, 41932, 7978752, 15028480, 52387, 15007927, 12114176, 1421824, 55726, 13041893, 10665728, 30924, 49049,
14241024, 36530, 11709440, 13397504, 45710, 34214];
// export
window["c_oAscArrUserColors"] = c_oAscArrUserColors;
function CAscMathType()
{
......@@ -3671,4 +3666,10 @@ function CorrectUniColor(asc_color, unicolor, flag)
}
}
return ret;
}
\ No newline at end of file
}
//------------------------------------------------------------export---------------------------------------------------
if (undefined === window['Asc']) {
window['Asc'] = {};
}
window['Asc']['c_oAscArrUserColors'] = c_oAscArrUserColors;
......@@ -797,4 +797,56 @@ var c_oAscDocumentUnits = {
Millimeter : 0,
Inch : 1,
Point : 2
};
\ No newline at end of file
};
//------------------------------------------------------------export---------------------------------------------------
if (undefined === window['Asc']) {
window['Asc'] = {};
}
window['Asc']['c_oAscMaxColumnWidth'] = c_oAscMaxColumnWidth;
window['Asc']['c_oAscMaxRowHeight'] = c_oAscMaxRowHeight;
window['Asc']['c_oAscFileType'] = c_oAscFileType;
window['Asc']['c_oAscAsyncAction'] = c_oAscAsyncAction;
window['Asc']['c_oAscAdvancedOptionsID'] = c_oAscAdvancedOptionsID;
window['Asc']['c_oAscFontRenderingModeType'] = c_oAscFontRenderingModeType;
window['Asc']['c_oAscAsyncActionType'] = c_oAscAsyncActionType;
window['Asc']['c_oAscNumFormatType'] = c_oAscNumFormatType;
window['Asc']['c_oAscDrawingLayerType'] = c_oAscDrawingLayerType;
window['Asc']['c_oAscTypeSelectElement'] = c_oAscTypeSelectElement;
window['Asc']['c_oAscChartTitleShowSettings'] = c_oAscChartTitleShowSettings;
window['Asc']['c_oAscChartHorAxisLabelShowSettings'] = c_oAscChartHorAxisLabelShowSettings;
window['Asc']['c_oAscChartVertAxisLabelShowSettings'] = c_oAscChartVertAxisLabelShowSettings;
window['Asc']['c_oAscChartLegendShowSettings'] = c_oAscChartLegendShowSettings;
window['Asc']['c_oAscChartDataLabelsPos'] = c_oAscChartDataLabelsPos;
window['Asc']['c_oAscGridLinesSettings'] = c_oAscGridLinesSettings;
window['Asc']['c_oAscChartTypeSettings'] = c_oAscChartTypeSettings;
window['Asc']['c_oAscValAxisRule'] = c_oAscValAxisRule;
window['Asc']['c_oAscValAxUnits'] = c_oAscValAxUnits;
window['Asc']['c_oAscTickMark'] = c_oAscTickMark;
window['Asc']['c_oAscTickLabelsPos'] = c_oAscTickLabelsPos;
window['Asc']['c_oAscCrossesRule'] = c_oAscCrossesRule;
window['Asc']['c_oAscBetweenLabelsRule'] = c_oAscBetweenLabelsRule;
window['Asc']['c_oAscLabelsPosition'] = c_oAscLabelsPosition;
window['Asc']['c_oAscAxisType'] = c_oAscAxisType;
window['Asc']['c_oAscHAnchor'] = c_oAscHAnchor;
window['Asc']['c_oAscXAlign'] = c_oAscXAlign;
window['Asc']['c_oAscYAlign'] = c_oAscYAlign;
window['Asc']['c_oAscVAnchor'] = c_oAscVAnchor;
window['Asc']['c_oAscRelativeFromH'] = c_oAscRelativeFromH;
window['Asc']['c_oAscRelativeFromV'] = c_oAscRelativeFromV;
window['Asc']['c_oAscPageOrientation'] = c_oAscPageOrientation;
window['Asc']['c_oAscColor'] = c_oAscColor;
window['Asc']['c_oAscFill'] = c_oAscFill;
window['Asc']['c_oAscFillGradType'] = c_oAscFillGradType;
window['Asc']['c_oAscFillBlipType'] = c_oAscFillBlipType;
window['Asc']['c_oAscStrokeType'] = c_oAscStrokeType;
window['Asc']['c_oAscVerticalTextAlign'] = c_oAscVerticalTextAlign;
window['Asc']['c_oAscLineJoinType'] = c_oAscLineJoinType;
window['Asc']['c_oAscLineCapType'] = c_oAscLineCapType;
window['Asc']['c_oAscLineBeginType'] = c_oAscLineBeginType;
window['Asc']['c_oAscLineBeginSize'] = c_oAscLineBeginSize;
window['Asc']['c_oAscVertDrawingText'] = c_oAscVertDrawingText;
window['Asc']['c_oAscCellTextDirection'] = c_oAscCellTextDirection;
window['Asc']['c_oAscMaxTooltipLength'] = c_oAscMaxTooltipLength;
window['Asc']['c_oAscMaxCellOrCommentLength'] = c_oAscMaxCellOrCommentLength;
......@@ -11,36 +11,6 @@ var c_oAscCollaborativeMarksShowType = {
LastChanges: 1
};
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_oAscVertAlignJc = {
Top: 0x00, // var vertalignjc_Top = 0x00;
Center: 0x01, // var vertalignjc_Center = 0x01;
......@@ -191,4 +161,17 @@ var c_oAscLockTypeElemPresentation = {
};
var TABLE_STYLE_WIDTH_PIX = 70;
var TABLE_STYLE_HEIGHT_PIX = 50;
\ No newline at end of file
var TABLE_STYLE_HEIGHT_PIX = 50;
//------------------------------------------------------------export---------------------------------------------------
if (undefined === window['Asc']) {
window['Asc'] = {};
}
window['Asc']['c_oAscCollaborativeMarksShowType'] = c_oAscCollaborativeMarksShowType;
window['Asc']['c_oAscVertAlignJc'] = c_oAscVertAlignJc;
window['Asc']['c_oAscTableLayout'] = c_oAscTableLayout;
window['Asc']['c_oAscError'] = c_oAscError;
window['Asc']['c_oAscContextMenuTypes'] = c_oAscContextMenuTypes;
window['Asc']['c_oAscAlignShapeType'] = c_oAscAlignShapeType;
window['Asc']['c_oAscSlideTransitionTypes'] = c_oAscSlideTransitionTypes;
window['Asc']['c_oAscSlideTransitionParams'] = c_oAscSlideTransitionParams;
......@@ -667,7 +667,6 @@ var c_oAscMathInterfaceSettingsAlign = {
};
var c_oAscRevisionsChangeType = {
Unknown: 0x00,
TextAdd: 0x01,
......@@ -690,6 +689,32 @@ var c_oAscPageOrientation = {
Portrait : 0x00,
Landscape : 0x01
};
window["flat_desine"] = false;
\ No newline at end of file
window["flat_desine"] = false;
//------------------------------------------------------------export---------------------------------------------------
if (undefined === window['Asc']) {
window['Asc'] = {};
}
window['Asc']['c_oAscWrapStyle2'] = c_oAscWrapStyle2;
window['Asc']['c_oAscError'] = c_oAscError;
window['Asc']['c_oAscContextMenuTypes'] = c_oAscContextMenuTypes;
window['Asc']['c_oAscCollaborativeMarksShowType'] = c_oAscCollaborativeMarksShowType;
window['Asc']['c_oAscAlignH'] = c_oAscAlignH;
window['Asc']['c_oAscAlignV'] = c_oAscAlignV;
window['Asc']['c_oAscChangeLevel'] = c_oAscChangeLevel;
window['Asc']['c_oAscVertAlignJc'] = c_oAscVertAlignJc;
window['Asc']['c_oAscTableLayout'] = c_oAscTableLayout;
window['Asc']['c_oAscAlignShapeType'] = c_oAscAlignShapeType;
window['Asc']['c_oAscDropCap'] = c_oAscDropCap;
window['Asc']['c_oAscSectionBreakType'] = c_oAscSectionBreakType;
window['Asc']['c_oAscMathInterfaceType'] = c_oAscMathInterfaceType;
window['Asc']['c_oAscMathInterfaceBarPos'] = c_oAscMathInterfaceBarPos;
window['Asc']['c_oAscMathInterfaceScript'] = c_oAscMathInterfaceScript;
window['Asc']['c_oAscMathInterfaceFraction'] = c_oAscMathInterfaceFraction;
window['Asc']['c_oAscMathInterfaceLimitPos'] = c_oAscMathInterfaceLimitPos;
window['Asc']['c_oAscMathInterfaceMatrixMatrixAlign'] = c_oAscMathInterfaceMatrixMatrixAlign;
window['Asc']['c_oAscMathInterfaceMatrixColumnAlign'] = c_oAscMathInterfaceMatrixColumnAlign;
window['Asc']['c_oAscMathInterfaceEqArrayAlign'] = c_oAscMathInterfaceEqArrayAlign;
window['Asc']['c_oAscMathInterfaceNaryLimitLocation'] = c_oAscMathInterfaceNaryLimitLocation;
window['Asc']['c_oAscMathInterfaceGroupCharPos'] = c_oAscMathInterfaceGroupCharPos;
window['Asc']['c_oAscRevisionsChangeType'] = c_oAscRevisionsChangeType;
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