https://bugs.documentfoundation.org/show_bug.cgi?id=164500

--- Comment #4 from Justin L <[email protected]> ---
tdf104394_lostTextbox.docx from ooxmlexport18 is a key document to keep
watching as you attempt to fix this. It will trip you up every time.

For forum-mso-en-11426B.docx, it does not make any difference if we first force
a convertToTextFrame with:
case NS_ooxml::LN_tblStart:
  m_pImpl->CheckUnregisteredFrameConversion();
  m_pImpl->ExecuteFrameConversion();

but it does work if we instead simply
  m_pImpl->AddDummyParaForTableInSection();

It doesn't matter if I delay ExecuteFrameConversion until after the table is
done (by returning early if m_StreamStateStack.top().nTableDepth) - it still
needs that paragraph at the beginning.

So it is all somewhat magical how this is implemented.

A problem is that at the start of the table, we have NO IDEA whether the table
itself will be part of this same frame (like it is in
tdf104394_lostTextbox.docx), or whether the cell paragraphs will detect a
different frame configuration and make a call to
CheckUnregisteredFrameConversion.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to