Still code for removing tables is not working for me
Ćukasz Jarych <[email protected]> Mon, 5 Jun 2023 09:50:14 +0200
| Newsgroups | gmane.comp.jakarta.poi.user |
|---|---|
| Message-ID | <CAGv31ocB3uWAc41MiBdMuswV_Thm=ed072CuYL=8GS9bFMBzCw@mail.gmail.com> |
Hi Guys,
i tried to use this code:
OPCPackage pkg = workbook.getPackage(); for (XSSFTable table :
sheet.getTables()) { workbook.removePartRelation(table, true);
pkg.removePart(table.getPackagePart()); }
but this is not working for me.
Intellij is not seeing removePartRelation property.
I looked at StackOverflow, Code Ranch and tried chat gp but this is still
failing for me...
Please help
Luke
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&>
06/05/23,
09:49:30 AM