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
f6d051f3
Commit
f6d051f3
authored
May 26, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upper case first symbol in function names in apiBuilder
parent
4fbb2cb2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
cell/apiBuilder.js
cell/apiBuilder.js
+22
-22
No files found.
cell/apiBuilder.js
View file @
f6d051f3
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
* @memberof ApiWorksheet
* @memberof ApiWorksheet
* @param {string} name
* @param {string} name
*/
*/
ApiWorksheet
.
prototype
.
s
etName
=
function
(
name
)
{
ApiWorksheet
.
prototype
.
S
etName
=
function
(
name
)
{
this
.
worksheet
.
setName
(
name
);
this
.
worksheet
.
setName
(
name
);
};
};
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
* @param {string} sRange
* @param {string} sRange
* @returns {ApiRange}
* @returns {ApiRange}
*/
*/
ApiWorksheet
.
prototype
.
g
etRange
=
function
(
sRange
)
{
ApiWorksheet
.
prototype
.
G
etRange
=
function
(
sRange
)
{
return
new
ApiRange
(
this
.
worksheet
.
getRange2
(
sRange
));
return
new
ApiRange
(
this
.
worksheet
.
getRange2
(
sRange
));
};
};
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
* @memberof ApiWorksheet
* @memberof ApiWorksheet
* @param {string} sRange
* @param {string} sRange
*/
*/
ApiWorksheet
.
prototype
.
f
ormatAsTable
=
function
(
sRange
)
{
ApiWorksheet
.
prototype
.
F
ormatAsTable
=
function
(
sRange
)
{
this
.
worksheet
.
autoFilters
.
addAutoFilter
(
'
TableStyleLight9
'
,
AscCommonExcel
.
g_oRangeCache
.
getAscRange
(
sRange
));
this
.
worksheet
.
autoFilters
.
addAutoFilter
(
'
TableStyleLight9
'
,
AscCommonExcel
.
g_oRangeCache
.
getAscRange
(
sRange
));
};
};
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
* @param {number} column
* @param {number} column
* @param {number} width
* @param {number} width
*/
*/
ApiWorksheet
.
prototype
.
s
etColumnWidth
=
function
(
column
,
width
)
{
ApiWorksheet
.
prototype
.
S
etColumnWidth
=
function
(
column
,
width
)
{
this
.
worksheet
.
setColWidth
(
width
,
column
,
column
);
this
.
worksheet
.
setColWidth
(
width
,
column
,
column
);
};
};
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
* @param {number} nToCol
* @param {number} nToCol
* @param {number} nToRow
* @param {number} nToRow
*/
*/
ApiWorksheet
.
prototype
.
a
ddChart
=
function
(
sDataRange
,
bInRows
,
sType
,
nStyleIndex
,
nFromCol
,
nFromRow
,
nToCol
,
nToRow
)
{
ApiWorksheet
.
prototype
.
A
ddChart
=
function
(
sDataRange
,
bInRows
,
sType
,
nStyleIndex
,
nFromCol
,
nFromRow
,
nToCol
,
nToRow
)
{
History
.
Create_NewPoint
();
History
.
Create_NewPoint
();
var
settings
=
new
AscCommon
.
asc_ChartSettings
();
var
settings
=
new
AscCommon
.
asc_ChartSettings
();
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
* @memberof ApiRange
* @memberof ApiRange
* @param {string} val
* @param {string} val
*/
*/
ApiRange
.
prototype
.
s
etValue
=
function
(
val
)
{
ApiRange
.
prototype
.
S
etValue
=
function
(
val
)
{
this
.
range
.
setValue
(
val
);
this
.
range
.
setValue
(
val
);
};
};
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
* @param {byte} g
* @param {byte} g
* @param {byte} b
* @param {byte} b
*/
*/
ApiRange
.
prototype
.
s
etFontColor
=
function
(
r
,
g
,
b
)
{
ApiRange
.
prototype
.
S
etFontColor
=
function
(
r
,
g
,
b
)
{
this
.
range
.
setFontcolor
(
new
AscCommonExcel
.
RgbColor
((
r
<<
16
)
+
(
g
<<
8
)
+
b
));
this
.
range
.
setFontcolor
(
new
AscCommonExcel
.
RgbColor
((
r
<<
16
)
+
(
g
<<
8
)
+
b
));
};
};
...
@@ -265,7 +265,7 @@
...
@@ -265,7 +265,7 @@
* Set font size
* Set font size
* @param {number} size
* @param {number} size
*/
*/
ApiRange
.
prototype
.
s
etFontSize
=
function
(
size
)
{
ApiRange
.
prototype
.
S
etFontSize
=
function
(
size
)
{
this
.
range
.
setFontsize
(
size
);
this
.
range
.
setFontsize
(
size
);
};
};
...
@@ -273,7 +273,7 @@
...
@@ -273,7 +273,7 @@
* Set font name
* Set font name
* @param {string} name
* @param {string} name
*/
*/
ApiRange
.
prototype
.
s
etFontName
=
function
(
name
)
{
ApiRange
.
prototype
.
S
etFontName
=
function
(
name
)
{
this
.
range
.
setFontname
(
name
);
this
.
range
.
setFontname
(
name
);
};
};
...
@@ -281,7 +281,7 @@
...
@@ -281,7 +281,7 @@
* Set align vertical
* Set align vertical
* @param {'center' | 'bottom' | 'top'} value
* @param {'center' | 'bottom' | 'top'} value
*/
*/
ApiRange
.
prototype
.
s
etAlignVertical
=
function
(
value
)
{
ApiRange
.
prototype
.
S
etAlignVertical
=
function
(
value
)
{
this
.
range
.
setAlignVertical
(
value
);
this
.
range
.
setAlignVertical
(
value
);
};
};
...
@@ -289,7 +289,7 @@
...
@@ -289,7 +289,7 @@
* Set align horizontal
* Set align horizontal
* @param {'left' | 'right' | 'center' | 'justify'} value
* @param {'left' | 'right' | 'center' | 'justify'} value
*/
*/
ApiRange
.
prototype
.
s
etAlignHorizontal
=
function
(
value
)
{
ApiRange
.
prototype
.
S
etAlignHorizontal
=
function
(
value
)
{
this
.
range
.
setAlignHorizontal
(
value
);
this
.
range
.
setAlignHorizontal
(
value
);
};
};
...
@@ -301,16 +301,16 @@
...
@@ -301,16 +301,16 @@
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Api
.
prototype
[
"
GetActiveSheet
"
]
=
Api
.
prototype
.
GetActiveSheet
;
Api
.
prototype
[
"
GetActiveSheet
"
]
=
Api
.
prototype
.
GetActiveSheet
;
ApiWorksheet
.
prototype
[
"
setName
"
]
=
ApiWorksheet
.
prototype
.
s
etName
;
ApiWorksheet
.
prototype
[
"
SetName
"
]
=
ApiWorksheet
.
prototype
.
S
etName
;
ApiWorksheet
.
prototype
[
"
getRange
"
]
=
ApiWorksheet
.
prototype
.
g
etRange
;
ApiWorksheet
.
prototype
[
"
GetRange
"
]
=
ApiWorksheet
.
prototype
.
G
etRange
;
ApiWorksheet
.
prototype
[
"
formatAsTable
"
]
=
ApiWorksheet
.
prototype
.
f
ormatAsTable
;
ApiWorksheet
.
prototype
[
"
FormatAsTable
"
]
=
ApiWorksheet
.
prototype
.
F
ormatAsTable
;
ApiWorksheet
.
prototype
[
"
setColumnWidth
"
]
=
ApiWorksheet
.
prototype
.
s
etColumnWidth
;
ApiWorksheet
.
prototype
[
"
SetColumnWidth
"
]
=
ApiWorksheet
.
prototype
.
S
etColumnWidth
;
ApiWorksheet
.
prototype
[
"
addChart
"
]
=
ApiWorksheet
.
prototype
.
a
ddChart
;
ApiWorksheet
.
prototype
[
"
AddChart
"
]
=
ApiWorksheet
.
prototype
.
A
ddChart
;
ApiRange
.
prototype
[
"
setValue
"
]
=
ApiRange
.
prototype
.
s
etValue
;
ApiRange
.
prototype
[
"
SetValue
"
]
=
ApiRange
.
prototype
.
S
etValue
;
ApiRange
.
prototype
[
"
setFontColor
"
]
=
ApiRange
.
prototype
.
s
etFontColor
;
ApiRange
.
prototype
[
"
SetFontColor
"
]
=
ApiRange
.
prototype
.
S
etFontColor
;
ApiRange
.
prototype
[
"
setFontSize
"
]
=
ApiRange
.
prototype
.
s
etFontSize
;
ApiRange
.
prototype
[
"
SetFontSize
"
]
=
ApiRange
.
prototype
.
S
etFontSize
;
ApiRange
.
prototype
[
"
setFontName
"
]
=
ApiRange
.
prototype
.
s
etFontName
;
ApiRange
.
prototype
[
"
SetFontName
"
]
=
ApiRange
.
prototype
.
S
etFontName
;
ApiRange
.
prototype
[
"
setAlignVertical
"
]
=
ApiRange
.
prototype
.
s
etAlignVertical
;
ApiRange
.
prototype
[
"
SetAlignVertical
"
]
=
ApiRange
.
prototype
.
S
etAlignVertical
;
ApiRange
.
prototype
[
"
setAlignHorizontal
"
]
=
ApiRange
.
prototype
.
s
etAlignHorizontal
;
ApiRange
.
prototype
[
"
SetAlignHorizontal
"
]
=
ApiRange
.
prototype
.
S
etAlignHorizontal
;
}(
window
,
null
));
}(
window
,
null
));
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