summaryrefslogtreecommitdiff
path: root/vcl/inc/pdf
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2020-09-16 23:40:51 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2020-09-17 07:33:39 +0200
commit06e35b3289090ec623fe5284976ee6f40681e1d5 (patch)
tree5a936974ee7e432b1d5bd34d2d5f67ca241471da /vcl/inc/pdf
parentbd066a17a22826ceb10e7763074704289f838f74 (diff)
tdf#136805 PDF export: re-add XMP basic meta data
VeraPDF complains about: <rule specification="ISO 19005-1:2005" clause="6.7.3" testNumber="1" status="failed" passedChecks="0" failedChecks="1"> <description>If a document information dictionary does appear at a document, then all of its entries that have analogous properties in predefined XMP schemas, shall also be embedded in the file in XMP form with equivalent values.</description> <object>CosDocument</object> <test>doesInfoMatchXMP</test> <check status="failed"> <context>root</context> </check> </rule> The regressing commit dropped the XMP Basic schema meta data (http://ns.adobe.com/xap/1.0/"). FWIW: xmp is the referred prefix, so we'll continue to use it. Regressed-by: d016e052ddf30649ad9b729b59134ce1e90a0263 Change-Id: I11b06fdafcb07732b92f0bd99b18afa3a9e498ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102888 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/inc/pdf')
-rw-r--r--vcl/inc/pdf/XmpMetadata.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/inc/pdf/XmpMetadata.hxx b/vcl/inc/pdf/XmpMetadata.hxx
index ae3ffadcd847..7526d2bf9b4b 100644
--- a/vcl/inc/pdf/XmpMetadata.hxx
+++ b/vcl/inc/pdf/XmpMetadata.hxx
@@ -29,6 +29,9 @@ public:
OString msSubject;
OString msProducer;
OString msKeywords;
+ OString m_sCreatorTool;
+ OString m_sCreateDate;
+
sal_Int32 mnPDF_A;
bool mbPDF_UA;