[Libreoffice-bugs] [Bug 103956] RTF table import wrong: cellx issue (minimal testcases)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 5 09:03:21 UTC 2021


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

--- Comment #11 from rupert.levene at gmail.com ---
Still reproducible in 7.0.6.2, with slightly altered behaviour: both case1.rtf
and case2.rtf appear as in the middle window in the "Actual behaviour"
screenshot of the original bug report. 

That is, case1.rtf does now correctly import with a table, but as in case2.rtf,
the cell widths are chosen absurdly small and their content cannot be seen.

I exported the files from Writer as odt files and unzipped them. 

content.xml is identical for case1 and case2

content.xml is different for case2 and case3. After pretty-printing and
diffing, I get this:

====

$ diff -uw case{2,3}.xml
--- case2.xml   2021-07-05 09:57:31.000000000 +0100
+++ case3.xml   2021-07-05 09:57:43.000000000 +0100
@@ -11,13 +11,13 @@
   </office:font-face-decls>
   <office:automatic-styles>
     <style:style style:name="Table1" style:family="table">
-      <style:table-properties style:width="0.145cm" fo:margin-left="-0.191cm"
fo:margin-top="0cm" fo:margin-bottom="0cm" table:align="left"/>
+      <style:table-properties style:width="3.528cm" fo:margin-left="-0.191cm"
fo:margin-top="0cm" fo:margin-bottom="0cm" table:align="left"/>
     </style:style>
     <style:style style:name="Table1.A" style:family="table-column">
-      <style:table-column-properties style:column-width="0.072cm"/>
+      <style:table-column-properties style:column-width="1.764cm"/>
     </style:style>
     <style:style style:name="Table1.B" style:family="table-column">
-      <style:table-column-properties style:column-width="0.071cm"/>
+      <style:table-column-properties style:column-width="1.762cm"/>
     </style:style>
     <style:style style:name="Table1.1" style:family="table-row">
       <style:table-row-properties fo:keep-together="auto"/>

====

Version: 7.0.6.2
Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
CPU threads: 4; OS: Mac OS X 10.13.6; UI render: default; VCL: osx
Locale: en-IE (en_IE.UTF-8); UI: en-US
Calc: threaded

-- 
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/20210705/4b441c0e/attachment.htm>


More information about the Libreoffice-bugs mailing list