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

          Priority: medium
            Bug ID: 64168
          Assignee: [email protected]
           Summary: Odd behavior importing HTML table into CALC
          Severity: major
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.0.3.1 rc
         Component: Libreoffice
           Product: LibreOffice

When I try to import an HTML document into Calc, if the document have the same
row 10 times, everything's ok. When the document have the same row 10 000
times, Calc show just 6750 rows. If the document have the same row 100 000
times, libreoffice crash.

Steps to reproduce:

---------------------TABLE HEADER--------------------
<table border=1>
<caption>INDICADORES</caption>
<tr>
<th>Code</th>
<th>Number</th>
<th>Deno</th>
<th>Level</th>
<th>Nature</th>
<th>Load</th>
<th>MetricUnit</th>
<th>Aprobed</th>
<th>PlanifLevel</th>
<th>Activated</th>
<th>WayAdqui</th>
<th>Parent</th>
<th>Price</th>
</tr>
------------------------END---------------------------

-----------------------TABLE BODY---------------------
<tr>
<td style="mso-number-format:'@';">68160000014</td>
<td></td>
<td>FUSIBLE</td>
<td>Surtido</td>
<td>Equipo</td>
<td>Comunicaciones</td>
<td>Uno</td>
<td>Aprobed</td>
<td>Si</td>
<td>Si</td>
<td></td>
<td></td>
<td>0.000000</td>
</tr>
-----------------------END----------------------------

Step 1: Put the content betwen "--TABLE HEADER--" and "--END--" in to a file
"DocHeader.txt". Put the contet betwen "--TABLE BODY--" and "--END--" in to a
file "DocBody.txt".

Step 2: Create a file with 10 rows "file1.xls".
cat DocHeader.txt > file1.xls
for ((i=0;i<10;i++)); do cat DocBody.txt >> file1.xls; done

Step 3: Open the file "file1.xls" with LibreOffice-Calc. Everything's OK.

Step 4: Create a file with 10 000 rows "file2.xls".
cat DocHeader.txt > file2.xls
for ((i=0;i<10000;i++)); do cat DocBody.txt >> file2.xls; done

Step 5: Open the file "file2.xls" with LibreOffice-Calc. Just 6700 rows are
show.

Step 6: Create a file with 10 000 rows "file3.xls".
cat DocHeader.txt > file3.xls
for ((i=0;i<100000;i++)); do cat DocBody.txt >> file3.xls; done

Step 7: Open the file "file3.xls" with LibreOffice-Calc. LibreOffice crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to