[Libreoffice-bugs] [Bug 41796] HTML: exported table borders cannot be imported again

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 30 15:03:07 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=41796

Michael Stahl <mstahl at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Michael Stahl <mstahl at redhat.com> 2012-04-30 06:03:07 PDT ---
i take part of comment 7 back:

 STYLE="border: none; padding: 0cm"

is only on paragraphs and didn't change at all.

there are several problems:

1. the importer does not apply the "border" stuff in STYLE on
   TD elements to the table cell, but to something in the table cell
2. the exporter writes all but the first STYLE on TD elements
   with a spurious semicolon at the start that is likely invalid:

 STYLE="; border-top: none; border-bottom: 1px solid #000000; border-left: 1px
solid #000000; border-right: 1px solid #000000; padding-top: 0in;
padding-bottom: 0.05in; padding-left: 0.05in; padding-right: 0.05in"

3. the importer cannot read STYLE with spurious semicolon at all

fixed on master now.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list