[Libreoffice-bugs] [Bug 116472] IMPORT: Page border is invisible in specific DOCX ( border color=auto)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 19 10:56:54 UTC 2018


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

--- Comment #6 from Luke Deller <luke at deller.id.au> ---
Thanks for looking at this Mike.  I like that your second patch preserves the
behaviour before commit fe6da2feb57c3d5e355a36f6b8ac09b48412ff39 (except with
proper black rather than #00000A).  Also there is some precedent for this:

1. The example you found already in the doc (ww8) import filter:
https://gerrit.libreoffice.org/#/c/51518/1/sw/source/filter/ww8/ww8par6.cxx

2. A similar example I came across is for table cell background colour and fill
pattern colour, for which docx "auto" colour is imported as white and black
respectively.  See I preserved this behaviour in my change:
https://gerrit.libreoffice.org/#/c/50995/3/writerfilter/source/dmapper/CellColorHandler.cxx

Do you think we might consider backporting these two changes to 6.0 to fix
tdf#116179?  The alternative of adding proper COL_AUTO support for borders
sounds a bit scarier to backport.

After this though it would be a nice feature to support COL_AUTO for borders
properly, at least for better compatibility with Word documents.  Regarding the
ability to represent this in ODF, let's CC Regina - perhaps we might ask for an
enhancement in the ODF standard, and use an extension in the meantime?

-- 
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/20180319/d385bb91/attachment.html>


More information about the Libreoffice-bugs mailing list