当前位置: 首页 > 工具软件 > jxls > 使用案例 >

jxls转html代码,JXLS

子车轶
2023-12-01

Adding Jxls libraries to the project

The easiest way to add Jxls libraries to your project is to use Maven and specify the required libraries in your project build configuration file.

Jxls jars are available in the Central Maven repository.

We need to add the following dependency to core Jxls module

org.jxls

jxls

2.10.0

Alternatively you can download Jxls distribution from the Sourceforge site and use the jars from the distribution.

Besides the dependency to core Jxls module we need to add a dependency to an implementation of Jxls transformer engine which will execute all the underlying Java to Excel manipulations.

As it is explained in Transformers section (see Main Concepts)) Jxls core module does not depend on any specific Java-Excel library and works with Excel exclusively through a predefined interface. Currently Jxls supplies two implementations of this interface in separate modules based on the well-known Apache POI and Java Excel API libraries.

To use Apache POI API based transformer implementation add the following dependency

org.jxls

jxls-poi

2.10.0

To use Java Excel API based transformer implementation add the following dependency

org.jxls

jxls-jexcel

${jxlsJexcelVersion}

 类似资料: