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

Ouverte
#735 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
22/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
c, linux
Domaine
desktop

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
C
Étoiles
286
Forks
87
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de linuxmint/xreader

Toutes les issues de linuxmint/xreader

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.