In order to ensure the accessibility of PDF documents, it is necessary to be able to edit corresponding XMP metadata; e.g. add a PDF/UA label and add the title in the XMP data.
Steps to Reproduce:
It is not possible to edit XMP metadata attributes.
It is possible to edit XMP metadata attributes.
User Profile Reset: No
I have added this to bug 139007 "[META] PDF accessibility".
It is a valid enhancement request.
On ODF file format this is likely related to bug 30709.
The properties from File->Properties are already exported to PDF as metadata.
Can you name some specific properties which are missing?
> add a PDF/UA label
PAC reports we already add this label.
Likely this is about extra metadata, i.e. XMP PDF, XMP Dublin Core and XMP Rights metadata, as implemented in PDF Metadata Editor (http://broken-by.me/pdf-metadata-editor/).
Created attachment 184579 [details]
Example file with a bunch of properties filled
Created attachment 184580 [details]
The example file exported to PDF
from recent master
Created attachment 184582 [details]
Screenshot of the PDF in PDF Metadata Editor and the original file in Writer
The standard file describes the following Basic XMP properties:
According to the Metadata Editor tool, some of these are already exported:
CreatorTool -> Writer, correct
CreateDate -> 10:38, incorrect: this value is should be the Modified date in the Properties dialog
ModifyDate -> Not exported
MetadataDate -> Not exported, standard says:
The date and time that any metadata for
this resource was last changed. It should
be the same as or more recent than
So probably the greater of "Modified date" and "Last printed" in LO.
No need to add new UI fields for covering this, export needs to be changed.
Created attachment 184586 [details]
Screenshot of the PDF in PDF Metadata Editor and the original file in Writer - PDF tab
Next the standard defines "Adobe PDF Schema" properties:
According to the Metadata Editor tool:
Keywords: exported properly
Producer: LibreOffice 7.5 is correct
PDFVersion: missing. The standard says:
The PDF file version
(for example: 1.0, 1.3,
and so on).
No need to add new UI to cover these, only the PDFVersion needs to be exported.
Created attachment 184587 [details]
Screenshot of the PDF in PDF Metadata Editor and the original file in Writer - DC tab
The standard defines the list of Dublin Core attributes:
Of these the Title, Description and Creators fields are already filled according to the Metadata Editor.
For the other 12 DC attributes (11 if we suppose dc:format can be filled automatically) we should probably add new UI, ODF storage and XMP:DC export functionality.
Setting to NEW, needed info was provided.