Apache POI

Apache POI
Developer(s) Apache Software Foundation
Stable release
4.0.0 / September 7, 2018 (2018-09-07)[1]
Repository Edit this at Wikidata
Operating system Cross-platform
Type API to access Microsoft Office formats
License Apache License 2.0
Website https://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.

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):

  • POIFS (Poor Obfuscation Implementation File System) – This component reads and writes Microsoft's OLE 2 Compound document format. Since all Microsoft Office files are OLE 2 files, this component is the basic building block of all the other POI elements. POIFS can therefore be used to read a wider variety of files, beyond those whose explicit decoders are already written in POI.
  • HSSF (Horrible SpreadSheet Format) – reads and writes Microsoft Excel (XLS) format files. It can read files written by Excel 97 onwards; this file format is known as the BIFF 8 format. As the Excel file format is complex and contains a number of tricky characteristics, some of the more advanced features cannot be read.
  • XSSF (XML SpreadSheet Format) – reads and writes Office Open XML (XLSX) format files. Similar feature set to HSSF, but for Office Open XML files.
  • HPSF (Horrible Property Set Format) – reads "Document Summary" information from Microsoft Office files. This is essentially the information that one can see by using the File|Properties menu item within an Office application.
  • HWPF (Horrible Word Processor Format) – aims to read and write Microsoft Word 97 (DOC) format files. This component is in initial stages of development.
  • XWPF (XML Word Processor Format) – similar feature set to HWPF, but for Office Open XML files.
  • HSLF (Horrible Slide Layout Format) – a pure Java implementation for Microsoft PowerPoint files. This provides the ability to read, create and edit presentations (though some things are easier to do than others)
  • HDGF (Horrible DiaGram Format) – an initial pure Java implementation for Microsoft Visio binary files. It provides an ability to read the low level contents of the files.
  • HPBF (Horrible PuBlisher Format) – a pure Java implementation for Microsoft Publisher files.
  • HSMF (Horrible Stupid Mail Format[7]) – a pure Java implementation for Microsoft Outlook MSG files.[8]
  • DDF (Dreadful Drawing Format) – a package for decoding the Microsoft Office Drawing format.

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

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

Version history

Legend: Old version Older version, still supported Current stable version Latest preview version Future release

Version number

Date of release
Current stable version: 4.0.0 07. September 2018
Older version, yet still supported: 3.17 15. September 2017
Older version, yet still supported: 3.16 19. April 2017
Older version, yet still supported: 3.15 21. September 2016
Older version, yet still supported: 3.14 2. March 2016
Older version, yet still supported: 3.13 29. September 2015
Older version, yet still supported: 3.12 11. May 2015
Older version, yet still supported: 3.11 21. December 2014
Older version, yet still supported: 3.10.1 18. August 2014
Old version, no longer supported: 3.10 8. February 2014
Old version, no longer supported: 3.9 3. December 2012
Old version, no longer supported: 3.8 26. March 2012
Old version, no longer supported: 3.7 29. October 2010
Old version, no longer supported: 3.6 14. December 2009
Old version, no longer supported: 3.5 28. September 2009
Old version, no longer supported: 3.2 19. October 2008
Old version, no longer supported: 3.1 29. June 2008
Old version, no longer supported: 3.0.2 4. February 2008
Old version, no longer supported: 3.0.1 5. July 2007
Old version, no longer supported: 3.0 18. May 2007
Old version, no longer supported: 2.5.1 29. February 2004
Old version, no longer supported: 2.5 29. February 2004
Old version, no longer supported: 2.0 26. January 2004
Old version, no longer supported: 1.5.1 16. June 2002
Old version, no longer supported: 1.5 6. May 2002
Old version, no longer supported: 1.2.0 19. January 2002
Old version, no longer supported: 1.1.0 4. January 2002
Old version, no longer supported: 1.0.2 11. January 2002
Old version, no longer supported: 1.0.1 4. January 2002
Old version, no longer supported: 1.0.0 30. December 2001

See also

References

  1. "[ANNOUNCE] Apache POI 4.0.0 released". 2018-09-07. Retrieved 2018-09-13.
  2. Sundaram, Elango (2004-03-22), Excelling in Excel with Java, Java World
  3. POI homepage from October 2004, Coyote Song, archived from the original on 2004-10-15 , showing original explanations for naming.
  4. SourceSense
  5. "Microsoft Eyes Open Source Components for Office 2007". Information Week. 26 March 2008. Retrieved 1 March 2009.
  6. POI development mailing list archives, March 2008
  7. Codeplex NPOI, Microsoft
  8. POI-HSMF, Apache
  9. POI-HSSF, Apache
  10. POI-HWPF, Apache
  11. POI-HSLF, Apache
  12. POI-Ruby, Apache
  • Apache POI – the official Apache POI project page.
  • POI presentation at OSCON2006, Source Forge .
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.