Apache POI PPT Overview Apache POI PPT

What are the components of Apache POI PPT?

Most of the times, software application needs to generate reports in Microsoft Office file format and sometimes, an application is supposed to receive MS- Office files as input data.

If a Java programmer wishes to produce MS Office files as output, then they should use a predefined and read-only API.

What is Apache POI?

Apache POI is a popular API which helps in creating, modifying and displaying the Microsoft Office files. It is an open source library developed and distributed by Apache Software Foundation. It consists of classes and methods which are used to decode the user input data, or a file into MS Office documents.

Components of Apache POI

Apache POI consists of classes and methods to work on all OLE2 Compound documents of MS-Office. Below is the list of components of this API:

  • POIFS (Poor Obfuscation Implementation File System): This is the basic factor of all other POI elements and is used for reading different files explicitly.
  • HSSF (Horrible Spreadsheet Format): It is used for reading and writing .xls format of MS-Excel files.
  • XSSF (XML Spreadsheet Format): It is used for .xlsx file format of MS-Excel.
  • HPSF (Horrible Property Set Format): It is used for extracting property sets of MS-Office files.
  • HWPF (Horrible Word Processor Format): It is used for reading and writing .doc extension files of MS-Word.
  • XWPF (XML Word Processor Format): It is used for reading and writing.docx extension files of MS-Word.
  • HSLF (Horrible Slide Layout Format): It is used for reading, creating and editing PowerPoint presentations.
  • HDGF (Horrible DiaGram Format): It consists of classes and methods for MS-Visio binary files.
  • HPBF (Horrible PuBlisher Format): It is used for reading and writing MS-Publisher files.

This tutorial will guide you in the process of working with Microsoft PowerPoint presentation using Java. So, we are restricting the discussion to XSLF component.

Note: Earlier versions of POI support binary file formats such as doc, xls, ppt, etc. From version 3.5 onwards, POI supports OOXML file formats of MS-Office such as docx, xlsx, pptx, etc.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Apache POI PPT Topics