Re: Modifying named destinations
You don't convert anything to XML. Use the code as inspiration and write your own to find the ND and replace them in place.
Thanks.
I examined the code of PdfReader.consolidateNamedDestinations(), and I find that it uses a private method replaceNamedDestination(PdfObject,HashList), which presumably does what I want. However, since it is private, I'm unable to use it without changing the source code itself (which, I presume, should be the last resort).
s.b.