Share on Facebook Share on Twitter Email
Answers.com

Apache POI

 
Wikipedia: Apache POI
Apache POI
Jakarta POI Logo
Developer(s) Apache Software Foundation
Stable release 3.5-FINAL / 2009-09-28; 49 days ago
Operating system Cross-platform
Type API to access Microsoft Office formats
License Apache License 2.0
Website http://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",[1] 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 humour 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.[2]

Office Open XML support

POI support the ISO/IEC 29500:2008 Office Open XML file formats since version 3.5. The work was initially in an SVN branch, but was later merged with the trunk and is available since POI 3.5 Beta 6. The targeted final release date was the summer 2008[3], but the release shipped in September 2009.

A significant contribution for OOXML support came from Sourcesense, an Open Source company which were commissioned by Microsoft to develop this contribution[4]. This link spurred controversy, some POI contributors questioning POI OOXML patent protection regarding Microsoft's Open Specification Promise patent license.[5]

Architecture

The Apache POI project contains the following subcomponents:

  • 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. For example, POI is unable to open spreadsheets that have filters or views[citation needed].
  • 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.
  • HSLF (Horrible Slide Layout Format) – is 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) – is an initial pure Java implementation for Microsoft Visio binary files. It provides an ability to read the low level contents of the files.
  • HPBF - is a pure Java implementation for Microsoft Publisher files
  • HSMF - is a pure Java implementation for Microsoft Outlook MSG files

Currently (as of April, 2008), and apart from the base POIFS component, the HSSF component is the more advanced feature of the library.[6] The other components (HPSF, HWPF, and HSLF) are in a working stage but still in earlier level of development.[7][8]

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

See also

References

External links


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 
Learn More
HDGF
Poi
NewGenLib

What is poi made from? Read answer...
What color is poi? Read answer...
Where is poi served? Read answer...

Help us answer these
How dicoverd the poi?
Do dogs have poieds?
How do you plait a poi?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Apache POI" Read more