feat(tsl-api-reference): index class and unit APIs

Migrate reference pages to declaration-line storage and rebuild the
13-column index.

Add qualified member lookup plus regression and end-to-end coverage.
This commit is contained in:
csh
2026-07-29 15:47:46 +08:00
parent 9edc8fc868
commit 13be5ea0aa
239 changed files with 39157 additions and 12846 deletions
@@ -2,6 +2,8 @@
## `loadClientData(client_data)`
声明:function
获得当前客户端程序复制的数据。
| 参数 | 类型 | 说明 |
@@ -12,12 +14,16 @@
## `wordGetCurrentDocument()`
声明:function
获得当前Word模板正在生成的文档对象。
返回:comobj
## `wordSetCurrentRange(range)`
声明:function
设置当前Word模板函数处理的当前位置。
| 参数 | 类型 | 说明 |
@@ -28,24 +34,32 @@
## `wordGetLastRange()`
声明:function
获得上次Word模板函数处理生成的内容位置对象。
返回:comobj
## `wordGetLastTable()`
声明:function
获得最后由Word模板函数插入的表格对象。
返回:comobj
## `wordGetLastShape()`
声明:function
获得最后由Word模板函数插入的InlineShape对象,包括Excel对象,ExcelChart对象以及图形对象等。
返回:comobj
## `wordWrite(param1, param2)`
声明:function
在Word中输出内容。参数个数不定,可以输出字符串,数字以及数组/表格,图形等类型
| 参数 | 类型 | 说明 |
@@ -57,12 +71,16 @@
## `wordBr()`
声明:function
在Word中换行(新段落)。
返回:bool
## `wordSetFont(_property, value)`
声明:function
设置Word的当前字体的属性。返回真表示成功。
| 参数 | 类型 | 说明 |
@@ -74,6 +92,8 @@
## `wordGetFont(_property, value)`
声明:function
获取Word的当前字体的属性。返回真表示成功。
| 参数 | 类型 | 说明 |
@@ -85,12 +105,16 @@
## `wordPaste()`
声明:function
将剪裁板中的内容粘贴到Word中。返回真表示成功。
返回:bool
## `wordAddOleObjectFromFile(file_name, width, height)`
声明:function
在Word中插入由文件产生的Ole对象。如果不指定宽度和高度,则由该对象自己决定。
| 参数 | 类型 | 说明 |
@@ -103,6 +127,8 @@
## `wordSetRangeProp(name, value)`
声明:function
设置当前位置的区域的属性。
| 参数 | 类型 | 说明 |
@@ -114,6 +140,8 @@
## `wordGetRangeProp(name, value)`
声明:function
获取当前位置的区域的属性。
| 参数 | 类型 | 说明 |
@@ -125,6 +153,8 @@
## `wordSetLastTableProp(name, value)`
声明:function
设置最后插入的表格的属性。
| 参数 | 类型 | 说明 |
@@ -136,6 +166,8 @@
## `wordGetLastTableProp(name, value)`
声明:function
获取最后插入的表格的属性。
| 参数 | 类型 | 说明 |
@@ -147,6 +179,8 @@
## `wordSetLastTableCellProp(row, column, name, value)`
声明:function
设置最后插入的表格的指定单元格的属性。
| 参数 | 类型 | 说明 |
@@ -160,6 +194,8 @@
## `wordGetLastTableCellProp(row, column, name, value)`
声明:function
获取最后插入的表格的指定单元格的属性。
| 参数 | 类型 | 说明 |