summaryrefslogtreecommitdiff
path: root/xmloff/source/style/prhdlfac.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-07-09 15:48:10 +0200
committerEike Rathke <erack@redhat.com>2013-07-09 15:52:21 +0200
commit4935422b410757bb4920b98a2d81da3c11b8e3d7 (patch)
tree8c6c5e217e76f77313b864ee1cd6b29b499eadb8 /xmloff/source/style/prhdlfac.cxx
parentcc7a301dad831f8113cc3d737e2f4d23061a65ac (diff)
read/write ODF *:script* and *:rfc-language-tag*
This prepares to be able to read/write the attributes, it does not enable proper handling of unknown language tags yet. An unknown tag usually falls back to SYSTEM locale. Change-Id: I4a78e8fd37deae188c69570157bc4589a712bc7a
Diffstat (limited to 'xmloff/source/style/prhdlfac.cxx')
-rw-r--r--xmloff/source/style/prhdlfac.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmloff/source/style/prhdlfac.cxx b/xmloff/source/style/prhdlfac.cxx
index c6bb25f049a4..305a5daf1fa7 100644
--- a/xmloff/source/style/prhdlfac.cxx
+++ b/xmloff/source/style/prhdlfac.cxx
@@ -368,9 +368,15 @@ const XMLPropertyHandler* XMLPropertyHandlerFactory::CreatePropertyHandler( sal_
case XML_TYPE_CHAR_HEIGHT_DIFF:
pPropHdl = new XMLCharHeightDiffHdl;
break;
+ case XML_TYPE_CHAR_RFC_LANGUAGE_TAG:
+ pPropHdl = new XMLCharRfcLanguageTagHdl;
+ break;
case XML_TYPE_CHAR_LANGUAGE:
pPropHdl = new XMLCharLanguageHdl;
break;
+ case XML_TYPE_CHAR_SCRIPT:
+ pPropHdl = new XMLCharScriptHdl;
+ break;
case XML_TYPE_CHAR_COUNTRY:
pPropHdl = new XMLCharCountryHdl;
break;