[FEATURE] PDF export: add bookmarks to headings

Aperta
#3,464 11 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
cpp
Ambito
desktop

Direzione di ricerca

The request is to add heading bookmarks on PDF export so viewers show a document outline. Start from the existing PDF export path that uses QPdfWriter (linked in the issue) and see how the note HTML/preview is written. Map headings into Qt’s bookmark APIs (QPdfBookmarkModel / QPdfWriter members cited in the issue). Done when an exported PDF has a usable outline like the LibreOffice comparison screenshots.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Effort: Very high Type: Feature Type: Upstream-problem

Currently, when a note is exported to PDF, QOwnNotes does not add bookmarks to headings. Bookmarks are essential for document navigation and document structure.

Here are screenshots of PDFs with and without bookmarks.

PDF exported by QOwnNotes. Note how the 'Document outline' option near the top left is greyed out:
Image
PDF created using LibreOffice, after copy-pasting QOwnNotes's preview panel contents:
Image
Resources

While I'm no programmer, I believe the following links may be of use:

Lingua principale
C++
Stelle
5.9k
Fork
499
Merge medio
4h 4m
PR unite (30g)
3

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pbek/QOwnNotes

Tutte le issue di pbek/QOwnNotes

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.