summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-04-17 16:52:46 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-04-17 17:52:14 +0200
commit830abf307aab9f9611db60b5c734fbafd3b3d8a3 (patch)
treeda07c7e50ae194624ab9ccd9e096bf7e5754c660
parentc172b75b8ea5653246174399a530d238b1680ce0 (diff)
RTF filter: import \hyphauto
"Automatically Hyphenate Document Contents When Displayed" Change-Id: I832eed60511b332a3f936b8239fd0a56a84879f1
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 4965e13d8f0c..dd873fe88755 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -4887,6 +4887,9 @@ RTFError RTFDocumentImpl::dispatchToggle(RTFKeyword nKeyword, bool bParam, int n
case RTF_FACINGP:
m_aSettingsTableSprms.set(NS_ooxml::LN_CT_Settings_evenAndOddHeaders, pBoolValue);
break;
+ case RTF_HYPHAUTO:
+ m_aSettingsTableSprms.set(NS_ooxml::LN_CT_Settings_autoHyphenation, pBoolValue);
+ break;
default:
{
SAL_INFO("writerfilter", "TODO handle toggle '" << lcl_RtfToString(nKeyword) << "'");