简体   繁体   English

使用Apache POI生成excel下拉列表时的限制-我们可以使用xssf而不是hssf解决此问题吗?

[英]Limitation while generating excel drop down list with Apache POI - can we solve this using xssf rather than hssf?

Limitation While Generating Excel Drop Down with Apache POI 使用Apache POI生成Excel下拉列表时的限制

This link solves the problem for an HSSFWorkbook . 此链接解决了HSSFWorkbook的问题。 Can we do this for an XSSFWorkbook too ? 我们也可以为XSSFWorkbook这样做吗?

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

While XSSF is the POI Project's pure Java implementation of the Excel 2007 OOXML (.xlsx) File format. XSSF是POI Project的Excel 2007 OOXML (.xlsx)文件格式的纯Java实现。

HSSF and XSSF provides ways to read spreadsheets create , modify , read and write XLS spreadsheets . HSSFXSSF提供了read电子表格, createmodifyread and write XLS 电子表格的方法

They also provide: 他们还提供:

  1. low level structures for those with special needs 为有特殊需要的人准备的低层建筑
  2. an eventmodel api for efficient read-only access 一个eventmodel API,可实现高效的只读访问
  3. a full usermodel api for creating, reading and modifying XLS files 完整的用户模型API,用于创建,读取和修改XLS文件

For Further Reference Please gothrough with This Link 有关更多参考,请通过此链接进行浏览

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM