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 摘要。