[Python] pypdf or pikepdf advice needed on bookmarks

Discussão em 'Python' iniciado por Stack, Fevereiro 14, 2025.

  1. Stack

    Stack Membro Participativo

    I am sorry but I am unable to understand how to rearrange bookmarks in PDF document.

    I have PDF document with medical records which was created by importing new and new items from individual examinations or tests, each bookmark name starts with date like 2024-12-30.

    Unfortunatelly for some patients list of bookmarks is long and new bookmarks were added to the end of list and what I want to do is to rearrange them, i.e. read them all, sort by name keeping newest on top and them save in the document.

    I.e. when you open that medical record PDF, you will see most recent bookmarks on top.

    Can you please advice?

    Thanks

    V

    Continue reading...

Compartilhe esta Página