Office to PDF ガイド
4 methods to convert Office docs to PDF: Office, WPS, LibreOffice CLI
📢 Office 文档转 PDF 需要本地软件支持:文档排版复杂,浏览器无法完美还原。以下方法按推荐度排序,ファイル全程在你电脑上。
方法 1 · 用 Office / WPS 直接导出(最简单)
| Microsoft Office | 開くファイル → ファイル → 另存为/导出 → 選択 PDF |
| WPS(免费) | 開くファイル → ファイル → 出力为 PDF |
方法 2 · 免费 LibreOffice 批量命令行(适合大量ファイル)
| Windows | winget install TheDocumentFoundation.LibreOffice |
| macOS | brew install --cask libreoffice 或官网ダウンロード |
| Linux | sudo apt install libreoffice |
执行方式:进入ファイル所在ファイル夹開く终端粘贴命令;Windows 下 soffice 位于 C:\Program Files\LibreOffice\program\,若ヒント找不到命令请先切换到该目录或加入 PATH。
方法 3 · macOS / Windows 打印为 PDF(万能兜底)
任何能開く该ファイル的软件:Ctrl+P / Cmd+P → 打印机選択「另存为 PDF / Microsoft Print to PDF」