diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-05-09 09:10:24 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-05-09 13:51:29 +0200 |
commit | 3a9854a92923df8013ca832c48aa9f284bcb1adc (patch) | |
tree | 92ed195d12e40ba8b4ece1216eb878a0263853dd /sw/source/filter/ww8/rtfattributeoutput.hxx | |
parent | 5e062501eb6c3abe5219777fd9267702689785c7 (diff) |
tdf#107620 RTF export: handle DocumentSettingId::PARA_SPACE_MAX compat setting
As it turns out it has a dedicated RTF control word. With this, the
bugdoc is again kept as a one-page document during DOCX -> RTF
conversion.
If we are at it, also write the automatic before/after paragraph spacing
markup.
Change-Id: I78de644f0631e59ef507dfaa07c5a812d4ef10cd
Diffstat (limited to 'sw/source/filter/ww8/rtfattributeoutput.hxx')
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.hxx b/sw/source/filter/ww8/rtfattributeoutput.hxx index 2a5fca3c8309..23e8466681da 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.hxx +++ b/sw/source/filter/ww8/rtfattributeoutput.hxx @@ -595,6 +595,15 @@ private: /// If we're in the process of exporting a hyperlink, then its URL. OUString m_sURL; + /// If original file had \sbauto. + bool m_bParaBeforeAutoSpacing; + /// If m_bParaBeforeAutoSpacing is set, value of \sb. + sal_Int32 m_nParaBeforeSpacing; + /// If original file had \saauto. + bool m_bParaAfterAutoSpacing; + /// If m_bParaBeforeAutoSpacing is set, value of \sa. + sal_Int32 m_nParaAfterSpacing; + public: explicit RtfAttributeOutput(RtfExport& rExport); |