优化项目结构, 增加表格和文档插件
This commit is contained in:
1 parent
6ba9ed637b
commit
0d6e543a6f
2 files changed
+104
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
const wpsInstance = {
|
||||
app: wps.EtApplication().Application,
|
||||
|
||||
// 获取全部 sheet 页
|
||||
getSheets: () => {
|
||||
const activeWorkbook = wpsInstance.app.ActiveWorkbook;
|
||||
for (let i = 1; i <= activeWorkbook.Worksheets.Count; i++) {
|
||||
alert(activeWorkbook.Worksheets.Item(i).Name)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return wpsInstance;
|
||||
Reference in new issue
Block a user