📝 docs(tsl): complete and lint codegen reference

This commit is contained in:
csh
2026-07-07 16:46:51 +08:00
parent 16e0992dd2
commit bbf6977f57
232 changed files with 39191 additions and 29763 deletions
+2 -2
View File
@@ -10,8 +10,8 @@
关闭Excel文件。注意:将打开的文件关闭后,就可以进行手动打开修改数据,相当于程序解锁。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ----------- | ------ | ------------------------- |
| `file_name` | string | 字符串类型。Excel文件名称 |
返回:bool
+48 -48
View File
@@ -4,9 +4,9 @@
获得当前客户端程序复制的数据。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `client_data` | any | 返回的数据内容。 |
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `client_data` | any | 返回的数据内容。 |
返回:bool
@@ -20,8 +20,8 @@
设置当前Word模板函数处理的当前位置。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ------- | ------ | ---- |
| `range` | comobj | 对象 |
返回:any
@@ -48,10 +48,10 @@
在Word中输出内容。参数个数不定,可以输出字符串,数字以及数组/表格,图形等类型
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `param1` | any | any 参数1 |
| `param2` | any | any 参数2 |
| 参数 | 类型 | 说明 |
| -------- | ---- | --------- |
| `param1` | any | any 参数1 |
| `param2` | any | any 参数2 |
返回:bool
@@ -65,10 +65,10 @@
设置Word的当前字体的属性。返回真表示成功。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ----------- | ------ | ---------------------------------------- |
| `_property` | string | 字体的属性名。例如’Size’表示字体的大小。 |
| `value` | any | 字体属性的值。 |
| `value` | any | 字体属性的值。 |
返回:bool
@@ -76,10 +76,10 @@
获取Word的当前字体的属性。返回真表示成功。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| ----------- | ------ | ---------------------------------------- |
| `_property` | string | 字体的属性名。例如’Size’表示字体的大小。 |
| `value` | any | 返回的字体属性的值。 |
| `value` | any | 返回的字体属性的值。 |
返回:bool
@@ -93,11 +93,11 @@
在Word中插入由文件产生的Ole对象。如果不指定宽度和高度,则由该对象自己决定。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `file_name` | string | 字符串类型,需要插入的图形文件的全路径名。 |
| `width` | integer=0 | 整数,宽度 |
| `height` | integer=0 | 整数,高度 |
| 参数 | 类型 | 说明 |
| ----------- | --------- | ------------------------------------------ |
| `file_name` | string | 字符串类型,需要插入的图形文件的全路径名。 |
| `width` | integer=0 | 整数,宽度 |
| `height` | integer=0 | 整数,高度 |
返回:bool
@@ -105,10 +105,10 @@
设置当前位置的区域的属性。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `name` | string | |
| `value` | any | |
| 参数 | 类型 | 说明 |
| ------- | ------ | ---- |
| `name` | string | |
| `value` | any | |
返回:bool
@@ -116,10 +116,10 @@
获取当前位置的区域的属性。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `name` | string | |
| `value` | any | |
| 参数 | 类型 | 说明 |
| ------- | ------ | ---- |
| `name` | string | |
| `value` | any | |
返回:bool
@@ -127,10 +127,10 @@
设置最后插入的表格的属性。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `name` | string | |
| `value` | any | |
| 参数 | 类型 | 说明 |
| ------- | ------ | ---- |
| `name` | string | |
| `value` | any | |
返回:bool
@@ -138,10 +138,10 @@
获取最后插入的表格的属性。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `name` | string | |
| `value` | any | |
| 参数 | 类型 | 说明 |
| ------- | ------ | ---- |
| `name` | string | |
| `value` | any | |
返回:bool
@@ -149,12 +149,12 @@
设置最后插入的表格的指定单元格的属性。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `row` | | |
| `column` | integer | |
| `name` | string | |
| `value` | any | |
| 参数 | 类型 | 说明 |
| -------- | ------- | ---- |
| `row` | | |
| `column` | integer | |
| `name` | string | |
| `value` | any | |
返回:bool
@@ -162,11 +162,11 @@
获取最后插入的表格的指定单元格的属性。
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `row` | | |
| `column` | integer | |
| `name` | string | |
| `value` | any | |
| 参数 | 类型 | 说明 |
| -------- | ------- | ---- |
| `row` | | |
| `column` | integer | |
| `name` | string | |
| `value` | any | |
返回:bool