in reply to Re: PDF::API2 - issues with "delete()" and "title()" methods in Outline.pm
in thread PDF::API2 - issues with "delete()" and "title()" methods in Outline.pm

Thank you very much for the clarification and the patches

So my code to rename and delete the outlines was correct, but at the end of the day, unpatched PDF::API2 version 2.043 does not currently support renaming or completely deleting existing outlines in a PDF.

  • Comment on Re^2: PDF::API2 - issues with "delete()" and "title()" methods in Outline.pm
  • Download Code

Replies are listed 'Best First'.
Re^3: PDF::API2 - issues with "delete()" and "title()" methods in Outline.pm
by vr (Curate) on Sep 06, 2022 at 20:50 UTC

    Example test relies on incorrect use of PDF::API2::Outline::outline despite its documentation, but code unshown may in fact be correct if bookmark tree is traversed with other (too verbose for example test?) -- i.e. First/Next/Prev/Last -- methods.