<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!--*** This is a generated file. Do not edit. ***--> <link rel="stylesheet" href="skin/tigris.css" type="text/css"> <link rel="stylesheet" href="skin/mysite.css" type="text/css"> <link rel="stylesheet" href="skin/site.css" type="text/css"> <link media="print" rel="stylesheet" href="skin/print.css" type="text/css"> <title>Apache POI - Java API To Access Microsoft Format Files</title> </head> <body bgcolor="white" class="composite"> <!--================= start Banner ==================--> <div id="banner"> <table width="100%" cellpadding="8" cellspacing="0" summary="banner" border="0"> <tbody> <tr> <!--================= start Group Logo ==================--> <td align="left"> <div class="groupLogo"> <a href="http://poi.apache.org"><img border="0" class="logoImage" alt="Apache POI" src="resources/images/group-logo.jpg"></a> </div> </td> <!--================= end Group Logo ==================--> <!--================= start Project Logo ==================--><td align="right"> <div class="projectLogo"> <a href="http://poi.apache.org/"><img border="0" class="logoImage" alt="POI" src="resources/images/project-logo.jpg"></a> </div> </td> <!--================= end Project Logo ==================--> </tr> </tbody> </table> </div> <!--================= end Banner ==================--> <!--================= start Main ==================--> <table width="100%" cellpadding="0" cellspacing="0" border="0" summary="nav" id="breadcrumbs"> <tbody> <!--================= start Status ==================--> <tr class="status"> <td> <!--================= start BreadCrumb ==================--><a href="http://www.apache.org/">Apache</a> | <a href="http://poi.apache.org/">POI</a><a href=""></a> <!--================= end BreadCrumb ==================--></td><td id="tabs"> <!--================= start Tabs ==================--> <div class="tab"> <span class="selectedTab"><a class="base-selected" href="index.html">Home</a></span> | <script language="Javascript" type="text/javascript"> function printit() { if (window.print) { window.print() ; } else { var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH="0" HEIGHT="0" CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>'; document.body.insertAdjacentHTML('beforeEnd', WebBrowser); WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = ""; } } </script><script language="Javascript" type="text/javascript"> var NS = (navigator.appName == "Netscape"); var VERSION = parseInt(navigator.appVersion); if (VERSION > 3) { document.write(' <a title="PRINT this page OUT" href="javascript:printit()">PRINT</a>'); } </script> | <a title="PDF file of this page" href="index.pdf">PDF</a> </div> <!--================= end Tabs ==================--> </td> </tr> </tbody> </table> <!--================= end Status ==================--> <table id="main" width="100%" cellpadding="8" cellspacing="0" summary="" border="0"> <tbody> <tr valign="top"> <!--================= start Menu ==================--> <td id="leftcol"> <div id="navcolumn"> <div class="menuBar"> <div class="menu"> <span class="menuLabel">Apache POI</span> <div class="menuItem"> <span class="menuSelected">TOP</span> </div> </div> <div class="menu"> <span class="menuLabel">Marketing</span> <div class="menuItem"> <a href="casestudies.html">Case Studies</a> </div> </div> <div class="menu"> <span class="menuLabel">Project</span> <div class="menuItem"> <a href="overview.html">Overview</a> </div> <div class="menuItem"> <a href="poifs/index.html">POIFS</a> </div> <div class="menuItem"> <a href="hssf/index.html">HSSF</a> </div> <div class="menuItem"> <a href="hwpf/index.html">HWPF</a> </div> <div class="menuItem"> <a href="hpsf/index.html">HPSF</a> </div> <div class="menuItem"> <a href="hslf/index.html">HSLF</a> </div> <div class="menuItem"> <a href="hsmf/index.html">HSMF</a> </div> <div class="menuItem"> <a href="hdgf/index.html">HDGF</a> </div> <div class="menuItem"> <a href="poi-ruby.html">POI-Ruby</a> </div> <div class="menuItem"> <a href="utils/index.html">POI-Utils</a> </div> <div class="menuItem"> <a href="text-extraction.html">Text Extraction</a> </div> <div class="menuItem"> <a href="http://www.apache.org/dyn/closer.cgi/poi/">Download</a> </div> </div> <div class="menu"> <span class="menuLabel">Community</span> <div class="menuItem"> <a href="news.html">News</a> </div> <div class="menuItem"> <a href="mirrors.html">Mirrors</a> </div> <div class="menuItem"> <a href="changes.html">Changes</a> </div> <div class="menuItem"> <a href="todo.html">To Do</a> </div> <div class="menuItem"> <a href="getinvolved/index.html">Get Involved</a> </div> <div class="menuItem"> <a href="mailinglists.html">Mailing Lists</a> </div> <div class="menuItem"> <a href="plan/POI20Vision.html">Vision</a> </div> <div class="menuItem"> <a href="historyandfuture.html">History and Future</a> </div> <div class="menuItem"> <a href="who.html">Who We Are</a> </div> <div class="menuItem"> <a href="resolutions/index.html">Resolutions</a> </div> <div class="menuItem"> <a href="http://www.apache.org/foundation/thanks.html">Sponsors</a> </div> </div> <div class="menu"> <span class="menuLabel">Docs</span> <div class="menuItem"> <a href="apidocs/index.html">Javadocs</a> </div> <div class="menuItem"> <a href="faq.html">FAQ</a> </div> <div class="menuItem"> <a href="legal.html">Legal</a> </div> <div class="menuItem"> <a href="references/index.html">References</a> </div> <div class="menuItem"> <a href="howtobuild.html">How to Build</a> </div> </div> <div class="menu"> <span class="menuLabel">Translations</span> <div class="menuItem"> <a href="trans/index.html">Index</a> </div> <div class="menuItem"> <a href="trans/guidelines.html">Guidelines</a> </div> <div class="menuItem"> <a href="trans/de/index.html">German (DE)</a> </div> <div class="menuItem"> <a href="trans/es/index.html">Spanish (ES)</a> </div> <div class="menuItem"> <a href="http://jakarta.terra-intl.com/poi/">Japanese (Web)</a> </div> <div class="menuItem"> <a href="http://jakarta.apache-korea.org/poi/">Korean (Web)</a> </div> </div> <div class="menu"> <span class="menuLabel">Code</span> <div class="menuItem"> <a href="subversion.html">Subversion (current source code)</a> </div> <div class="menuItem"> <a href="http://issues.apache.org/bugzilla/buglist.cgi?votes=1&product=POI&order=bugs.votes">Top Voted Bugs</a> </div> <div class="menuItem"> <a href="http://issues.apache.org/bugzilla/buglist.cgi?product=POI">Bug Database</a> </div> <div class="menuItem"> <a href="http://issues.apache.org/bugzilla/buglist.cgi?product=POI&short_desc=%5BPATCH%5D&short_desc_type=allwordssubstr">Patches</a> </div> <div class="menuItem"> <a href="junit/index.html">Junit Test Results</a> </div> <div class="menuItem"> <a href="jdepend/index.html">Dependency Metrics</a> </div> </div> </div> </div> <form target="_blank" action="http://www.google.com/search" method="get"> <table summary="search" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img height="1" width="1" alt="" src="skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap"><input value="poi.apache.org" name="sitesearch" type="hidden"><input size="10" name="q" id="query" type="text"><img height="1" width="5" alt="" src="skin/images/spacer.gif" class="spacer"><input name="Search" value="GO" type="submit"> <br> Search poi</td><td><img height="1" width="1" alt="" src="skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td colspan="3"><img height="7" width="1" alt="" src="skin/images/spacer.gif" class="spacer"></td> </tr> <tr> <td class="bottom-left-thick"></td><td bgcolor="#a5b6c6"><img height="1" width="1" alt="" src="skin/images/spacer.gif" class="spacer"></td><td class="bottom-right-thick"></td> </tr> </table> </form> </td> <!--================= end Menu ==================--> <!--================= start Content ==================--><td> <div id="bodycol"> <div class="app"> <div align="center"> <h1>Apache POI - Java API To Access Microsoft Format Files</h1> </div> <div class="h3"> <div class="h3"> <h3>POI 3.1-BETA2 Released (2008-05-28)</h3> </div> <p> The POI team is pleased to announce the release of 3.1 BETA2 which is one of the final steps before 3.1 FINAL. The status of this release is a beta, meaning that we encourage users to try it out. If you find any bugs, please report them to the POI <a href="https://issues.apache.org/bugzilla/buglist.cgi?product=POI">bug database</a> or to the <a href="./mailinglists.html">POI Developer List</a>. </p> <p> A full list of changes is available in <a href="./changes.html">the changelog</a>, and <a href="http://www.apache.org/dyn/closer.cgi/poi/dev/">download</a> the source and binaries from your <a href="http://www.apache.org/dyn/closer.cgi/poi/dev/">local mirror</a>. </p> <p> The release is also available from the central Maven repository under Group ID "org.apache.poi" and Version "3.1-beta2". </p> <div class="h3"> <h3>POI 3.0.2 Released</h3> </div> <p>The POI team is pleased to announce POI 3.0.2, the latest release of Apache POI. There have been many important bug fixes since the 3.0.1 release and a lot of new features. A full list of changes is available in <a href="./changes.html">the changelog</a>, and <a href="http://www.apache.org/dyn/closer.cgi/poi/release/">download</a> the source and binaries from your <a href="http://www.apache.org/dyn/closer.cgi/poi/release/">local mirror</a>. </p> <p> The release is also available from the central Maven repository under Group ID "org.apache.poi" and Version "3.0.2-FINAL". </p> <p>We would also like to confirm that versions 3.0.1 and 3.0.2 of Apache POI do <em>not</em> contain any viruses. Users of broken virus checkers which do detect a 94 byte file, sci_cec.db, as containing one are advised to contact their vendor for a fix.</p> <div class="h3"> <h3>ApacheCon Europe Coming Soon</h3> </div> <p> <img alt="ApacheCon Europe 2008 banner" class="ontheright" height="60" src="images/ApacheConEu08.jpg" width="234"> ApacheCon Europe 2008 will once again be held at the Mövenpick Hotel in Amsterdam, April 7-11. This year, there will be a number of POI sessions, including a tutorial covering the new Office Open XML support.</p> <p>For further information, see the ApacheCon Europe Web site at <a href="http://www.eu.apachecon.com/">www.eu.apachecon.com</a> </p> <div class="h3"> <h3>Office Open XML Support</h3> </div> <p>We are currently working to support the new Office Open XML file formats, such as XLSX and PPTX, which were introduced in Office 2007.</p> <p>Support for these is currently only available in an svn branch, but we hope to have a full release including it by the summer. People interested should follow the <a href="mailinglists.html">dev list</a> to track progress.</p> <div class="h3"> <h3>Purpose</h3> </div> <p> The POI project consists of APIs for manipulating various file formats based upon Microsoft's OLE 2 Compound Document format using pure Java. In short, you can read and write MS Excel files using Java. Soon, you'll be able to read and write Word, PowerPoint and Visio files using Java. POI is your Java Excel solution as well as your Java Word solution. However, we have a complete API for porting other OLE 2 Compound Document formats, and welcome others to participate. </p> <p> OLE 2 Compound Document Format based files include most Microsoft Office files such as XLS and DOC as well as MFC serialization API based file formats. </p> <p> At this time, none of our releases support the new Office Open XML file formats, such as .xlsx or .docx. Work to support these is in progress, and people interested should follow the <a href="mailinglists.html">dev list</a>. We expect this support to make it into a full release by the summer. </p> <p> As a general policy, we try to collaborate as much as possible with other projects to provide this functionality. Examples include: <a href="http://xml.apache.org/cocoon">Cocoon</a> for which there are serializers for HSSF; <a href="http://www.openoffice.org">Open Office.org</a> with whom we collaborate in documenting the XLS format; and <a href="http://lucene.apache.org/">Lucene</a> for which we provide format interpretors. When practical, we donate components directly to those projects for POI-enabling them. </p> <div class="h4"> <h4>Why/when would I use POI?</h4> </div> <p> We'll tackle this on a component level. POI refers to the whole project. </p> <p> So why should you use POIFS or HSSF? </p> <p> You'd use POIFS if you had a document written in OLE 2 Compound Document Format, probably written using MFC, that you needed to read in Java. Alternatively, you'd use POIFS to write OLE 2 Compound Document Format if you needed to inter-operate with software running on the Windows platform. We are not just bragging when we say that POIFS is the most complete and correct implementation of this file format to date! </p> <p> You'd use HSSF if you needed to read, write or modify an Excel file using Java (XLS). </p> <div class="h3"> <h3>Components To Date</h3> </div> <div class="h4"> <h4>Overview</h4> </div> <p>The following are components of the entire POI project and a brief summary of their purpose.</p> <div class="h4"> <h4>POIFS for OLE 2 Documents</h4> </div> <p>POIFS is the oldest and most stable part of the project. It is our port of the OLE 2 Compound Document Format to pure Java. It supports both read and write functionality. All of our components ultimately rely on it by definition. Please see <a href="./poifs/index.html">the POIFS project page</a> for more information.</p> <div class="h4"> <h4>HSSF for Excel Documents</h4> </div> <p>HSSF is our port of the Microsoft Excel 97(-2003) file format (BIFF8) to pure Java. It supports read and write capability. (Support for Excel 2007 .xlsx files is in progress). Please see <a href="./hssf/index.html">the HSSF project page</a> for more information.</p> <div class="h4"> <h4>HWPF for Word Documents</h4> </div> <p>HWPF is our port of the Microsoft Word 97 file format to pure Java. It supports read, and limited write capabilities. Please see <a href="./hwpf/index.html">the HWPF project page for more information</a>. This component is in the early stages of development. It can already read and write simple files.</p> <p>Presently we are looking for a contributor to foster the HWPF development. Jump in!</p> <div class="h4"> <h4>HSLF for PowerPoint Documents</h4> </div> <p>HSLF is our port of the Microsoft PowerPoint 97(-2003) file format to pure Java. It supports read and write capabilities. Please see <a href="./hslf/index.html">the HSLF project page for more information</a>.</p> <div class="h4"> <h4>HDGF for Visio Documents</h4> </div> <p>HDGF is our port of the Microsoft Viso 97(-2003) file format to pure Java. It currently only supports reading at a very low level, and simple text extraction. Please see <a href="./hdgf/index.html">the HDGF project page for more information</a>.</p> <div class="h4"> <h4>HPSF for Document Properties</h4> </div> <p>HPSF is our port of the OLE 2 property set format to pure Java. Property sets are mostly use to store a document's properties (title, author, date of last modification etc.), but they can be used for application-specific purposes as well.</p> <p>HPSF supports reading and writing of properties. However, you will need to be using version 3.0 of POI to utilise the write support.</p> <p>Please see <a href="./hpsf/index.html">the HPSF project page</a> for more information.</p> <div class="h3"> <h3>Contributing </h3> </div> <p> So you'd like to contribute to the project? Great! We need enthusiastic, hard-working, talented folks to help us on the project in several areas. The first is bug reports and feature requests! The second is documentation - we'll be at your every beck and call if you've got a critique or you'd like to contribute or otherwise improve the documentation. We could especially use some help documenting the HSSF file format! Last, but not least, we could use some binary crunching Java coders to chew through the complexity that characterizes Microsoft's file formats and help us port new ones to a superior Java platform! </p> <p>So if you're motivated, ready, and have the time, join the mail lists and we'll be happy to help you get started on the project! </p> <div id="authors" align="right">by Andrew C. Oliver, Glen Stampoultzis, Avik Sengupta, Rainer Klute</div> </div> </div> </div> </td> <!--================= end Content ==================--> </tr> </tbody> </table> <!--================= end Main ==================--> <!--================= start Footer ==================--> <div id="footer"> <table summary="footer" cellspacing="0" cellpadding="4" width="100%" border="0"> <tbody> <tr> <!--================= start Copyright ==================--> <td colspan="2"> <div align="center"> <div class="copyright"> Copyright © 2002-2007 The Apache Software Foundation. All rights reserved. </div> </div> </td> <!--================= end Copyright ==================--> </tr> <tr> <td align="left"> <!--================= start Host ==================--> <!--================= end Host ==================--></td><td align="right"> <!--================= start Credits ==================--> <div align="right"> <div class="credit"> <a href="http://validator.w3.org/check/referer"><img width="88" height="31" alt="Valid HTML 4.01!" src="skin/images/valid-html401.png" class="logoImage"></a><a href="http://jigsaw.w3.org/css-validator/"><img width="88" height="31" alt="Valid CSS!" src="skin/images/vcss.png" class="logoImage"></a><a href="http://xml.apache.org/forrest/"><img border="0" class="logoImage" alt="Built with Apache Forrest" src="images/built-with-forrest-button.png" width="88" height="31"></a> </div> </div> <!--================= end Credits ==================--> </td> </tr> </tbody> </table> </div> <!--================= end Footer ==================--> </body> </html>