Bundle the TSL API index and markdown references under the skill, route TSL docs to use it, and update the codegen index generator to maintain the bundled data.
4.1 KiB
4.1 KiB
文档处理 / WordTSL
getSysStoreChart(index)
获得WORDTSL所需的CHART
| 参数 | 类型 | 说明 |
|---|---|---|
index |
int | 整数 |
返回:CHART
getSysStoreData()
结果分析用的数据
返回:any
getSysStoreDataEx(index, store_type)
获得WORDTSL所需的数据
| 参数 | 类型 | 说明 |
|---|---|---|
index |
int | 整数 |
store_type |
int | 整数 |
返回:any
getSysStoreGraph(index)
获得WORDTSL所需的graph
| 参数 | 类型 | 说明 |
|---|---|---|
index |
int | 整数 |
返回:graph
getSysStoreTable(index)
获得WORDTSL所需的CHART
| 参数 | 类型 | 说明 |
|---|---|---|
index |
int | 整数 |
返回:any
getSysStoreText(index)
取WORDTSL所需的文本
| 参数 | 类型 | 说明 |
|---|---|---|
index |
int | 整数类型 |
返回:any
setResult(data, index, setdata, store_type)
通过赋值改变数组某个元素的值
| 参数 | 类型 | 说明 |
|---|---|---|
data |
array | 整数 |
index |
any | 整数 |
setdata |
any | 整数 |
store_type |
any | 整数 |
返回:array
setResultChart(data, index, chart)
设置WORDTSL所需的CHART
| 参数 | 类型 | 说明 |
|---|---|---|
data |
array | 整数 |
index |
any | 整数 |
chart |
any | 整数 |
返回:any
setResultGraph(data, index, graph)
设置WORDTSL所需的Graph
| 参数 | 类型 | 说明 |
|---|---|---|
data |
array | 整数 |
index |
any | 整数 |
graph |
any | 整数 |
返回:any
setResultTable(index, table)
设置WORDTSL所需的表格
| 参数 | 类型 | 说明 |
|---|---|---|
index |
any | 整数 |
table |
any | 整数 |
返回:any
setResultText(data, index, text)
设置WORDTSL所需的TEXT
| 参数 | 类型 | 说明 |
|---|---|---|
data |
array | 整数 |
index |
any | 整数 |
text |
any | 整数 |
返回:any
setSysStoreData(data)
设置结果分析的数据
| 参数 | 类型 | 说明 |
|---|---|---|
data |
array | 整数 |
返回:array
sWordcharts()
获得'charts'这个字段
返回:string
sWordgraphs()
获得'graphs'这个字段
返回:string
sWordtables()
获得'tables'这个字段
返回:string
sWordTexts()
获得'texts'这个字段
返回:string
wordWriteSysChart(index, charttype, title, subtitle)
在WORD内写CHART
| 参数 | 类型 | 说明 |
|---|---|---|
index |
int | 整数 |
charttype |
int | 整数 |
title |
int | 整数 |
subtitle |
int | 整数 |
返回:Chart
wordWriteSysChartEx()
在WORD内写CHART
返回:CHART
wordWriteSysChartRotate(index, charttype, title, subtitle)
在WORD内写CHART(旋转)
| 参数 | 类型 | 说明 |
|---|---|---|
index |
int | 整数 |
charttype |
int | 整数 |
title |
int | 整数 |
subtitle |
int | 整数 |
返回:Chart
wordWriteSysChartRotateEx()
在WORD内写CHART(旋转)
返回:chart
wordWriteSysGraph()
在WORD内写CHART; WordWriteSysGraph(index,title,auxtitle,width,height,bgcolor,fgcolor,fontname,fontsize, fontcolor,coordinatetype);
返回:any
wordWriteSysTable(index)
在WORD内写表格
| 参数 | 类型 | 说明 |
|---|---|---|
index |
int | 整数 |
返回:excel
wordWriteSysTableEx()
在WORD内写表格
返回:ecxel
wordWriteSysTableRotate(index)
在WORD内写表格(旋转)
| 参数 | 类型 | 说明 |
|---|---|---|
index |
int | 整数 |
返回:excel
wordWriteSysTableRotateEx()
在WORD内写表格(旋转)
返回:ecxel
wordWriteSysText(index)
在WORD内写文本
| 参数 | 类型 | 说明 |
|---|---|---|
index |
int | 整数 |
返回:Text