194 lines
3.3 KiB
JavaScript
194 lines
3.3 KiB
JavaScript
"use strict";
|
|
|
|
var c_oAscZoomType = {
|
|
Current: 0,
|
|
FitWidth: 1,
|
|
FitPage: 2
|
|
};
|
|
|
|
var c_oAscCollaborativeMarksShowType = {
|
|
All: 0,
|
|
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;
|
|
Bottom: 0x02 // var vertalignjc_Bottom = 0x02
|
|
};
|
|
|
|
// Right = 0; Left = 1; Center = 2; Justify = 3;
|
|
var c_oAscAlignType = {
|
|
LEFT: 0,
|
|
CENTER: 1,
|
|
RIGHT: 2,
|
|
JUSTIFY: 3,
|
|
TOP: 4,
|
|
MIDDLE: 5,
|
|
BOTTOM: 6
|
|
};
|
|
|
|
// image wrap style
|
|
var c_oAscWrapStyle = {
|
|
Inline: 0,
|
|
Flow: 1
|
|
};
|
|
|
|
/*Error level & ID*/
|
|
var c_oAscError = {
|
|
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,
|
|
StockChartError: -16,
|
|
CoAuthoringDisconnect: -18,
|
|
ConvertationPassword: -19,
|
|
VKeyEncrypt: -20,
|
|
KeyExpire: -21,
|
|
UserCountExceed: -22,
|
|
SplitCellMaxRows: -23,
|
|
SplitCellMaxCols: -24,
|
|
SplitCellRowsDivider: -25,
|
|
|
|
UserDrop: -100,
|
|
Warning: -101
|
|
}
|
|
};
|
|
|
|
|
|
var c_oAscContextMenuTypes = {
|
|
Main: 0,
|
|
Thumbnails: 1
|
|
};
|
|
|
|
var THEME_THUMBNAIL_WIDTH = 180;
|
|
var THEME_THUMBNAIL_HEIGHT = 135;
|
|
var LAYOUT_THUMBNAIL_WIDTH = 180;
|
|
var LAYOUT_THUMBNAIL_HEIGHT = 135;
|
|
|
|
|
|
var hdrftr_Header = 0x01;
|
|
var hdrftr_Footer = 0x02;
|
|
|
|
var c_oAscTableSelectionType = {
|
|
Cell: 0,
|
|
Row: 1,
|
|
Column: 2,
|
|
Table: 3
|
|
};
|
|
|
|
var c_oAscAlignShapeType = {
|
|
ALIGN_LEFT: 0,
|
|
ALIGN_RIGHT: 1,
|
|
ALIGN_TOP: 2,
|
|
ALIGN_BOTTOM: 3,
|
|
ALIGN_CENTER: 4,
|
|
ALIGN_MIDDLE: 5
|
|
};
|
|
|
|
|
|
var c_oAscTableLayout = {
|
|
AutoFit: 0x00,
|
|
Fixed: 0x01
|
|
};
|
|
|
|
var c_oAscMouseMoveDataTypes = {
|
|
Common: 0,
|
|
Hyperlink: 1,
|
|
LockedObject: 2
|
|
};
|
|
|
|
var c_oAscSlideTransitionTypes = {
|
|
None: 0,
|
|
Fade: 1,
|
|
Push: 2,
|
|
Wipe: 3,
|
|
Split: 4,
|
|
UnCover: 5,
|
|
Cover: 6,
|
|
Clock: 7,
|
|
Zoom: 8
|
|
};
|
|
|
|
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
|
|
};
|
|
|
|
var c_oAscLockTypeElemPresentation = {
|
|
Object: 1,
|
|
Slide: 2,
|
|
Presentation: 3
|
|
};
|
|
|
|
var TABLE_STYLE_WIDTH_PIX = 70;
|
|
var TABLE_STYLE_HEIGHT_PIX = 50; |