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
1ebd96a6
Commit
1ebd96a6
authored
Apr 20, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #32263
parent
03def2e9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
139 additions
and
2 deletions
+139
-2
build/configs/webexcel.json
build/configs/webexcel.json
+1
-2
cell/apiDefines.js
cell/apiDefines.js
+138
-0
No files found.
build/configs/webexcel.json
View file @
1ebd96a6
...
@@ -183,8 +183,7 @@
...
@@ -183,8 +183,7 @@
"defines"
:
{
"defines"
:
{
"src"
:
[
"src"
:
[
"../common/Shapes/EditorSettings.js"
,
"../common/Shapes/EditorSettings.js"
,
"../common/commonDefines.js"
,
"../common/commonDefines.js"
"../cell/apiDefines.js"
],
],
"dst"
:
"apiDefines.min.js"
"dst"
:
"apiDefines.min.js"
},
},
...
...
cell/apiDefines.js
View file @
1ebd96a6
...
@@ -321,27 +321,165 @@ var c_oAscPopUpSelectorType = {
...
@@ -321,27 +321,165 @@ var c_oAscPopUpSelectorType = {
window
[
'
AscCommonExcel
'
].
c_oAscLockNameFrozenPane
=
c_oAscLockNameFrozenPane
;
window
[
'
AscCommonExcel
'
].
c_oAscLockNameFrozenPane
=
c_oAscLockNameFrozenPane
;
window
[
'
AscCommonExcel
'
].
c_oAscLockNameTabColor
=
c_oAscLockNameTabColor
;
window
[
'
AscCommonExcel
'
].
c_oAscLockNameTabColor
=
c_oAscLockNameTabColor
;
var
prot
;
window
[
'
Asc
'
]
=
window
[
'
Asc
'
]
||
{};
window
[
'
Asc
'
]
=
window
[
'
Asc
'
]
||
{};
window
[
'
Asc
'
][
'
c_oAscConfirm
'
]
=
window
[
'
Asc
'
].
c_oAscConfirm
=
c_oAscConfirm
;
window
[
'
Asc
'
][
'
c_oAscConfirm
'
]
=
window
[
'
Asc
'
].
c_oAscConfirm
=
c_oAscConfirm
;
prot
=
c_oAscConfirm
;
prot
[
'
ConfirmReplaceRange
'
]
=
prot
.
ConfirmReplaceRange
;
window
[
'
Asc
'
][
'
c_oAscMergeOptions
'
]
=
window
[
'
Asc
'
].
c_oAscMergeOptions
=
c_oAscMergeOptions
;
window
[
'
Asc
'
][
'
c_oAscMergeOptions
'
]
=
window
[
'
Asc
'
].
c_oAscMergeOptions
=
c_oAscMergeOptions
;
prot
=
c_oAscMergeOptions
;
prot
[
'
Unmerge
'
]
=
prot
.
Unmerge
;
prot
[
'
Merge
'
]
=
prot
.
Merge
;
prot
[
'
MergeCenter
'
]
=
prot
.
MergeCenter
;
prot
[
'
MergeAcross
'
]
=
prot
.
MergeAcross
;
window
[
'
Asc
'
][
'
c_oAscInsertOptions
'
]
=
window
[
'
Asc
'
].
c_oAscInsertOptions
=
c_oAscInsertOptions
;
window
[
'
Asc
'
][
'
c_oAscInsertOptions
'
]
=
window
[
'
Asc
'
].
c_oAscInsertOptions
=
c_oAscInsertOptions
;
prot
=
c_oAscInsertOptions
;
prot
[
'
InsertCellsAndShiftRight
'
]
=
prot
.
InsertCellsAndShiftRight
;
prot
[
'
InsertCellsAndShiftDown
'
]
=
prot
.
InsertCellsAndShiftDown
;
prot
[
'
InsertColumns
'
]
=
prot
.
InsertColumns
;
prot
[
'
InsertRows
'
]
=
prot
.
InsertRows
;
prot
[
'
InsertTableRowAbove
'
]
=
prot
.
InsertTableRowAbove
;
prot
[
'
InsertTableRowBelow
'
]
=
prot
.
InsertTableRowBelow
;
prot
[
'
InsertTableColLeft
'
]
=
prot
.
InsertTableColLeft
;
prot
[
'
InsertTableColRight
'
]
=
prot
.
InsertTableColRight
;
window
[
'
Asc
'
][
'
c_oAscDeleteOptions
'
]
=
window
[
'
Asc
'
].
c_oAscDeleteOptions
=
c_oAscDeleteOptions
;
window
[
'
Asc
'
][
'
c_oAscDeleteOptions
'
]
=
window
[
'
Asc
'
].
c_oAscDeleteOptions
=
c_oAscDeleteOptions
;
prot
=
c_oAscDeleteOptions
;
prot
[
'
DeleteCellsAndShiftLeft
'
]
=
prot
.
DeleteCellsAndShiftLeft
;
prot
[
'
DeleteCellsAndShiftTop
'
]
=
prot
.
DeleteCellsAndShiftTop
;
prot
[
'
DeleteColumns
'
]
=
prot
.
DeleteColumns
;
prot
[
'
DeleteRows
'
]
=
prot
.
DeleteRows
;
prot
[
'
DeleteTable
'
]
=
prot
.
DeleteTable
;
window
[
'
Asc
'
][
'
c_oAscBorderOptions
'
]
=
window
[
'
Asc
'
].
c_oAscBorderOptions
=
c_oAscBorderOptions
;
window
[
'
Asc
'
][
'
c_oAscBorderOptions
'
]
=
window
[
'
Asc
'
].
c_oAscBorderOptions
=
c_oAscBorderOptions
;
prot
=
c_oAscBorderOptions
;
prot
[
'
Top
'
]
=
prot
.
Top
;
prot
[
'
Right
'
]
=
prot
.
Right
;
prot
[
'
Bottom
'
]
=
prot
.
Bottom
;
prot
[
'
Left
'
]
=
prot
.
Left
;
prot
[
'
DiagD
'
]
=
prot
.
DiagD
;
prot
[
'
DiagU
'
]
=
prot
.
DiagU
;
prot
[
'
InnerV
'
]
=
prot
.
InnerV
;
prot
[
'
InnerH
'
]
=
prot
.
InnerH
;
window
[
'
Asc
'
][
'
c_oAscCleanOptions
'
]
=
window
[
'
Asc
'
].
c_oAscCleanOptions
=
c_oAscCleanOptions
;
window
[
'
Asc
'
][
'
c_oAscCleanOptions
'
]
=
window
[
'
Asc
'
].
c_oAscCleanOptions
=
c_oAscCleanOptions
;
prot
=
c_oAscCleanOptions
;
prot
[
'
All
'
]
=
prot
.
All
;
prot
[
'
Text
'
]
=
prot
.
Text
;
prot
[
'
Format
'
]
=
prot
.
Format
;
prot
[
'
Formula
'
]
=
prot
.
Formula
;
prot
[
'
Comments
'
]
=
prot
.
Comments
;
prot
[
'
Hyperlinks
'
]
=
prot
.
Hyperlinks
;
window
[
'
Asc
'
][
'
c_oAscSelectionType
'
]
=
window
[
'
Asc
'
].
c_oAscSelectionType
=
c_oAscSelectionType
;
window
[
'
Asc
'
][
'
c_oAscSelectionType
'
]
=
window
[
'
Asc
'
].
c_oAscSelectionType
=
c_oAscSelectionType
;
prot
=
c_oAscSelectionType
;
prot
[
'
RangeCells
'
]
=
prot
.
RangeCells
;
prot
[
'
RangeCol
'
]
=
prot
.
RangeCol
;
prot
[
'
RangeRow
'
]
=
prot
.
RangeRow
;
prot
[
'
RangeMax
'
]
=
prot
.
RangeMax
;
prot
[
'
RangeImage
'
]
=
prot
.
RangeImage
;
prot
[
'
RangeChart
'
]
=
prot
.
RangeChart
;
prot
[
'
RangeShape
'
]
=
prot
.
RangeShape
;
prot
[
'
RangeShapeText
'
]
=
prot
.
RangeShapeText
;
prot
[
'
RangeChartText
'
]
=
prot
.
RangeChartText
;
prot
[
'
RangeFrozen
'
]
=
prot
.
RangeFrozen
;
window
[
'
Asc
'
][
'
c_oAscSelectionDialogType
'
]
=
window
[
'
Asc
'
].
c_oAscSelectionDialogType
=
c_oAscSelectionDialogType
;
window
[
'
Asc
'
][
'
c_oAscSelectionDialogType
'
]
=
window
[
'
Asc
'
].
c_oAscSelectionDialogType
=
c_oAscSelectionDialogType
;
prot
=
c_oAscSelectionDialogType
;
prot
[
'
None
'
]
=
prot
.
None
;
prot
[
'
FormatTable
'
]
=
prot
.
FormatTable
;
prot
[
'
Chart
'
]
=
prot
.
Chart
;
prot
[
'
DefinedName
'
]
=
prot
.
DefinedName
;
prot
[
'
FormatTableChangeRange
'
]
=
prot
.
FormatTableChangeRange
;
window
[
'
Asc
'
][
'
c_oAscHyperlinkType
'
]
=
window
[
'
Asc
'
].
c_oAscHyperlinkType
=
c_oAscHyperlinkType
;
window
[
'
Asc
'
][
'
c_oAscHyperlinkType
'
]
=
window
[
'
Asc
'
].
c_oAscHyperlinkType
=
c_oAscHyperlinkType
;
prot
=
c_oAscHyperlinkType
;
prot
[
'
WebLink
'
]
=
prot
.
WebLink
;
prot
[
'
RangeLink
'
]
=
prot
.
RangeLink
;
window
[
'
Asc
'
][
'
c_oAscMouseMoveType
'
]
=
window
[
'
Asc
'
].
c_oAscMouseMoveType
=
c_oAscMouseMoveType
;
window
[
'
Asc
'
][
'
c_oAscMouseMoveType
'
]
=
window
[
'
Asc
'
].
c_oAscMouseMoveType
=
c_oAscMouseMoveType
;
prot
=
c_oAscMouseMoveType
;
prot
[
'
None
'
]
=
prot
.
None
;
prot
[
'
Hyperlink
'
]
=
prot
.
Hyperlink
;
prot
[
'
Comment
'
]
=
prot
.
Comment
;
prot
[
'
LockedObject
'
]
=
prot
.
LockedObject
;
prot
[
'
ResizeColumn
'
]
=
prot
.
ResizeColumn
;
prot
[
'
ResizeRow
'
]
=
prot
.
ResizeRow
;
window
[
'
Asc
'
][
'
c_oAscMouseMoveLockedObjectType
'
]
=
window
[
'
Asc
'
].
c_oAscMouseMoveLockedObjectType
=
c_oAscMouseMoveLockedObjectType
;
window
[
'
Asc
'
][
'
c_oAscMouseMoveLockedObjectType
'
]
=
window
[
'
Asc
'
].
c_oAscMouseMoveLockedObjectType
=
c_oAscMouseMoveLockedObjectType
;
prot
=
c_oAscMouseMoveLockedObjectType
;
prot
[
'
None
'
]
=
prot
.
None
;
prot
[
'
Range
'
]
=
prot
.
Range
;
prot
[
'
TableProperties
'
]
=
prot
.
TableProperties
;
prot
[
'
Sheet
'
]
=
prot
.
Sheet
;
window
[
'
Asc
'
][
'
c_oAscPrintType
'
]
=
window
[
'
Asc
'
].
c_oAscPrintType
=
c_oAscPrintType
;
window
[
'
Asc
'
][
'
c_oAscPrintType
'
]
=
window
[
'
Asc
'
].
c_oAscPrintType
=
c_oAscPrintType
;
prot
=
c_oAscPrintType
;
prot
[
'
ActiveSheets
'
]
=
prot
.
ActiveSheets
;
prot
[
'
EntireWorkbook
'
]
=
prot
.
EntireWorkbook
;
prot
[
'
Selection
'
]
=
prot
.
Selection
;
window
[
'
Asc
'
][
'
c_oAscCustomAutoFilter
'
]
=
window
[
'
Asc
'
].
c_oAscCustomAutoFilter
=
c_oAscCustomAutoFilter
;
window
[
'
Asc
'
][
'
c_oAscCustomAutoFilter
'
]
=
window
[
'
Asc
'
].
c_oAscCustomAutoFilter
=
c_oAscCustomAutoFilter
;
prot
=
c_oAscCustomAutoFilter
;
prot
[
'
equals
'
]
=
prot
.
equals
;
prot
[
'
isGreaterThan
'
]
=
prot
.
isGreaterThan
;
prot
[
'
isGreaterThanOrEqualTo
'
]
=
prot
.
isGreaterThanOrEqualTo
;
prot
[
'
isLessThan
'
]
=
prot
.
isLessThan
;
prot
[
'
isLessThanOrEqualTo
'
]
=
prot
.
isLessThanOrEqualTo
;
prot
[
'
doesNotEqual
'
]
=
prot
.
doesNotEqual
;
prot
[
'
beginsWith
'
]
=
prot
.
beginsWith
;
prot
[
'
doesNotBeginWith
'
]
=
prot
.
doesNotBeginWith
;
prot
[
'
endsWith
'
]
=
prot
.
endsWith
;
prot
[
'
doesNotEndWith
'
]
=
prot
.
doesNotEndWith
;
prot
[
'
contains
'
]
=
prot
.
contains
;
prot
[
'
doesNotContain
'
]
=
prot
.
doesNotContain
;
window
[
'
Asc
'
][
'
c_oAscChangeFilterOptions
'
]
=
window
[
'
Asc
'
].
c_oAscChangeFilterOptions
=
c_oAscChangeFilterOptions
;
window
[
'
Asc
'
][
'
c_oAscChangeFilterOptions
'
]
=
window
[
'
Asc
'
].
c_oAscChangeFilterOptions
=
c_oAscChangeFilterOptions
;
prot
=
c_oAscChangeFilterOptions
;
prot
[
'
filter
'
]
=
prot
.
filter
;
prot
[
'
style
'
]
=
prot
.
style
;
window
[
'
Asc
'
][
'
c_oAscCellEditorState
'
]
=
window
[
'
Asc
'
].
c_oAscCellEditorState
=
c_oAscCellEditorState
;
window
[
'
Asc
'
][
'
c_oAscCellEditorState
'
]
=
window
[
'
Asc
'
].
c_oAscCellEditorState
=
c_oAscCellEditorState
;
prot
=
c_oAscCellEditorState
;
prot
[
'
editEnd
'
]
=
prot
.
editEnd
;
prot
[
'
editStart
'
]
=
prot
.
editStart
;
prot
[
'
editEmptyCell
'
]
=
prot
.
editEmptyCell
;
prot
[
'
editText
'
]
=
prot
.
editText
;
prot
[
'
editFormula
'
]
=
prot
.
editFormula
;
window
[
'
Asc
'
][
'
c_oAscChangeSelectionFormatTable
'
]
=
window
[
'
Asc
'
].
c_oAscChangeSelectionFormatTable
=
c_oAscChangeSelectionFormatTable
;
prot
=
c_oAscChangeSelectionFormatTable
;
prot
[
'
all
'
]
=
prot
.
all
;
prot
[
'
data
'
]
=
prot
.
data
;
prot
[
'
row
'
]
=
prot
.
row
;
prot
[
'
column
'
]
=
prot
.
column
;
window
[
'
Asc
'
][
'
c_oAscChangeTableStyleInfo
'
]
=
window
[
'
Asc
'
].
c_oAscChangeTableStyleInfo
=
c_oAscChangeTableStyleInfo
;
prot
=
c_oAscChangeTableStyleInfo
;
prot
[
'
columnFirst
'
]
=
prot
.
columnFirst
;
prot
[
'
columnLast
'
]
=
prot
.
columnLast
;
prot
[
'
columnBanded
'
]
=
prot
.
columnBanded
;
prot
[
'
rowHeader
'
]
=
prot
.
rowHeader
;
prot
[
'
rowTotal
'
]
=
prot
.
rowTotal
;
prot
[
'
rowBanded
'
]
=
prot
.
rowBanded
;
prot
[
'
filterButton
'
]
=
prot
.
filterButton
;
window
[
'
Asc
'
][
'
c_oAscAutoFilterTypes
'
]
=
window
[
'
Asc
'
].
c_oAscAutoFilterTypes
=
c_oAscAutoFilterTypes
;
window
[
'
Asc
'
][
'
c_oAscAutoFilterTypes
'
]
=
window
[
'
Asc
'
].
c_oAscAutoFilterTypes
=
c_oAscAutoFilterTypes
;
prot
=
c_oAscAutoFilterTypes
;
prot
[
'
ColorFilter
'
]
=
prot
.
ColorFilter
;
prot
[
'
CustomFilters
'
]
=
prot
.
CustomFilters
;
prot
[
'
DynamicFilter
'
]
=
prot
.
DynamicFilter
;
prot
[
'
Top10
'
]
=
prot
.
Top10
;
prot
[
'
Filters
'
]
=
prot
.
Filters
;
window
[
'
Asc
'
][
'
c_oAscFindLookIn
'
]
=
window
[
'
Asc
'
].
c_oAscFindLookIn
=
c_oAscFindLookIn
;
window
[
'
Asc
'
][
'
c_oAscFindLookIn
'
]
=
window
[
'
Asc
'
].
c_oAscFindLookIn
=
c_oAscFindLookIn
;
prot
=
c_oAscFindLookIn
;
prot
[
'
Formulas
'
]
=
prot
.
Formulas
;
prot
[
'
Value
'
]
=
prot
.
Value
;
prot
[
'
Annotations
'
]
=
prot
.
Annotations
;
window
[
'
Asc
'
][
'
c_oAscGetDefinedNamesList
'
]
=
window
[
'
Asc
'
].
c_oAscGetDefinedNamesList
=
c_oAscGetDefinedNamesList
;
window
[
'
Asc
'
][
'
c_oAscGetDefinedNamesList
'
]
=
window
[
'
Asc
'
].
c_oAscGetDefinedNamesList
=
c_oAscGetDefinedNamesList
;
prot
=
c_oAscGetDefinedNamesList
;
prot
[
'
Worksheet
'
]
=
prot
.
Worksheet
;
prot
[
'
WorksheetWorkbook
'
]
=
prot
.
WorksheetWorkbook
;
prot
[
'
All
'
]
=
prot
.
All
;
window
[
'
Asc
'
][
'
c_oAscDefinedNameReason
'
]
=
window
[
'
Asc
'
].
c_oAscDefinedNameReason
=
c_oAscDefinedNameReason
;
window
[
'
Asc
'
][
'
c_oAscDefinedNameReason
'
]
=
window
[
'
Asc
'
].
c_oAscDefinedNameReason
=
c_oAscDefinedNameReason
;
prot
=
c_oAscDefinedNameReason
;
prot
[
'
WrongName
'
]
=
prot
.
WrongName
;
prot
[
'
IsLocked
'
]
=
prot
.
IsLocked
;
prot
[
'
Existed
'
]
=
prot
.
Existed
;
prot
[
'
LockDefNameManager
'
]
=
prot
.
LockDefNameManager
;
prot
[
'
NameReserved
'
]
=
prot
.
NameReserved
;
prot
[
'
OK
'
]
=
prot
.
OK
;
window
[
'
Asc
'
][
'
c_oAscPopUpSelectorType
'
]
=
window
[
'
Asc
'
].
c_oAscPopUpSelectorType
=
c_oAscPopUpSelectorType
;
window
[
'
Asc
'
][
'
c_oAscPopUpSelectorType
'
]
=
window
[
'
Asc
'
].
c_oAscPopUpSelectorType
=
c_oAscPopUpSelectorType
;
prot
=
c_oAscPopUpSelectorType
;
prot
[
'
None
'
]
=
prot
.
None
;
prot
[
'
Func
'
]
=
prot
.
Func
;
prot
[
'
Range
'
]
=
prot
.
Range
;
prot
[
'
Table
'
]
=
prot
.
Table
;
window
[
'
Asc
'
][
'
c_oAscChangeSelectionFormatTable
'
]
=
c_oAscChangeSelectionFormatTable
;
window
[
'
Asc
'
][
'
c_oAscChangeSelectionFormatTable
'
]
=
c_oAscChangeSelectionFormatTable
;
window
[
'
Asc
'
][
'
c_oAscChangeTableStyleInfo
'
]
=
c_oAscChangeTableStyleInfo
;
window
[
'
Asc
'
][
'
c_oAscChangeTableStyleInfo
'
]
=
c_oAscChangeTableStyleInfo
;
})(
window
);
})(
window
);
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