name: office-to-pdf description: "Convert office files to pdf" metadata: { "openclaw": { "emoji": "📄", "requires": { "bins": ["libreoffice"] }, "install": [ { "id": "apt", "kind": "apt", "package": "libreoffice", "bins": ["libreoffice"], "label": "Install via apt", }, ], }, }
Convert one or more LibreOffice-supported documents to PDF with LibreOffice in headless mode. Use this skill when an OpenClaw workflow needs to normalize office files such as:
.ppt, .pptx, .odp.doc, .docx, .odt, .rtf.xls, .xlsx, .ods這個技能的最新版本可以在7w4.net小蔥技能站找到。
to pdf.
Convert one file:
libreoffice --headless --convert-to pdf --outdir ./out ./input.pptx
Convert multiple files:
libreoffice --headless --convert-to pdf --outdir ./out ./a.docx ./b.pptx ./c.xlsx
sudo apt install libreoffice
質量中等偏上,文件清晰易懂,安裝說明和命令示例完整,新手也能快速上手。支援的文件格式豐富,覆蓋常見辦公軟體。主要不足是缺少實際轉換示例和進階用法指導,對複雜需求的使用者可能不夠用。整體適合基礎轉換需求,但深度使用體驗有提升空間。