This is the official XLSX plugin for ZPE.
The plugin provides the ability to create, open, modify and save Microsoft Excel (.xlsx) files directly from ZPE.
Place zpe.lib.xlsx.jar in your ZPE native-plugins folder and restart ZPE.
You can also download with the ZULE Package Manager by using:
zpe --zule install zpe.lib.xlsx.jar
Full documentation, examples and API reference are available here:
View the complete documentation
import "zpe.lib.xlsx"
wb = xlsx_new()
sheet = wb->get_sheet(0)
sheet->set_cell(0, 0, "Name")
sheet->set_cell(0, 1, "Age")
sheet->set_cell(1, 0, "Jamie")
sheet->set_cell(1, 1, 34)
sheet->set_cell(2, 0, "Alice")
sheet->set_cell(2, 1, 12)
wb->save("example.xlsx")
wb->close()
- Uses Apache POI internally for Excel file handling.
- Supports creating new workbooks and opening existing .xlsx files.
- Cell values are automatically handled as strings, numbers or booleans.
- File open and save operations require appropriate ZPE permission levels.
- Cross-platform (Windows, macOS, Linux).
- Designed for seamless integration within the ZPE runtime environment.