POI-HSLF and and POI-XLSF - Java API To Access Microsoft Powerpoint Format Files(POI-HSLF 和 POI-XLSF - 访问 Microsoft Powerpoint 格式文件的 Java API)

Overview(概述)

POI-HSLF(POI-HSLF)

HSLF is the POI Project's pure Java implementation of the Powerpoint '97(-2007) file format.(HSLF 是 POI 项目的 Powerpoint '97(-2007) 文件格式的纯 Java 实现。)

HSLF provides a way to read, create or modify PowerPoint presentations. In particular, it provides:(HSLF 提供了一种阅读、创建或修改 PowerPoint 演示文稿的方法。特别是,它提供:)

  • api for data extraction (text, pictures, embedded objects, sounds)(用于数据提取(文本、图片、嵌入对象、声音)的 api)
  • usermodel api for creating, reading and modifying ppt files(用于创建、读取和修改 ppt 文件的 usermodel api)
Note (注意)
This code currently lives the scratchpad area of the POI SVN repository. To use this component, ensure you have the Scratchpad Jar on your classpath, or a dependency defined on the poi-scratchpad artifact - the main POI jar is not enough! See the POI Components Map for more details. (此代码当前位于 POI SVN 存储库的暂存区。要使用这个组件,请确保您的类路径中有 Scratchpad Jar,或者在 poi-scratchpad 工件上定义了依赖项 - 主 POI jar 是不够的!有关详细信息,请参阅 POI 组件图。)

The quick guide documentation provides information on using this API. Comments and fixes gratefully accepted on the POI dev mailing lists.(快速指南文档提供了有关使用此 API 的信息。 POI 开发者邮件列表中接受了评论和修复。)

POI-XSLF(POI-XSLF)

XSLF is the POI Project's pure Java implementation of the PowerPoint 2007 OOXML (.xlsx) file format. Whilst HSLF and XSLF provide similar features, there is not a common interface across the two of them at this time.(XSLF 是 POI 项目的 PowerPoint 2007 OOXML (.xlsx) 文件格式的纯 Java 实现。虽然 HSLF 和 XSLF 提供了类似的功能,但目前两者之间还没有通用接口。)

Please note that XSLF is still in early development and is a subject to incompatible changes in future.(请注意,XSLF 仍处于早期开发阶段,未来可能会发生不兼容的更改。)

A quick guide is available in the XSLF Cookbook(XSLF Cookbook 中提供了快速指南)

by Avik Sengupta, Nick Burch, Yegor Kozlov(作者:Avik Sengupta、Nick Burch、Yegor Kozlov)

 
中英文 | 中文 | 英文