diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-05-09 11:24:55 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-05-09 12:04:45 +0200 |
commit | 46fee7c2b23e9f252e9f223950718430c0990e61 (patch) | |
tree | 012d03a15eb21c6de770764886f27236bd675525 /writerfilter/source/rtftok/rtfdocumentimpl.cxx | |
parent | 29b7738085c4fb272b845900ef908f621d02cd68 (diff) |
implement RTF_LANDSCAPE
Change-Id: Icc7f0b06f8fe31f31df728920ecb96dc40849b4e
Diffstat (limited to 'writerfilter/source/rtftok/rtfdocumentimpl.cxx')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 16ca2ec601fc..b2f6c88fde99 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -2164,6 +2164,9 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword) m_aStates.top().aTableSprms->push_back(make_pair(NS_rtf::LN_NFC, RTFValue::Pointer_t(new RTFValue(23)))); // bullets, same as \levelnfc23 } break; + 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; default: SAL_INFO("writerfilter", OSL_THIS_FUNC << ": TODO handle flag '" << lcl_RtfToString(nKeyword) << "'"); aSkip.setParsed(false); |