Go 语言的 Office 文档处理库 UniOffice

 

unioffice 是一个纯 Go 的开源库,实现对 Office Word、Excel 和 PowerPoint 文件的创建和处理功能。 其目标是成为一个兼容性最强,性能最好的 Go 语言 Office 文档处理库。

 

UniOffice

 

 

当前的功能:

  • Read/Write/Edit
  • Formatting
  • Images
  • Tables

Spreadsheets (xlsx) [Excel]

  • Read/Write/Edit
  • Cell formatting including conditional formatting
  • Cell validation (drop down combobox, rules, etc.)
  • Retrieve cell values as formatted by Excel (e.g. retrieve a date or number as displayed in Excel)
  • Formula Evaluation (100+ functions supported currently, more will be added as required)
  • Embedded Images
  • All chart types

PowerPoint (pptx) [PowerPoint]

  • Creation from templates
  • Textboxes/shapes

应用:github.com/unidoc/unioffice