[FEATURE] PDF export: add bookmarks to headings

オープン
#3,464 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
cpp
領域
desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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:

主要言語
C++
スター
5.9k
フォーク
499
平均マージ
4時間 4分
マージ済み PR(30日)
3

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pbek/QOwnNotes のほかの issue

pbek/QOwnNotes の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。