diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-07-15 11:24:39 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-07-15 11:44:35 +0200 |
commit | 431853bfae7dccd139804caf7ac2505a7c283e63 (patch) | |
tree | bd58386221b28105907217bcdeb0a707ba66ac15 /writerfilter | |
parent | Related: fdo#66761 the double-encoding bug appears gone in python 3.3.2 (diff) | |
download | core-431853bfae7dccd139804caf7ac2505a7c283e63.tar.gz core-431853bfae7dccd139804caf7ac2505a7c283e63.zip |
fdo#54900 RTF import: support setting para align after text
Both Word and Writer typically write all paragraph properties before the
first text in each paragraph, but at least for paragraph alignment, it's
valid to write them at the end.
Change-Id: I0337e63678ad45c662a204ab2fc59378607abe74
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index b3374de9935a..1673b735299b 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -2027,6 +2027,7 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword) { RTFValue::Pointer_t pValue(new RTFValue(nParam)); m_aStates.top().aParagraphSprms.set(NS_sprm::LN_PJc, pValue); + m_bNeedPap = true; return 0; } |