通过 UNO 驱动本机安装的 LibreOffice 做 PPT,而不是用 JavaScript 写 OOXML:`lo_build` 用结构化幻灯片真开一份 Impress 文档,再由 LibreOffice 导出可编辑的 PPTX/ODP、PDF 与逐页 PNG;`lo_render` 重新渲染已有的 PPTX/PPT/ODP;`lo_convert` 做 Office 格式互转;`lo_probe` 报告探测到的 soffice 路径、版本与 UNO 桥状态;`lo_config` 修改已保存的配置。需要本机安装 LibreOffice(已在 26.8.1.1 验证),使用其自带 Python,无需系统 Python,并会在两次调用之间保留一个 soffice 热进程。仅在 Windows 上做过完整验证;Linux 上会退回系统 python3,需要 python3-uno。
curl -fsSL https://www.dshhub.co/install.sh -o dshhub-install.sh && bash dshhub-install.shAlready have DSH? Skip the wizard and install the market directly:dsh plugin --profile web add dshhub-market
This plugin installs only from the plugin side.