Apache POI

Last updated

Apache POI
Developer Apache Software Foundation
Stable release
5.4.1 / April 6, 2025;7 months ago (2025-04-06) [1]
Repository POI Repository
Written in Java
Operating system Cross-platform
Type API to access Microsoft Office formats
License Apache License 2.0
Website poi.apache.org

Apache POI, a project run by the Apache Software Foundation, and previously a sub-project of the Jakarta Project, provides pure Java libraries for reading and writing files in Microsoft Office formats, such as Word, PowerPoint and Excel.

Contents

History and roadmap

The name was originally an acronym for "Poor Obfuscation Implementation", [2] referring humorously to the fact that the file formats seemed to be deliberately obfuscated, but poorly, since they were successfully reverse-engineered. This explanation – and those of the similar names for the various sub-projects – were removed from the official web pages in order to better market the tools to businesses who would not consider such humor appropriate. The original authors (Andrew C. Oliver and Marc Johnson) also noted the existence of the Hawaiian poi dish, made of mashed taro root, which had similarly derogatory connotations. [3]

Office Open XML support

POI supports the ISO/IEC 29500:2008 Office Open XML file formats since version 3.5. A significant contribution for OOXML support came from Sourcesense, [4] an open source company which was commissioned by Microsoft to develop this contribution. [5] This link spurred controversy, some POI contributors questioning POI OOXML patent protection regarding Microsoft's Open Specification Promise patent license. [6]

Architecture

The Apache POI project contains the following subcomponents (meaning of acronyms is taken from old documentation):

The HSSF component is the most advanced feature of the library. [11] Other components (HPSF, HWPF, and HSLF) are usable, but less full-featured. [12] [13]

The POI library is also provided as a Ruby [14] or ColdFusion extension.

There are modules for Big Data platforms (e.g. Apache Hive/Apache Flink/Apache Spark), which provide certain functionality of Apache POI, such as the processing of Excel files. [15] [16]

Version history

Legend:
Unsupported
Supported
Latest version
Future version
Version numberDate of release
Future version: 6.0.02026
Future version: 5.5.12025
Latest version:5.5.0November 16, 2025
Unsupported: 5.4.1April 6, 2025
Unsupported: 5.4.0January 8, 2025
Unsupported: 5.3.0July 2, 2024
Unsupported: 5.2.5November 25, 2023
Unsupported: 5.2.4September 28, 2023
Unsupported: 5.2.3September 16, 2022
Unsupported: 5.2.2March 19, 2022
Unsupported: 5.2.1March 3, 2022
Unsupported: 5.2.0January 14, 2022
Unsupported: 5.1.0November 1, 2021
Unsupported: 5.0.0January 20, 2021
Unsupported: 4.1.0April 9, 2019
Unsupported: 4.0.0September 7, 2018
Unsupported: 3.17September 15, 2017
Unsupported: 3.16April 19, 2017
Unsupported: 3.15September 21, 2016
Unsupported: 3.14March 2, 2016
Unsupported: 3.13September 29, 2015
Unsupported: 3.12May 11, 2015
Unsupported: 3.11December 21, 2014
Unsupported: 3.10February 8, 2014
Unsupported: 3.9December 3, 2012
Unsupported: 3.8March 26, 2012
Unsupported: 3.7October 29, 2010
Unsupported: 3.6December 14, 2009
Unsupported: 3.5September 28, 2009
Unsupported: 3.2October 19, 2008
Unsupported: 3.1June 29, 2008
Unsupported: 3.0May 18, 2007
Unsupported: 2.5February 29, 2004
Unsupported: 2.0January 26, 2004
Unsupported: 1.5May 6, 2002
Unsupported: 1.2.0January 19, 2002
Unsupported: 1.1.0January 4, 2002
Unsupported: 1.0.0December 30, 2001

See also

References

  1. "History of Changes" . Retrieved April 6, 2025.
  2. 1 2 3 4 Sundaram, Elango (22 March 2004), "Excelling in Excel with Java", JavaWorld , retrieved 2020-07-21
  3. POI homepage from October 2004, Coyote Song, archived from the original on October 15, 2004, showing original explanations for naming.
  4. SourceSense
  5. McDougall, Paul (26 March 2008). "Microsoft Eyes Open Source Components for Office 2007". InformationWeek . Retrieved 2020-07-21.
  6. Oliver, Andrew C. (27 March 2008), "Rejection of any ENCUMBERED Microsoft Donation to POI", POI development mailing list archives, retrieved 2020-07-21
  7. 1 2 3 4 5 "POI API Documentation". Poi.apache.org. Retrieved March 7, 2019.
  8. "POI-HPBF - Java API To Access Microsoft Publisher Format Files". Poi.apache.org. Retrieved March 7, 2019.
  9. Codeplex NPOI, Microsoft, archived from the original on March 28, 2012
  10. POI-HSMF, Apache, archived from the original on August 7, 2011, retrieved July 31, 2011
  11. POI-HSSF, Apache
  12. POI-HWPF, Apache
  13. POI-HSLF, Apache
  14. POI-Ruby, Apache
  15. "HadoopOffice for Hive/Flink/Spark". Github.com. July 19, 2018. Retrieved March 7, 2019.
  16. "Spark Excel". Github.com. Retrieved March 7, 2019.

Official website OOjs UI icon edit-ltr-progressive.svg