Scripts2026年7月5日·1 分钟阅读

LibreOffice — Free Open Source Office Suite for Documents, Spreadsheets & Presentations

A full-featured office productivity suite that reads and writes Microsoft Office formats natively. Includes Writer, Calc, Impress, Draw, Base, and Math as drop-in replacements for proprietary office software.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
LibreOffice
直接安装命令
npx -y tokrepo@latest install 0b87b182-782c-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

LibreOffice is the leading free and open-source office suite, developed by The Document Foundation. It provides a complete set of productivity applications that are compatible with Microsoft Office formats and support the open ODF standard natively.

What LibreOffice Does

  • Writer provides full word processing with styles, mail merge, table of contents, and change tracking
  • Calc offers spreadsheet functionality with pivot tables, charting, and over 500 built-in functions
  • Impress creates presentations with slide transitions, animations, and master slide templates
  • Draw handles vector graphics, flowcharts, and technical diagrams
  • Base provides a database frontend for creating forms, queries, and reports against various backends

Architecture Overview

LibreOffice is built on a component-based architecture written primarily in C++ with a UNO (Universal Network Objects) API layer that enables extensions in Python, Java, and other languages. The rendering engine handles ODF natively and includes robust import/export filters for DOCX, XLSX, PPTX, and legacy binary Office formats. A headless mode allows server-side document processing and format conversion without a display.

Self-Hosting & Configuration

  • Install via system package manager on Linux, or download installers for Windows and macOS from the official site
  • Use the headless mode (--headless) for server-side batch processing and document conversion pipelines
  • Deploy LibreOffice Online (Collabora) for browser-based collaborative editing in self-hosted environments
  • Customize default templates, autocorrect settings, and macros through the Tools menu or user profile directory
  • Extend functionality with extensions from the official Extensions site or write custom ones using the UNO API

Key Features

  • Full compatibility with Microsoft Office formats including DOCX, XLSX, and PPTX
  • Native support for the Open Document Format (ODF) standard for long-term document archival
  • Powerful headless mode enables CI/CD integration for automated document generation and conversion
  • Macro support with LibreOffice Basic, Python, JavaScript, and BeanShell
  • Available in over 100 languages with community-driven localization

Comparison with Similar Tools

  • Microsoft Office — proprietary suite with cloud integration; LibreOffice is free, open source, and runs offline without subscriptions
  • Google Docs — cloud-first collaborative editing; LibreOffice is local-first with optional cloud via Collabora Online
  • OnlyOffice — open-source office suite focused on OOXML compatibility; LibreOffice has a larger feature set and longer track record
  • Apache OpenOffice — the original project LibreOffice forked from; LibreOffice has a much more active community and faster release cycle

FAQ

Q: Can LibreOffice open and save Microsoft Office files? A: Yes. LibreOffice reads and writes DOCX, XLSX, PPTX, and older binary formats. Some advanced macros or formatting may require minor adjustments.

Q: Is there a web-based version? A: Yes. Collabora Online (based on LibreOffice technology) provides browser-based collaborative editing that can be self-hosted with Nextcloud or other platforms.

Q: Can I use LibreOffice for automated document processing? A: Yes. The headless mode and UNO API allow scripted document generation, format conversion, and data merging in CI/CD pipelines.

Q: How often is LibreOffice updated? A: LibreOffice follows a predictable release schedule with a new major version roughly every six months and regular point releases for bug fixes.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产