Bug 157455 - Better support for embedding XMP metadata in PDF files
Summary: Better support for embedding XMP metadata in PDF files
Status: RESOLVED DUPLICATE of bug 138792
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-26 11:16 UTC by Paul Millar
Modified: 2023-10-10 12:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
File properties exported to XMP fields (69.56 KB, image/png)
2023-09-30 09:14 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Millar 2023-09-26 11:16:49 UTC
XMP is an ISO standard for representing arbitrary metadata (about a file) as an RDF graph.  It is possible to embed XMP metadata within several different file formats.  PDF v1.4 included support for XMP by describing a standard way in which XMP metadata may be embedded within PDF files.

Libreoffice supports generating PDF files, but currently seems to lack any way in which XMP metadata may be included within the resulting PDF files.

The OpenDocument format, itself, supports embedding RDF metadata.  One approach might be to use OpenDocument's support for RDF metadata to store the XMP metadata: the metadata that should be included in the PDF file.  A disadvantage of this approach is that Libreoffice's support for ODF-embedded RDF metadata is currently rather poor (see bug #157451).

An alternative approach might be to define the XMP metadata as an external file, and provide an option (within the PDF export dialogue) to identify the file.  The contents of the file would then be embedded in the PDF file..  Although suboptimal, this approach may be feasible without waiting for bug #157451 to be resolved.
Comment 1 Gabor Kelemen (allotropia) 2023-09-30 09:14:00 UTC
Created attachment 189903 [details]
File properties exported to XMP fields

There has been improvements in this area recently in bug 138792.

You can test these in the nightly builds: https://wiki.documentfoundation.org/QA/Testing_Daily_Builds
Comment 2 Stéphane Guillou (stragu) 2023-10-10 12:17:18 UTC
Let's mark as duplicate of bug 138792 then.
Paul, your testing of a daily build[1] and your feedback and comments would be very much appreciated in bug 138792.
Thank you!

[1]: https://dev-builds.libreoffice.org/daily/master/current.html

*** This bug has been marked as a duplicate of bug 138792 ***