[Libreoffice-bugs] [Bug 118812] FILEOPEN: Direct formatting overwriting style in DOCX tables, wrong spacing

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Oct 7 17:22:25 UTC 2019


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

--- Comment #10 from Justin L <jluth at mail.com> ---
(In reply to Luke from comment #8)
> Miklos has made some improvements in this area:
It almost worked. It needed improvements in two areas.
1.) if the node has no attributes, then don't apply the setting IF you are
searching the parents - (!bHasAttrSet && !bSearchInParent).
2.) bottom_margin was handled separately as a hack, so
DomainMapperTableHandler's lcl_ApplyCellParaProps should be removed.

There are still at least two cases which I have no idea how to fix. One is in
duplicate bug 127615 - where only the top_margin is set.  The settings of
top_margin, bottom_margin, and context and bundled together into a single
setting inside of LO. If ANY one of those three are set, the item is created
and therefore the other two items are considered to be SET (even without
finishParagraph explicitly resetting them).

The other case is where a style is applied, but the setting itself comes from
the defaults. That is seen in ooxmlexport11's tdf64264.docx.

-- 
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/20191007/05f8de1a/attachment.html>


More information about the Libreoffice-bugs mailing list