[Libreoffice-commits] .: writerfilter/source
Miklos Vajna
vmiklos at kemper.freedesktop.org
Thu Jun 28 01:36:52 PDT 2012
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 0e82afdc8aeb34282f72a4e1a22542490675ffc7
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Thu Jun 28 10:34:43 2012 +0200
rtftok: implement RTF_FACINGP
Change-Id: I9e108f278a82f2ff8d4e5a29fa8af7c58843e9e4
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 699b42b..270d711 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -2164,6 +2164,9 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword)
case RTF_LANDSCAPE:
lcl_putNestedAttribute(m_aStates.top().aSectionSprms, NS_ooxml::LN_EG_SectPrContents_pgSz, NS_ooxml::LN_CT_PageSz_orient, RTFValue::Pointer_t(new RTFValue(1)));
break;
+ case RTF_FACINGP:
+ m_aSettingsTableSprms.set(NS_ooxml::LN_CT_Settings_evenAndOddHeaders, RTFValue::Pointer_t(new RTFValue(1)));
+ break;
default:
SAL_INFO("writerfilter", OSL_THIS_FUNC << ": TODO handle flag '" << lcl_RtfToString(nKeyword) << "'");
aSkip.setParsed(false);
More information about the Libreoffice-commits
mailing list