Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
43375450
Commit
43375450
authored
Jul 11, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release/4.0.1' into develop
Conflicts: common/commonDefines.js
parents
27353cb1
15764928
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
842 additions
and
806 deletions
+842
-806
common/commonDefines.js
common/commonDefines.js
+5
-6
slide/apiDefines.js
slide/apiDefines.js
+143
-134
word/apiDefines.js
word/apiDefines.js
+694
-666
No files found.
common/commonDefines.js
View file @
43375450
...
...
@@ -669,8 +669,7 @@
TEXT_ALIGN_TOP
:
4
// Top
};
var
c_oAscVertDrawingText
=
{
var
c_oAscVertDrawingText
=
{
normal
:
1
,
vert
:
3
,
vert270
:
4
...
...
slide/apiDefines.js
View file @
43375450
...
...
@@ -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
=
{
...
...
@@ -148,64 +157,64 @@ var TABLE_STYLE_HEIGHT_PIX = 50;
//------------------------------------------------------------export---------------------------------------------------
var
prot
;
window
[
'
Asc
'
]
=
window
[
'
Asc
'
]
||
{};
window
[
'
Asc
'
][
'
c_oAscCollaborativeMarksShowType
'
]
=
c_oAscCollaborativeMarksShowType
;
prot
=
c_oAscCollaborativeMarksShowType
;
prot
[
'
All
'
]
=
prot
.
All
;
prot
[
'
LastChanges
'
]
=
prot
.
LastChanges
;
window
[
'
Asc
'
][
'
c_oAscVertAlignJc
'
]
=
c_oAscVertAlignJc
;
prot
=
c_oAscVertAlignJc
;
prot
[
'
Top
'
]
=
prot
.
Top
;
prot
[
'
Center
'
]
=
prot
.
Center
;
prot
[
'
Bottom
'
]
=
prot
.
Bottom
;
window
[
'
Asc
'
][
'
c_oAscContextMenuTypes
'
]
=
window
[
'
Asc
'
].
c_oAscContextMenuTypes
=
c_oAscContextMenuTypes
;
prot
=
c_oAscContextMenuTypes
;
prot
[
'
Main
'
]
=
prot
.
Main
;
prot
[
'
Thumbnails
'
]
=
prot
.
Thumbnails
;
window
[
'
Asc
'
][
'
c_oAscAlignShapeType
'
]
=
c_oAscAlignShapeType
;
prot
=
c_oAscAlignShapeType
;
prot
[
'
ALIGN_LEFT
'
]
=
prot
.
ALIGN_LEFT
;
prot
[
'
ALIGN_RIGHT
'
]
=
prot
.
ALIGN_RIGHT
;
prot
[
'
ALIGN_TOP
'
]
=
prot
.
ALIGN_TOP
;
prot
[
'
ALIGN_BOTTOM
'
]
=
prot
.
ALIGN_BOTTOM
;
prot
[
'
ALIGN_CENTER
'
]
=
prot
.
ALIGN_CENTER
;
prot
[
'
ALIGN_MIDDLE
'
]
=
prot
.
ALIGN_MIDDLE
;
window
[
'
Asc
'
][
'
c_oAscTableLayout
'
]
=
c_oAscTableLayout
;
prot
=
c_oAscTableLayout
;
prot
[
'
AutoFit
'
]
=
pro
t
.
AutoFit
;
prot
[
'
Fixed
'
]
=
pro
t
.
Fixed
;
window
[
'
Asc
'
][
'
c_oAscSlideTransitionTypes
'
]
=
c_oAscSlideTransitionTypes
;
prot
=
c_oAscSlideTransitionTypes
;
prot
[
'
None
'
]
=
prot
.
None
;
prot
[
'
Fade
'
]
=
prot
.
Fade
;
prot
[
'
Push
'
]
=
prot
.
Push
;
prot
[
'
Wipe
'
]
=
prot
.
Wipe
;
prot
[
'
Split
'
]
=
prot
.
Split
;
prot
[
'
UnCover
'
]
=
prot
.
UnCover
;
prot
[
'
Cover
'
]
=
prot
.
Cover
;
prot
[
'
Clock
'
]
=
prot
.
Clock
;
prot
[
'
Zoom
'
]
=
prot
.
Zoom
;
window
[
'
Asc
'
][
'
c_oAscSlideTransitionParams
'
]
=
c_oAscSlideTransitionParams
;
prot
=
c_oAscSlideTransitionParams
;
prot
[
'
Fade_Smoothly
'
]
=
prot
.
Fade_Smoothly
;
prot
[
'
Fade_Through_Black
'
]
=
prot
.
Fade_Through_Black
;
prot
[
'
Param_Left
'
]
=
prot
.
Param_Left
;
prot
[
'
Param_Top
'
]
=
prot
.
Param_Top
;
prot
[
'
Param_Right
'
]
=
prot
.
Param_Right
;
prot
[
'
Param_Bottom
'
]
=
prot
.
Param_Bottom
;
prot
[
'
Param_TopLeft
'
]
=
prot
.
Param_TopLeft
;
prot
[
'
Param_TopRight
'
]
=
prot
.
Param_TopRight
;
prot
[
'
Param_BottomLeft
'
]
=
prot
.
Param_BottomLeft
;
prot
[
'
Param_BottomRight
'
]
=
prot
.
Param_BottomRight
;
prot
[
'
Split_VerticalIn
'
]
=
prot
.
Split_VerticalIn
;
prot
[
'
Split_VerticalOut
'
]
=
prot
.
Split_VerticalOut
;
prot
[
'
Split_HorizontalIn
'
]
=
prot
.
Split_HorizontalIn
;
prot
[
'
Split_HorizontalOut
'
]
=
prot
.
Split_HorizontalOut
;
prot
[
'
Clock_Clockwise
'
]
=
prot
.
Clock_Clockwise
;
prot
[
'
Clock_Counterclockwise
'
]
=
prot
.
Clock_Counterclockwise
;
prot
[
'
Clock_Wedge
'
]
=
prot
.
Clock_Wedge
;
prot
[
'
Zoom_In
'
]
=
prot
.
Zoom_In
;
prot
[
'
Zoom_Out
'
]
=
prot
.
Zoom_Out
;
prot
[
'
Zoom_AndRotate
'
]
=
prot
.
Zoom_AndRotate
;
prot
=
window
[
'
Asc
'
][
'
c_oAscCollaborativeMarksShowType
'
]
=
c_oAscCollaborativeMarksShowType
;
prot
[
'
All
'
]
=
c_oAscCollaborativeMarksShowType
.
All
;
prot
[
'
LastChanges
'
]
=
c_oAscCollaborativeMarksShowType
.
LastChanges
;
prot
=
window
[
'
Asc
'
][
'
c_oAscVertAlignJc
'
]
=
c_oAscVertAlignJc
;
prot
[
'
Top
'
]
=
c_oAscVertAlignJc
.
Top
;
prot
[
'
Center
'
]
=
c_oAscVertAlignJc
.
Center
;
prot
[
'
Bottom
'
]
=
c_oAscVertAlignJc
.
Bottom
;
prot
=
window
[
'
Asc
'
][
'
c_oAscContextMenuTypes
'
]
=
window
[
'
Asc
'
].
c_oAscContextMenuTypes
=
c_oAscContextMenuTypes
;
prot
[
'
Main
'
]
=
c_oAscContextMenuTypes
.
Main
;
prot
[
'
Thumbnails
'
]
=
c_oAscContextMenuTypes
.
Thumbnails
;
prot
=
window
[
'
Asc
'
][
'
c_oAscAlignShapeType
'
]
=
c_oAscAlignShapeType
;
prot
[
'
ALIGN_LEFT
'
]
=
c_oAscAlignShapeType
.
ALIGN_LEFT
;
prot
[
'
ALIGN_RIGHT
'
]
=
c_oAscAlignShapeType
.
ALIGN_RIGHT
;
prot
[
'
ALIGN_TOP
'
]
=
c_oAscAlignShapeType
.
ALIGN_TOP
;
prot
[
'
ALIGN_BOTTOM
'
]
=
c_oAscAlignShapeType
.
ALIGN_BOTTOM
;
prot
[
'
ALIGN_CENTER
'
]
=
c_oAscAlignShapeType
.
ALIGN_CENTER
;
prot
[
'
ALIGN_MIDDLE
'
]
=
c_oAscAlignShapeType
.
ALIGN_MIDDLE
;
prot
=
window
[
'
Asc
'
][
'
c_oAscTableLayout
'
]
=
c_oAscTableLayout
;
prot
[
'
AutoFit
'
]
=
c_oAscTableLayou
t
.
AutoFit
;
prot
[
'
Fixed
'
]
=
c_oAscTableLayou
t
.
Fixed
;
prot
=
window
[
'
Asc
'
][
'
c_oAscSlideTransitionTypes
'
]
=
c_oAscSlideTransitionTypes
;
prot
[
'
None
'
]
=
c_oAscSlideTransitionTypes
.
None
;
prot
[
'
Fade
'
]
=
c_oAscSlideTransitionTypes
.
Fade
;
prot
[
'
Push
'
]
=
c_oAscSlideTransitionTypes
.
Push
;
prot
[
'
Wipe
'
]
=
c_oAscSlideTransitionTypes
.
Wipe
;
prot
[
'
Split
'
]
=
c_oAscSlideTransitionTypes
.
Split
;
prot
[
'
UnCover
'
]
=
c_oAscSlideTransitionTypes
.
UnCover
;
prot
[
'
Cover
'
]
=
c_oAscSlideTransitionTypes
.
Cover
;
prot
[
'
Clock
'
]
=
c_oAscSlideTransitionTypes
.
Clock
;
prot
[
'
Zoom
'
]
=
c_oAscSlideTransitionTypes
.
Zoom
;
prot
=
window
[
'
Asc
'
][
'
c_oAscSlideTransitionParams
'
]
=
c_oAscSlideTransitionParams
;
prot
[
'
Fade_Smoothly
'
]
=
c_oAscSlideTransitionParams
.
Fade_Smoothly
;
prot
[
'
Fade_Through_Black
'
]
=
c_oAscSlideTransitionParams
.
Fade_Through_Black
;
prot
[
'
Param_Left
'
]
=
c_oAscSlideTransitionParams
.
Param_Left
;
prot
[
'
Param_Top
'
]
=
c_oAscSlideTransitionParams
.
Param_Top
;
prot
[
'
Param_Right
'
]
=
c_oAscSlideTransitionParams
.
Param_Right
;
prot
[
'
Param_Bottom
'
]
=
c_oAscSlideTransitionParams
.
Param_Bottom
;
prot
[
'
Param_TopLeft
'
]
=
c_oAscSlideTransitionParams
.
Param_TopLeft
;
prot
[
'
Param_TopRight
'
]
=
c_oAscSlideTransitionParams
.
Param_TopRight
;
prot
[
'
Param_BottomLeft
'
]
=
c_oAscSlideTransitionParams
.
Param_BottomLeft
;
prot
[
'
Param_BottomRight
'
]
=
c_oAscSlideTransitionParams
.
Param_BottomRight
;
prot
[
'
Split_VerticalIn
'
]
=
c_oAscSlideTransitionParams
.
Split_VerticalIn
;
prot
[
'
Split_VerticalOut
'
]
=
c_oAscSlideTransitionParams
.
Split_VerticalOut
;
prot
[
'
Split_HorizontalIn
'
]
=
c_oAscSlideTransitionParams
.
Split_HorizontalIn
;
prot
[
'
Split_HorizontalOut
'
]
=
c_oAscSlideTransitionParams
.
Split_HorizontalOut
;
prot
[
'
Clock_Clockwise
'
]
=
c_oAscSlideTransitionParams
.
Clock_Clockwise
;
prot
[
'
Clock_Counterclockwise
'
]
=
c_oAscSlideTransitionParams
.
Clock_Counterclockwise
;
prot
[
'
Clock_Wedge
'
]
=
c_oAscSlideTransitionParams
.
Clock_Wedge
;
prot
[
'
Zoom_In
'
]
=
c_oAscSlideTransitionParams
.
Zoom_In
;
prot
[
'
Zoom_Out
'
]
=
c_oAscSlideTransitionParams
.
Zoom_Out
;
prot
[
'
Zoom_AndRotate
'
]
=
c_oAscSlideTransitionParams
.
Zoom_AndRotate
;
window
[
'
AscCommon
'
]
=
window
[
'
AscCommon
'
]
||
{};
window
[
'
AscCommon
'
].
c_oSerFormat
=
c_oSerFormat
;
...
...
word/apiDefines.js
View file @
43375450
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment