Office to PDF Guide
4 methods to convert Office docs to PDF: Office, WPS, LibreOffice CLI
📢 Office 文档转 PDF 需要本地软件支持:文档排版复杂,浏览器None法完美Restore。以下方法按推荐度排序,File全程在你电脑上。
方法 1 · 用 Office / WPS 直接导出(最简单)
| Microsoft Office | OpenFile → File → 另存为/导出 → Select PDF |
| WPS(免费) | OpenFile → File → Output为 PDF |
方法 2 · 免费 LibreOffice 批量命令lines(适合大量File)
| Windows | winget install TheDocumentFoundation.LibreOffice |
| macOS | brew install --cask libreoffice 或官网Download |
| Linux | sudo apt install libreoffice |
执lines方式:进入File所在File夹Open终端粘贴命令;Windows 下 soffice people于 C:\Program Files\LibreOffice\program\,若Tip找不To命令请先切换To该目录或加入 PATH。
方法 3 · macOS / Windows 打印为 PDF(万能兜底)
任何能Open该File的软件:Ctrl+P / Cmd+P → 打印机Select「另存为 PDF / Microsoft Print to PDF」