模板
插入由 Document Builder 脚本生成的文档模板。
插件类型: 可视化,非系统插件。
支持的编辑器: 文档。
安装
从 GitHub 下载该插件,并根据以下说明进行安装:桌面版、本地部署版或云端版。
使用方法
- 打开插件选项卡。
- 选择一个需要插入的文档模板并点击它。
插件结构
GitHub 仓库:templates。
- config.json、index.html 和 templates.js
- 图标
- templates 文件夹包含文档模板。
配置
{
"name": "Document Templates",
"guid": "asc.{94DF0B57-299D-4F68-AF6F-9A6BB53F3031}",
"variations": [
{
"description": "templates",
"url": "index.html",
"icons": ["resources/img/icon.png", "resources/img/icon@2x.png"],
"isViewer": false,
"EditorsSupport": ["word"],
"isVisual": true,
"isModal": false,
"isInsideMode": true,
"initDataType": "none",
"initData": "",
"buttons": []
}
]
}
方法和事件
- button
- init
- onExternalMouseUp
- info.recalculate
支持
如需请求功能或报告此插件的问题,请通过 GitHub Issues 页面提交。