Feature request: Display original PDF document date and additional metadata in Properties

未關閉
#735 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
22/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
c, linux
領域
desktop

研究方向

No source files or tests are named in the payload; start by locating the existing PDF Properties dialog and the PDF backend metadata extraction path in Xreader. Read how the dialog is populated today, then assess whether the backend can expose the requested PDF/XMP fields without relying on ExifTool. Done means maintainers have agreed on field mappings and the dialog shows original document date, identifier, identifier type and related metadata, with missing values shown as unavailable.

由索引模型根據 Issue 內容生成。

描述

Feature request

I would like Xreader to display additional document metadata in its PDF Properties dialog.

For scanned correspondence, the original date of a document is often different from the PDF creation date or the date on which the document was scanned.

It would therefore be useful to have a separate Document Metadata tab containing the following information:

  • Original document date
  • Document title
  • Document subject
  • Sender
  • Author
  • Document identifier (e.g. case number or reference number)
  • Identifier type (e.g. case number, invoice number)
  • Keywords
  • PDF creation and modification dates

The original document date should be displayed separately from the technical PDF creation date.

Metadata support

The information should preferably be read from standardized PDF and XMP metadata fields, including:

  • XMP-dc:Date – original document date
  • XMP-dc:Identifier – document identifier
  • PDF:Keywords and XMP-dc:Subject – document keywords

A custom metadata field was used for the identifier type in my prototype. For official support, a generally applicable solution would be preferable.

Missing metadata should be displayed as unavailable rather than inferred.

Working prototype

I have developed and tested a locally modified version of Xreader 4.6.8+wilma under Linux Mint 22.3.

The modified Properties dialog successfully displays the original document date, identifier, identifier type and other embedded metadata.

The functionality has been tested with locally generated PDF documents.

The prototype currently relies on ExifTool for metadata extraction and is not intended for direct integration without further technical review.

Request

Would the Xreader developers consider adding these document metadata fields to the official Properties dialog?

I would appreciate feedback on the preferred implementation, especially whether the existing PDF backend could provide the metadata without requiring an external application.

The prototype source changes can be provided if useful.

主要語言
C
星號
286
分支
87
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

linuxmint/xreader 的其他 Issue

查看 linuxmint/xreader 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。