Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit 1c46a14

Browse files
author
Francois-Xavier Gentilhomme
committed
[DEV] convert method implementation
1 parent 2cc7b69 commit 1c46a14

File tree

4 files changed

+78
-26
lines changed

4 files changed

+78
-26
lines changed

analysis.json

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5678,11 +5678,11 @@
56785678
"privacy": "public",
56795679
"sourceRange": {
56805680
"start": {
5681-
"line": 898,
5681+
"line": 907,
56825682
"column": 12
56835683
},
56845684
"end": {
5685-
"line": 902,
5685+
"line": 911,
56865686
"column": 13
56875687
}
56885688
},
@@ -5695,11 +5695,11 @@
56955695
"privacy": "public",
56965696
"sourceRange": {
56975697
"start": {
5698-
"line": 904,
5698+
"line": 913,
56995699
"column": 12
57005700
},
57015701
"end": {
5702-
"line": 907,
5702+
"line": 916,
57035703
"column": 13
57045704
}
57055705
},
@@ -6110,17 +6110,34 @@
61106110
"metadata": {},
61116111
"params": []
61126112
},
6113+
{
6114+
"name": "convert",
6115+
"description": "Launch convert",
6116+
"privacy": "public",
6117+
"sourceRange": {
6118+
"start": {
6119+
"line": 883,
6120+
"column": 12
6121+
},
6122+
"end": {
6123+
"line": 887,
6124+
"column": 13
6125+
}
6126+
},
6127+
"metadata": {},
6128+
"params": []
6129+
},
61136130
{
61146131
"name": "getStats",
61156132
"description": "Return the stats allowing to monitor what ink size is send to the server.\nStats objects format {strokesCount : 0, pointsCount : 0, byteSize : 0, humanSize : 0, humanUnit : 'BYTE'} humanUnit could have the values BYTE, BYTES, KiB, MiB",
61166133
"privacy": "public",
61176134
"sourceRange": {
61186135
"start": {
6119-
"line": 884,
6136+
"line": 893,
61206137
"column": 12
61216138
},
61226139
"end": {
6123-
"line": 888,
6140+
"line": 897,
61246141
"column": 13
61256142
}
61266143
},
@@ -6133,11 +6150,11 @@
61336150
"privacy": "protected",
61346151
"sourceRange": {
61356152
"start": {
6136-
"line": 890,
6153+
"line": 899,
61376154
"column": 12
61386155
},
61396156
"end": {
6140-
"line": 896,
6157+
"line": 905,
61416158
"column": 13
61426159
}
61436160
},
@@ -6154,11 +6171,11 @@
61546171
"privacy": "protected",
61556172
"sourceRange": {
61566173
"start": {
6157-
"line": 909,
6174+
"line": 918,
61586175
"column": 12
61596176
},
61606177
"end": {
6161-
"line": 926,
6178+
"line": 935,
61626179
"column": 13
61636180
}
61646181
},
@@ -6175,11 +6192,11 @@
61756192
"privacy": "protected",
61766193
"sourceRange": {
61776194
"start": {
6178-
"line": 928,
6195+
"line": 937,
61796196
"column": 12
61806197
},
61816198
"end": {
6182-
"line": 931,
6199+
"line": 940,
61836200
"column": 13
61846201
}
61856202
},
@@ -6943,7 +6960,7 @@
69436960
"column": 8
69446961
},
69456962
"end": {
6946-
"line": 932,
6963+
"line": 941,
69476964
"column": 9
69486965
}
69496966
},

docs/components/myscript-text-web/analysis.json

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5678,11 +5678,11 @@
56785678
"privacy": "public",
56795679
"sourceRange": {
56805680
"start": {
5681-
"line": 898,
5681+
"line": 907,
56825682
"column": 12
56835683
},
56845684
"end": {
5685-
"line": 902,
5685+
"line": 911,
56865686
"column": 13
56875687
}
56885688
},
@@ -5695,11 +5695,11 @@
56955695
"privacy": "public",
56965696
"sourceRange": {
56975697
"start": {
5698-
"line": 904,
5698+
"line": 913,
56995699
"column": 12
57005700
},
57015701
"end": {
5702-
"line": 907,
5702+
"line": 916,
57035703
"column": 13
57045704
}
57055705
},
@@ -6110,17 +6110,34 @@
61106110
"metadata": {},
61116111
"params": []
61126112
},
6113+
{
6114+
"name": "convert",
6115+
"description": "Launch convert",
6116+
"privacy": "public",
6117+
"sourceRange": {
6118+
"start": {
6119+
"line": 883,
6120+
"column": 12
6121+
},
6122+
"end": {
6123+
"line": 887,
6124+
"column": 13
6125+
}
6126+
},
6127+
"metadata": {},
6128+
"params": []
6129+
},
61136130
{
61146131
"name": "getStats",
61156132
"description": "Return the stats allowing to monitor what ink size is send to the server.\nStats objects format {strokesCount : 0, pointsCount : 0, byteSize : 0, humanSize : 0, humanUnit : 'BYTE'} humanUnit could have the values BYTE, BYTES, KiB, MiB",
61166133
"privacy": "public",
61176134
"sourceRange": {
61186135
"start": {
6119-
"line": 884,
6136+
"line": 893,
61206137
"column": 12
61216138
},
61226139
"end": {
6123-
"line": 888,
6140+
"line": 897,
61246141
"column": 13
61256142
}
61266143
},
@@ -6133,11 +6150,11 @@
61336150
"privacy": "protected",
61346151
"sourceRange": {
61356152
"start": {
6136-
"line": 890,
6153+
"line": 899,
61376154
"column": 12
61386155
},
61396156
"end": {
6140-
"line": 896,
6157+
"line": 905,
61416158
"column": 13
61426159
}
61436160
},
@@ -6154,11 +6171,11 @@
61546171
"privacy": "protected",
61556172
"sourceRange": {
61566173
"start": {
6157-
"line": 909,
6174+
"line": 918,
61586175
"column": 12
61596176
},
61606177
"end": {
6161-
"line": 926,
6178+
"line": 935,
61626179
"column": 13
61636180
}
61646181
},
@@ -6175,11 +6192,11 @@
61756192
"privacy": "protected",
61766193
"sourceRange": {
61776194
"start": {
6178-
"line": 928,
6195+
"line": 937,
61796196
"column": 12
61806197
},
61816198
"end": {
6182-
"line": 931,
6199+
"line": 940,
61836200
"column": 13
61846201
}
61856202
},
@@ -6943,7 +6960,7 @@
69436960
"column": 8
69446961
},
69456962
"end": {
6946-
"line": 932,
6963+
"line": 941,
69476964
"column": 9
69486965
}
69496966
},

docs/components/myscript-text-web/myscript-text-web.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,15 @@
878878
}
879879
}
880880

881+
/**
882+
* Launch convert
883+
*/
884+
convert() {
885+
if (this.myscriptcommonelement) {
886+
this.myscriptcommonelement.convert();
887+
}
888+
}
889+
881890
/**
882891
* Return the stats allowing to monitor what ink size is send to the server.
883892
* Stats objects format {strokesCount : 0, pointsCount : 0, byteSize : 0, humanSize : 0, humanUnit : 'BYTE'} humanUnit could have the values BYTE, BYTES, KiB, MiB

myscript-text-web.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,15 @@
878878
}
879879
}
880880

881+
/**
882+
* Launch convert
883+
*/
884+
convert() {
885+
if (this.myscriptcommonelement) {
886+
this.myscriptcommonelement.convert();
887+
}
888+
}
889+
881890
/**
882891
* Return the stats allowing to monitor what ink size is send to the server.
883892
* Stats objects format {strokesCount : 0, pointsCount : 0, byteSize : 0, humanSize : 0, humanUnit : 'BYTE'} humanUnit could have the values BYTE, BYTES, KiB, MiB

0 commit comments

Comments
 (0)