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

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard|                            |compatibilityMode12

--- Comment #6 from Justin L <[email protected]> ---
The original is compat12 (DOC-level). The problem is also "fixed" if Word 2010
round-trips it without compatibility mode (into compat14).

I'm guessing the problem is related to the old style of creating a rectangle

<v:rect id="_x0000_s2050"
style="position:absolute;margin-left:-36.9pt;margin-top:-25.2pt;width:612pt;height:21.6pt;z-index:251664384"
fillcolor="#002060" stroked="f"/>

This doesn't say anything about layoutInCell status - which defaults to true
(and is generally always forced to true for compat15), but is NOT true in LO
for the round-tripped files, probably because of
    if (m_pImpl->m_nWrap == text::WrapTextMode_THROUGH
        && m_pImpl->m_nHoriRelation == text::RelOrientation::FRAME)
            // text::RelOrientation::FRAME is OOXML's "column", which behaves
            // as if layout-in-cell would be always off.
            m_pImpl->m_bLayoutInCell = false;

So I expect the trick is to add the same thing to the code path that creates
these old-style rectangles.

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

Reply via email to