[Libreoffice-bugs] [Bug 135595] Image behind table on DOCX (and RTF) in footer (header)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 12 12:30:38 UTC 2020


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

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #4 from Justin L <jluth at mail.com> ---
This information is probably very relevant:
> tdf#48658 writerfilter: only set THROUGH wraps as transparent
> 
> commit 15c3a08b8b1e8060f9659c7bc98480a39d1802c5 set transparency
> before the wrap type was known (which is good in case wrap type is
> never defined, and the default wrap type IS through, so that fits)
> but transparency was never re-evaluated once the wrap type was known.
> 
> In MSWord, the header is at a lower zOrder than the body,
> so objects that are OVER the header text are still UNDER
> the body text. Writer emulates this by insisting that ALL
> through-wrapped header objects are UNDER the header text.
> (This ought to only apply to objects that spill into the
> body text area, but that’s pretty hard to calculate, so
> transparency was applied to any object anchored in the header.)

Note that it is harder in 7.1 to create this example from scratch because of:
> tdf#104596 sw COMPAT layout: wrap in header for in-table flies
> 
> You might have noticed that text in header/footers
> will not wrap around fly frames, but just run underneath,
> regardless of the wrap settings. Strange, eh?


So. 
a.) as an older document, wrap is ignored even on table-anchored objects.
b.) and thus the default "through" wrap is forced into the background.
c.) this could presumably be marked as "fixed in 7.1" for newly created docs.

Therefore, I don't think much can or should be done about this bug report.

My concern still is that the wrap status doesn't show "in background" even
though it acts like it. (And I guess that makes sense because this is all
"layout emulation" and so the actual properties are not changed.) But why does
changing from "none" to "in background" actually set to "through"? (Well, it is
probably a combination of wrap+opaque settings, and this just toggles
WrapTextMode_THROUGH between opaque and transparent.
(sw/source/uibase/shells/basesh.cxx)

Since this is unconfirmed so far, and no one else has commented, I'll
immediately mark it as WONTFIX, but feel free to change that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200812/28a53d7e/attachment.htm>


More information about the Libreoffice-bugs mailing list