Kaydet (Commit) 558d5c25 authored tarafından Miklos Vajna's avatar Miklos Vajna

implement RTF_LTRPAR and RTF_RTLPAR

üst b13d5a83
......@@ -549,6 +549,13 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword)
m_aStates.top().aParagraphSprms.insert(make_pair(NS_sprm::LN_PBrcRight, pValue));
}
break;
case RTF_LTRPAR:
case RTF_RTLPAR:
{
RTFValue::Pointer_t pValue(new RTFValue(nKeyword == RTF_LTRPAR ? 0 : 1));
m_aStates.top().aParagraphSprms.insert(make_pair(NS_sprm::LN_STextFlow, pValue));
}
break;
default:
OSL_TRACE("%s: TODO handle flag '%s'", OSL_THIS_FUNC, m_pCurrentKeyword->getStr());
bParsed = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment