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

            Bug ID: 119264
           Summary: import of html table with combined cells
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: kavale...@gmail.com

Description:
LibreOffice Calc does not support combined cells: 
<th colspan="2">xyz</th>

Steps to Reproduce:
1. Open a html documment / webside containing a talbe with combined cells,
typicaly in header of the table - thead or on the first line of the table
2. Select the table with the mouse
3. Paste it to Calk spreadscheet

Actual Results:
Calc ignores combined cells

Expected Results:
The same as in the html


Reproducible: Always


User Profile Reset: No



Additional Info:
I dont know, if it is possible to attach a file, so here is a text-case in
html. Copy, paste and save it as combined-cells.html

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html>
<head>
  <title>tiempos verbales</title>
  <meta http-equiv="Content-Type"
  content="application/xhtml+xml; charset=UTF-8" />
   <style type="text/css">
    body { font-family:"Arial";
     margin-top: 0px;
     }

     table, th, td {
     border-collapse: collapse;
     border-width: 1px;
     border-color: #000000;
     border-style: solid;
     }
     thead {
     background-color: #75AADB;
     }

     th, td {
     padding-left: 5px;
     padding-right: 5px;
     empty-cells: hide;
     white-space: nowrap;
     }

      td[class="irregular"] {
     background-color: #C0C0C0;
     }      
  </style>
</head>
<body>

<table>
  <thead>
    <tr>
      <td></td>
      <th colspan="2">presente </th>
      <th>Imperativo </th>
      <th>Pretérito perfecto simple </th>

      <th colspan="2">Futuro simple </th>
      <th>Condicional simple </th>
    </tr>
    <tr>
      <td></td>
      <td>indicativo </td>
      <td>subjuntivo </td>
      <td></td>
      <td></td>
      <td>indicativo </td>
      <td>subjuntivo </td>
      <td>indicativo </td>
      <td>subjuntivo </td>
      <td></td>
    </tr>
  </thead>
    <tr>
      <td><a
        href="http://buscon.rae.es/draeI/SrvltGUIVerbos?IDVERBO=6903";>haber</a>
      </td>
      <td class="irregular">he </td>
      <td class="irregular">haya </td>
      <td></td>
      <td class="irregular">hube </td>
      <td>había </td>
      <td class="irregular">hubiera </td>
      <td class="irregular">habré </td>
      <td class="irregular">hubiere </td>
      <td class="irregular">habría </td>
    </tr>
    <tr>
      <td>1 </td>
      <td class="irregular">has </td>
      <td class="irregular">hayas </td>
      <td></td>
      <td class="irregular">hubiste </td>
      <td>habías </td>
      <td class="irregular">hubieras </td>
      <td class="irregular">habrás </td>
      <td class="irregular">hubieres </td>
      <td class="irregular">habrías </td>
    </tr>
    <tr>
      <td></td>
      <td class="irregular">ha </td>
      <td class="irregular">haya </td>
      <td></td>
      <td class="irregular">hubo </td>
      <td>había </td>
      <td class="irregular">hubiera </td>
      <td class="irregular">habrá </td>
      <td class="irregular">hubiere </td>
      <td class="irregular">habría </td>
    </tr>
    <tr>
      <td></td>
      <td class="irregular">hemos </td>
      <td class="irregular">hayamos </td>
      <td></td>
      <td class="irregular">hubimos </td>
      <td>habíamos </td>
      <td class="irregular">hubiéramos </td>
      <td class="irregular">habremos </td>
      <td class="irregular">hubiéremos </td>
      <td class="irregular">habríamos </td>
    </tr>
    <tr>
      <td>habido </td>
      <td class="irregular">habéis </td>
      <td class="irregular">hayáis </td>
      <td></td>
      <td class="irregular">hubisteis</td>
      <td>habíais </td>
      <td class="irregular">hubierais </td>
      <td class="irregular">habréis </td>
      <td class="irregular">hubiereis </td>
      <td class="irregular">habríais </td>
    </tr>
    <tr>
      <td>habiendo </td>
      <td class="irregular">han </td>
      <td class="irregular">hayan </td>
      <td></td>
      <td class="irregular">hubieron </td>
      <td>habían </td>
      <td class="irregular">hubieran </td>
      <td class="irregular">habrán </td>
      <td class="irregular">hubieren </td>
      <td class="irregular">habrían </td>
    </tr>
  </table>
</body>
</html>

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to