When opening an existing PDF document with bookmarks, it is not possible
to traverse the bookmarks structure.
I use $pdf->outlines to fetch the bookmarks tree, then try to add an
item using $outlines->outline(). This fails with the message:
Can't locate object method "outline" via package
"PDF::API2::Basic::PDF::Objind" at ./generate_pdfx.pl line 23.
See attachments for a sample PDF file and a perl script that shows the
problem.
My system:
PDF-API2-0.57
perl v5.8.7 built for cygwin-thread-multi-64int
CYGWIN_NT-5.1 i686 Cygwin
Regards
Manuel