diff options
Diffstat (limited to 'vcl/source/pdf/XmpMetadata.cxx')
-rw-r--r-- | vcl/source/pdf/XmpMetadata.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/pdf/XmpMetadata.cxx b/vcl/source/pdf/XmpMetadata.cxx index 7496ab26e3f5..cb88016365b3 100644 --- a/vcl/source/pdf/XmpMetadata.cxx +++ b/vcl/source/pdf/XmpMetadata.cxx @@ -73,6 +73,11 @@ void XmpMetadata::write() aXmlWriter.startElement("rdf:Description"); aXmlWriter.attribute("rdf:about", OString("")); aXmlWriter.attribute("xmlns:dc", OString("http://purl.org/dc/elements/1.1/")); + + aXmlWriter.startElement("dc:format"); + aXmlWriter.content("application/pdf"); + aXmlWriter.endElement(); + if (!msTitle.isEmpty()) { // this is according to PDF/A-1, technical corrigendum 1 (2007-04-01) |