summaryrefslogtreecommitdiff
path: root/sw/source/core/layout
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2018-09-18 14:43:31 +0200
committerLászló Németh <nemeth@numbertext.org>2018-10-08 19:04:43 +0200
commit110781a3a27dffe9e6690839bdce993796a08331 (patch)
treee6a84fee517e0ac74fe544956edcc0dd45d48263 /sw/source/core/layout
parent260701270abc7997996625449cd3d40f8b4f7f49 (diff)
tdf#58944 DOCX import: workaround for hidden table headers
Repeating table headers consisted of more than 10 table rows switch off table header repetition during DOCX table import to fix non-visible table content and broken tables. Repeating header lines are not visible in MSO, if there is no space for them. OOXML (and ODF) standards don't specify this exception, and unfortunately, it's easy to create tables with invisible repeating headers in MSO, resulting OOXML files with non-standardized layout. To show the same or a similar layout in LibreOffice (instead of a broken table with invisible content), we use a reasonable 10-row limit to apply header repetition, as a workaround. Later it's still possible to switch on header repetition or create a better compatible repeating table header in Writer for (pretty unlikely) tables with really repeating headers consisted of more than 10 table rows. Note: This workaround could help to create standard and more portable OOXML files in a mixed environment. Change-Id: I17fbc0173ec1c4f188a46227b99dde5726530da3 Reviewed-on: https://gerrit.libreoffice.org/60689 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/source/core/layout')
0 files changed, 0 insertions, 0 deletions