| Summary: | Background colors for table cell are not retained after 24 column in word doc table | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | jvchbabu <jvchbabu> |
| Component: | Writer | Assignee: | Justin L <jluth> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jluth, mentoring, xiscofauli |
| Priority: | medium | ||
| Version: | Inherited From OOo | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:7.1.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 101756 | ||
| Attachments: |
input and output files
max21columns.odt: 30 column table with RES_BACKGROUND cells |
||
|
Description
jvchbabu
2018-04-25 05:32:18 UTC
Created attachment 141616 [details]
input and output files
Thank you for efforts to improve LibreOffice! Unfortunately, your report does not allow to reproduce the problem. What is "Use UNO Java api's XDocumentInsertable.insertDocumentFromURL API to insert text from HTML file in place of bookmark XTextCursor" in the steps? Do you expect others to reinvent some code that you have in mind? Please provide steps that make it possible to reproduce the issue without involved steps like doing programming: either attach all the necessary scripts and detailed steps how to run them, or provide steps how to reproduce this detached from using API. (I must say that simply opening the HTML and saving it as DOC does not reproduce the problem neither with 5.2.3.2, nor with 6.0.4.1). Also, filing bugs against 5.2 is not useful. Before filing a bug, please test with current versions (currently it's 5.4.6 and 6.0.3) to check if the issue is fixed in them. Created attachment 144264 [details]
max21columns.odt: 30 column table with RES_BACKGROUND cells
The maximum # of columns that LO exports to DOC is 21 because of wrtww8.cxx
sal_uInt8 nBoxes0 = rTabBoxes.size();
if (nBoxes0 > 21)
nBoxes0 = 21;
That has been true since the initial import from OOo.
I tried simply increasing the number, but that didn't work, so 21 must not be an arbitrary number. proposed fix at https://gerrit.libreoffice.org/c/core/+/98856 Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/565912fa0334de1c05749768796a33a1a5e6b984 tdf#117217 ww8: export/import all cell backgrounds It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |