Frequently Asked Questions

General

What is Aspose.Cells FOSS for Java?

A: Aspose.Cells FOSS for Java is a free, open-source Java 17 library for creating, loading, modifying, and saving Excel .xlsx workbooks. It requires no Microsoft Office installation, no native libraries, and no commercial Aspose runtime license.

What license does Aspose.Cells FOSS for Java use?

A: The library is released under the MIT license. You may use, modify, and distribute it in personal, open-source, and commercial projects without restriction.

What Java version is required?

A: Java 17 or later is required. The library targets the Java 17 LTS release.

How do I install the library?

A: Add the Maven dependency to your pom.xml. The cells-foss artifact is available on Maven Central and requires no license key:

<dependency>
  <groupId>org.aspose</groupId>
  <artifactId>aspose-cells-foss</artifactId>
  <version>26.5.0</version>
</dependency>

What file formats are supported?

A: Reading and writing .xlsx (Excel Open XML) is supported. Saving is currently limited to .xlsx.

Does the library calculate formulas?

A: The library stores and round-trips formula strings, but it is not a full spreadsheet calculation engine. Formulas are recalculated by Excel when the file is opened.

Can I load a malformed or damaged XLSX file?

A: Yes. Use LoadOptions.setTryRepairPackage(true) and setTryRepairXml(true) to enable repair mode. Check workbook.getLoadDiagnostics().getIssues() after loading to see what was repaired.

Where is the source code?

A: The source code is available at github.com/aspose-cells-foss/Aspose.Cells-FOSS-for-Java.

See Also

 English