[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
Sat Jul 21 09:22:06 UTC 2018


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

--- Comment #2 from Justin L <jluth at mail.com> ---
Created attachment 143668
  --> https://bugs.documentfoundation.org/attachment.cgi?id=143668&action=edit
tdf118812_tableStyle.docx: hand-crafted example with inherited styles, normal,
default styles

This example file frustrated my efforts to come up with a working fix - i.e. a
good test example.

1.) table styles seem to only overwrite document defaults. If the paragraph
style (including the default style) defines w:spacing, that wins out over table
style.
2.) direct paragraph formatting of course wins out over everything.

So, one key here I think is to devise a way for writerfilter to distinguish
between "assigned to the style somewhere" and "document default" values.

And likely bug 117297 has made things worse, because almost every paragraph
seemed to have the property as DIRECT_VALUE which prevents any check against
the style.

-- 
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/20180721/6c1d10fb/attachment.html>


More information about the Libreoffice-bugs mailing list