I'm working with Apache POI and I'm trying to automate some tasks with Powerpoint reports. More precisely, I would like to update the data inside a .pptx presentation from code, including tables.
I've managed to get the XSLFTable objects (thanks to this page : How to modify the cell value of a table in an pptx file with apache-poi 3.9?), but now I'm trying to update the table structure.
Unfortunately, I don't know how to create or remove rows (or columns) in that table. The method getRows
returns a list, but it seems unmodifiable. There is a addRow
method, but I didn't find anything to delete/remove rows.
Do you know how I can achieve that?
Thanks a lot, and best regards!