Unplanned
Last Updated: 11 Aug 2026 07:45 by Jose
Jose
Created on: 11 Aug 2026 07:45
Category: WordsProcessing
Type: Bug Report
0
WordsProcessing: PdfFormatProvider: Table cell widths break PDF table layout

Importing HTML tables with mixed inline width styles and auto-width cells, then exporting to PDF, can produce missing/narrow columns or wrapped labels.

For example, a 4-cell row with td style="width: 60%" and td style="width: 40%" causes the unlabeled cells to collapse in PDF output, even though the HTML renders correctly in browser.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<body>
    <table>
            <tr>
                <td align="right">Customer:</td>
                <td style="width: 60%;">Angel Popov</td>
                <td align="right">Date:</td>
                <td style="width: 40%;">4/4/2004</td>
            </tr>
     </table>
</body>
</html>

Expected: all cells keep visible widths and text stays on one line.
Actual: auto columns shrink too much or disappear during PDF export after HTML import.

0 comments