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

Offen
#735 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
22/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
c, linux
Bereich
desktop

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
C
Sterne
286
Forks
87
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus linuxmint/xreader

Alle Issues in linuxmint/xreader

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.