Commit 8dab3043 authored by Alexander.Trofimov's avatar Alexander.Trofimov

add export used 'c_oAsc...' variables

parent 62b435cf
......@@ -373,3 +373,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;
......@@ -2870,9 +2870,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,
......@@ -2882,8 +2879,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()
{
......@@ -3695,4 +3690,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;
......@@ -815,4 +815,55 @@ var changestype_2_AdditionalTypes = 6; // Дополнительные п
var contentchanges_Add = 1;
var contentchanges_Remove = 2;
var offlineMode = '_offline_';
\ No newline at end of file
var offlineMode = '_offline_';
//------------------------------------------------------------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;
/*
*
* (c) Copyright Ascensio System Limited 2010-2016
*
* This program is freeware. You can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html).
* In accordance with Section 7(a) of the GNU GPL its Section 15 shall be amended to the effect that
* Ascensio System SIA expressly excludes the warranty of non-infringement of any third-party rights.
*
* THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR
* FITNESS FOR A PARTICULAR PURPOSE. For more details, see GNU GPL at https://www.gnu.org/copyleft/gpl.html
*
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
*
* The interactive user interfaces in modified source and object code versions of ONLYOFFICE must display
* Appropriate Legal Notices, as required under Section 5 of the GNU GPL version 3.
*
* Pursuant to Section 7  3(b) of the GNU GPL you must retain the original ONLYOFFICE logo which contains
* relevant author attributions when distributing the software. If the display of the logo in its graphic
* form is not reasonably feasible for technical reasons, you must include the words "Powered by ONLYOFFICE"
* in every copy of the program you distribute.
* Pursuant to Section 7  3(e) we decline to grant you any rights under trademark law for use of our trademarks.
*
*/
/*
*
* (c) Copyright Ascensio System Limited 2010-2016
*
* This program is freeware. You can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html).
* In accordance with Section 7(a) of the GNU GPL its Section 15 shall be amended to the effect that
* Ascensio System SIA expressly excludes the warranty of non-infringement of any third-party rights.
*
* THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR
* FITNESS FOR A PARTICULAR PURPOSE. For more details, see GNU GPL at https://www.gnu.org/copyleft/gpl.html
*
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
*
* The interactive user interfaces in modified source and object code versions of ONLYOFFICE must display
* Appropriate Legal Notices, as required under Section 5 of the GNU GPL version 3.
*
* Pursuant to Section 7  3(b) of the GNU GPL you must retain the original ONLYOFFICE logo which contains
* relevant author attributions when distributing the software. If the display of the logo in its graphic
* form is not reasonably feasible for technical reasons, you must include the words "Powered by ONLYOFFICE"
* in every copy of the program you distribute.
* Pursuant to Section 7  3(e) we decline to grant you any rights under trademark law for use of our trademarks.
*
*/
"use strict";
var c_oAscZoomType = {
......@@ -35,36 +35,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;
......@@ -215,4 +185,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;
/*
*
* (c) Copyright Ascensio System Limited 2010-2016
*
* This program is freeware. You can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html).
* In accordance with Section 7(a) of the GNU GPL its Section 15 shall be amended to the effect that
* Ascensio System SIA expressly excludes the warranty of non-infringement of any third-party rights.
*
* THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR
* FITNESS FOR A PARTICULAR PURPOSE. For more details, see GNU GPL at https://www.gnu.org/copyleft/gpl.html
*
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
*
* The interactive user interfaces in modified source and object code versions of ONLYOFFICE must display
* Appropriate Legal Notices, as required under Section 5 of the GNU GPL version 3.
*
* Pursuant to Section 7  3(b) of the GNU GPL you must retain the original ONLYOFFICE logo which contains
* relevant author attributions when distributing the software. If the display of the logo in its graphic
* form is not reasonably feasible for technical reasons, you must include the words "Powered by ONLYOFFICE"
* in every copy of the program you distribute.
* Pursuant to Section 7  3(e) we decline to grant you any rights under trademark law for use of our trademarks.
*
*/
/*
*
* (c) Copyright Ascensio System Limited 2010-2016
*
* This program is freeware. You can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html).
* In accordance with Section 7(a) of the GNU GPL its Section 15 shall be amended to the effect that
* Ascensio System SIA expressly excludes the warranty of non-infringement of any third-party rights.
*
* THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR
* FITNESS FOR A PARTICULAR PURPOSE. For more details, see GNU GPL at https://www.gnu.org/copyleft/gpl.html
*
* You can contact Ascensio System SIA by email at sales@onlyoffice.com
*
* The interactive user interfaces in modified source and object code versions of ONLYOFFICE must display
* Appropriate Legal Notices, as required under Section 5 of the GNU GPL version 3.
*
* Pursuant to Section 7  3(b) of the GNU GPL you must retain the original ONLYOFFICE logo which contains
* relevant author attributions when distributing the software. If the display of the logo in its graphic
* form is not reasonably feasible for technical reasons, you must include the words "Powered by ONLYOFFICE"
* in every copy of the program you distribute.
* Pursuant to Section 7  3(e) we decline to grant you any rights under trademark law for use of our trademarks.
*
*/
"use strict";
var c_oAscZoomType = {
......@@ -691,7 +691,6 @@ var c_oAscMathInterfaceSettingsAlign = {
};
var c_oAscRevisionsChangeType = {
Unknown: 0x00,
TextAdd: 0x01,
......@@ -714,6 +713,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