Overview of Apache POI components and formats
trunkApache POI is a Java library for reading and writing Microsoft Office file formats. It supports two primary underlying formats:
- OLE2 (Binary Formats): Uses components named with the
H??Fprefix (e.g.,HSSFfor Excel,HWPFfor Word,HSLFfor PowerPoint). These handle legacy Microsoft Office files like XLS, DOC, and PPT. - OOXML (Open XML Formats): Uses components named with the
X??Fprefix (e.g.,XSSFfor Excel,XWPFfor Word,XSLFfor PowerPoint). These handle modern standards-based formats like XLSX, DOCX, and PPTX.
Supported Applications:
- Excel:
HSSF(Binary),XSSF(OOXML), andSXSSF(Streaming OOXML). - Word:
HWPF(Binary) andXWPF(OOXML). - PowerPoint:
HSLF(Binary) andXSLF(OOXML). - Outlook:
HSMFandHMEF. - Visio:
HDGFandXDGF. - Publisher:
HPBF. - Other: TNEF (
HMEF) for Outlookwinmail.datfiles.