This bug report comes from bug 42858. To reproduce open the bugdoc https://bugs.freedesktop.org/attachment.cgi?id=53466 with the master. The table seems correctly rendered but the background colors are missing in most of the cells. To see what we should obtain, open https://bugs.freedesktop.org/attachment.cgi?id=53525 I do not know if it is linked, but cell borders seems not correctly set too. Best regards. JBF
Assigned to Miklos. Please feel free to reassign to default if you can't handle this bug. Thank you.
Thanks, will have a look.
Created attachment 54563 [details] Partial patch. I tried to fix this tonight, so far I only have a partial solution. The attached patch makes the first column (i.e. Jan/May/Sep) be imported propertly, but other months now aren't imported at all: DomainMapperTableHandler::endTable() results in 'Exception during table creation' (without an exception message). To be continued.
Cedric, just in case this exception rings any bell, please let me know. :) Thanks.
(In reply to comment #4) > Cedric, just in case this exception rings any bell, please let me know. :) Well, that can be anything... the only way to know what's happening there is to debug the convertToTable call to see where the exception is thrown. Having interesting messages for UNO exceptions is an easy hack... and that method is full of exceptions like that ;)
Hi Miklos, Cédric, It seems that the color problem is fixed in LO 3.5.1. I do not know which commit changed the behaviour. That said, cell borders are still missing. If I find a bug report for this cell borders problem only, I will close this one as fixed. If you can provide the commit ID which fix the color problem, please do it. Side note: if I save odt file (https://bugs.freedesktop.org/attachment.cgi?id=53525) in RTF format with LO 3.5.1 the table is not rendered correctly. It seems that RTF exporter does not know how to manage tables inside a table. Surely not linked bug. Best regards. JBF
For the cell borders problem, please follows it in the dedicated bug 44715. So closing this bug as initial problem (background cell color) is fixed. Will file a new bug report for table inside a table export problem if not already filed. Best regards. JBF
closing.