implement RTF_ROW, now a trivial table can be imported
This commit is contained in:
parent
07e39ad3e3
commit
5a4ec333d3
1 changed files with 22 additions and 0 deletions
|
@ -568,6 +568,28 @@ int RTFDocumentImpl::dispatchSymbol(RTFKeyword nKeyword)
|
|||
m_bNeedPap = true;
|
||||
}
|
||||
break;
|
||||
case RTF_ROW:
|
||||
{
|
||||
RTFSprms_t aAttributes;
|
||||
RTFSprms_t aSprms;
|
||||
{
|
||||
RTFValue::Pointer_t pValue(new RTFValue(1));
|
||||
aSprms.push_back(make_pair(NS_sprm::LN_PFInTable, pValue));
|
||||
}
|
||||
{
|
||||
RTFValue::Pointer_t pValue(new RTFValue(1));
|
||||
aSprms.push_back(make_pair(NS_sprm::LN_PRow, pValue));
|
||||
}
|
||||
writerfilter::Reference<Properties>::Pointer_t const pProperties(new RTFReferenceProperties(aAttributes, aSprms));
|
||||
Mapper().props(pProperties);
|
||||
|
||||
sal_uInt8 sRowEnd[] = { 0x8 };
|
||||
Mapper().text(sRowEnd, 1);
|
||||
Mapper().endParagraphGroup();
|
||||
Mapper().startParagraphGroup();
|
||||
m_bNeedPap = true;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
OSL_TRACE("%s: TODO handle symbol '%s'", OSL_THIS_FUNC, m_pCurrentKeyword->getStr());
|
||||
bParsed = false;
|
||||
|
|
Loading…
Reference in a new issue