wps_wpp_export_pdf
Export the current WPS Presentation to PDF. Save to ~/Downloads to ensure the file is actually created.
Instructions
把当前演示文稿导出为 PDF。重要:WPS 是沙盒应用,只被系统授权写入 ~/Downloads、或当前文档已打开的原目录;导出到其它未授权路径会被系统静默拦截——WPS 会返回"成功"但文件实际没有生成,且这个失败在对象模型层拿不到任何错误信息。强烈建议导出到 ~/Downloads,导出后务必自行核实文件是否真的存在(本工具不保证路径正确性)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | 导出路径(可选) |