summaryrefslogtreecommitdiff
path: root/xmloff/source/core
diff options
context:
space:
mode:
authorSarper Akdemir <sarper.akdemir.extern@allotropia.de>2023-08-19 17:18:50 +0300
committerSarper Akdemir <sarper.akdemir.extern@allotropia.de>2023-09-04 20:54:19 +0200
commit0deea02b1da1001fa497dc5afa5e43207af491d5 (patch)
treef977c1bb9e559a8a44c27173d2488f3eb4305f18 /xmloff/source/core
parenta45f72b8122d3bb4c0d5ac4252cf7e5a25d52291 (diff)
tdf#138792: PDF export: add batch of dublin core attributes
Adds support for exporting, editing in the UI and storage in ODF for the dublin core attributes listed below. Contributor (http://purl.org/dc/elements/1.1/contributor) Coverage (http://purl.org/dc/elements/1.1/coverage) Identifier (http://purl.org/dc/elements/1.1/identifier) Publisher (http://purl.org/dc/elements/1.1/publisher) Relation (http://purl.org/dc/elements/1.1/relation) Rights (http://purl.org/dc/elements/1.1/rights) Source (http://purl.org/dc/elements/1.1/source) Type (http://purl.org/dc/elements/1.1/type) Introduces XDocumentProperties2 to extend XDocumentProperties interface. Change-Id: Ie2e0b1fbbbd00b66aef477ba1bf4e4f61c03a3b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156330 Tested-by: Jenkins Reviewed-by: Sarper Akdemir <sarper.akdemir.extern@allotropia.de>
Diffstat (limited to 'xmloff/source/core')
-rw-r--r--xmloff/source/core/xmltoken.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index 4f6f2223e721..eac87c5e2c63 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -530,6 +530,7 @@ namespace xmloff::token {
TOKEN( "contour-path", XML_CONTOUR_PATH ),
TOKEN( "contour-polygon", XML_CONTOUR_POLYGON ),
TOKEN( "contrast", XML_CONTRAST ),
+ TOKEN( "contributor", XML_CONTRIBUTOR ),
TOKEN( "control", XML_CONTROL ),
TOKEN( "conversion-mode", XML_CONVERSION_MODE ),
TOKEN( "conversion-type", XML_CONVERSION_TYPE ),
@@ -554,6 +555,7 @@ namespace xmloff::token {
TOKEN( "country", XML_COUNTRY ),
TOKEN( "country-asian", XML_COUNTRY_ASIAN ),
TOKEN( "country-complex", XML_COUNTRY_COMPLEX ),
+ TOKEN( "coverage", XML_COVERAGE ),
TOKEN( "covered-table-cell", XML_COVERED_TABLE_CELL ),
TOKEN( "create-date", XML_CREATE_DATE ),
TOKEN( "create-date-string", XML_CREATE_DATE_STRING ),
@@ -1636,6 +1638,7 @@ namespace xmloff::token {
TOKEN( "rel-height-rel", XML_REL_HEIGHT_REL ),
TOKEN( "rel-width", XML_REL_WIDTH ),
TOKEN( "rel-width-rel", XML_REL_WIDTH_REL ),
+ TOKEN( "relation", XML_RELATION ),
TOKEN( "relative", XML_RELATIVE ),
TOKEN( "relative-tab-stop-position", XML_RELATIVE_TAB_STOP_POSITION ),
TOKEN( "reln", XML_RELN ),
@@ -1657,6 +1660,7 @@ namespace xmloff::token {
TOKEN( "right-to-left", XML_RIGHT_TO_LEFT ),
TOKEN( "right-arc", XML_RIGHTARC ),
TOKEN( "right-circle", XML_RIGHTCIRCLE ),
+ TOKEN( "rights", XML_RIGHTS ),
TOKEN( "ring", XML_RING ),
TOKEN( "role", XML_ROLE ),
TOKEN( "roll-from-bottom", XML_ROLL_FROM_BOTTOM ),