diff options
-rw-r--r-- | src/lib/VSDXMetaData.cpp | 2 | ||||
-rw-r--r-- | src/lib/tokens.txt | 1 | ||||
-rw-r--r-- | src/test/importtest.cpp | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/VSDXMetaData.cpp b/src/lib/VSDXMetaData.cpp index 7a0ff83..fd38811 100644 --- a/src/lib/VSDXMetaData.cpp +++ b/src/lib/VSDXMetaData.cpp @@ -77,6 +77,8 @@ void libvisio::VSDXMetaData::readCoreProperties(xmlTextReaderPtr reader) m_metaData.insert("meta:keyword", readString(reader, XML_CP_KEYWORDS)); case XML_DC_DESCRIPTION: m_metaData.insert("dc:description", readString(reader, XML_DC_DESCRIPTION)); + case XML_CP_LASTMODIFIEDBY: + m_metaData.insert("dc:creator", readString(reader, XML_CP_LASTMODIFIEDBY)); default: break; } diff --git a/src/lib/tokens.txt b/src/lib/tokens.txt index 617fb1a..2d0022b 100644 --- a/src/lib/tokens.txt +++ b/src/lib/tokens.txt @@ -234,3 +234,4 @@ dc:title dcterms:created dcterms:modified dc:description +cp:lastModifiedBy diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp index bb3388e..a69bcef 100644 --- a/src/test/importtest.cpp +++ b/src/test/importtest.cpp @@ -147,6 +147,7 @@ void ImportTest::testVsdxMetadataTitle() assertXPath(m_doc, "/document/setDocumentMetaData", "date", "2014-11-24T10:41:22Z"); assertXPath(m_doc, "/document/setDocumentMetaData", "keyword", "mytag"); assertXPath(m_doc, "/document/setDocumentMetaData", "description", "mycomment"); + assertXPath(m_doc, "/document/setDocumentMetaData", "creator", "vmiklos modifier"); } void ImportTest::testVsdMetadataTitleMs1252() |