in reply to Re: use PDF::API2 to add pdf bookmark
in thread use PDF::API2 to add pdf bookmark

PDF::Reuse failed in inner process due to 'wide character', emit 'Wide character in syswrite at blib/lib/PDF/Reuse.pm (autosplit into blib/lib/auto/PDF/Reuse/descend.al)', PDF::API2 will not, use utf8::all, and accept it.
  • Comment on Re^2: use PDF::API2 to add pdf bookmark

Replies are listed 'Best First'.
Re^3: use PDF::API2 to add pdf bookmark
by Danny (Chaplain) on Jun 16, 2024 at 15:57 UTC
    It looks like PDF::API2::Outline is used for bookmarks?
      I assume no need to import submodule Outline, It did not complain. I test according to Outline doc, 'https://metacpan.org/pod/PDF::API2::Outline', but It do not run as it says. I just need a basic script which is able to delete all existing bookmarks or simply overwrite and add bookmarks with childs.