summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-01-11 09:52:39 +0000
committerNoel Power <noel.power@suse.com>2013-01-11 10:31:56 +0000
commit066bdb31f7ff801b7a36c79c43ecbd527ffb2a88 (patch)
treeeb28b23de349a9b251fd38315c1b37830ed80ff3 /xmloff
parentfd5a921a00f034817f67e7e00bd61f0a3f851441 (diff)
support saving/loading hyperlink cell attribute in extended odf
style:table-cell-properties has new child element style:hyperlink which will store the hyperlink info in attributes xlink:href & xlink:type Change-Id: I184310d124c4242cd62fdabb45f9773094cfc229
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/xmloff/xmlprcon.hxx2
-rw-r--r--xmloff/inc/xmloff/xmltoken.hxx1
-rw-r--r--xmloff/source/core/xmltoken.cxx1
3 files changed, 3 insertions, 1 deletions
diff --git a/xmloff/inc/xmloff/xmlprcon.hxx b/xmloff/inc/xmloff/xmlprcon.hxx
index 7d6b13a6ae57..69b49ec56761 100644
--- a/xmloff/inc/xmloff/xmlprcon.hxx
+++ b/xmloff/inc/xmloff/xmlprcon.hxx
@@ -29,7 +29,7 @@ namespace rtl { class OUString; }
class SvXMLImportPropertyMapper;
-class SvXMLPropertySetContext : public SvXMLImportContext
+class XMLOFF_DLLPUBLIC SvXMLPropertySetContext : public SvXMLImportContext
{
protected:
sal_Int32 mnStartIdx;
diff --git a/xmloff/inc/xmloff/xmltoken.hxx b/xmloff/inc/xmloff/xmltoken.hxx
index 41acb781bbe9..1492d240e100 100644
--- a/xmloff/inc/xmloff/xmltoken.hxx
+++ b/xmloff/inc/xmloff/xmltoken.hxx
@@ -960,6 +960,7 @@ namespace xmloff { namespace token {
XML_HOWPUBLISHED,
XML_HREF,
XML_HTML,
+ XML_HYPERLINK,
XML_HYPERLINK_BEHAVIOUR,
XML_HYPHENATE,
XML_HYPHENATION_KEEP,
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index d7ebd2f9f21d..670596f5a299 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -965,6 +965,7 @@ namespace xmloff { namespace token {
TOKEN( "howpublished", XML_HOWPUBLISHED ),
TOKEN( "href", XML_HREF ),
TOKEN( "html", XML_HTML ),
+ TOKEN( "hyperlink", XML_HYPERLINK ),
TOKEN( "hyperlink-behaviour", XML_HYPERLINK_BEHAVIOUR ),
TOKEN( "hyphenate", XML_HYPHENATE ),
TOKEN( "hyphenation-keep", XML_HYPHENATION_KEEP ),