Dear pdfbox user group,

I'm really scratching my head on the following issue I'm facing :
Here is the bookmarks of my document
root
- child
- child
secondroot
- secondchild
- secondchild

I'm able to get all the bookmarks of my document with the
getDocumentOutline() function. But now I would like to delete the
secondroot bookmark and also its descendant.

In the end, I would like to have the following :
root
- child
- child

Is there a way to achieve this ? During testing I always end up getting the
IllegalArgumentException because my node is still part of a list.

Thank you in advance for your help and kind regards,
Sarah

Reply via email to