Commit: XHTML tables export almost flawlessly

From: Dom Lachowicz (doml@appligent.com)
Date: Tue Sep 03 2002 - 14:24:41 EDT

  • Next message: Dom Lachowicz: "Forward: Grammar checker info"

    Need to work on some of the more "exotic" table props once they get more
    finalized. Some eye-candy samples are attached.

    Dom




    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!-- ================================================================================ -->
    <!-- This HTML file was created by AbiWord. -->
    <!-- AbiWord is a free, Open Source word processor. -->
    <!-- You may obtain more information about AbiWord at www.abisource.com -->
    <!-- ================================================================================ -->

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>merged_cells.xhtml</title>
    <style type="text/css">
    body
    {
            font-family: "(null)";
            font-variant: normal;
            text-indent: 0in;
            widows: 2;
            font-style: normal;
            font-weight: normal;
            text-decoration: none;
            color: #000000;
            text-align: left;
            font-size: 12pt;
            font-stretch: normal;
            background-color: #ffffff;
    }

    @media print
    {
            body
            {
                    padding-top: 1in; padding-bottom: 1in;
                    padding-left: 1in; padding-right: 1in;
            }
    }

    </style>
    </head>
    <body>
    <div>
    <p><br />
    </p>
    <table width="100%" cellpadding="1" border="1">
    <colgroup width="20.000000%" span="5" />
    <tbody>
    <tr>
    <td rowspan="1" colspan="2">
    <p>merged right</p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="2" colspan="1">
    <p>merged below</p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="2" colspan="1">
    <p>merged above</p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="2">
    <p>merged left</p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    </td>
    </tr>
    </tbody>
    </table>
    <p><br />
    </p>
    </div>
    </body>
    </html>




    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!-- ================================================================================ -->
    <!-- This HTML file was created by AbiWord. -->
    <!-- AbiWord is a free, Open Source word processor. -->
    <!-- You may obtain more information about AbiWord at www.abisource.com -->
    <!-- ================================================================================ -->

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>nested_tables.xhtml</title>
    <style type="text/css">
    body
    {
            font-family: "(null)";
            font-variant: normal;
            text-indent: 0in;
            widows: 2;
            font-style: normal;
            font-weight: normal;
            text-decoration: none;
            color: #000000;
            text-align: left;
            font-size: 12pt;
            font-stretch: normal;
            background-color: #ffffff;
    }

    @media print
    {
            body
            {
                    padding-top: 1in; padding-bottom: 1in;
                    padding-left: 1in; padding-right: 1in;
            }
    }

    </style>
    </head>
    <body>
    <div>
    <p><br />
    </p>
    <table width="100%" cellpadding="1" border="1">
    <colgroup width="50.000000%" span="2" />
    <tbody>
    <tr>
    <td rowspan="1" colspan="1">
    <p><br />
    </p>
    <table width="100%" cellpadding="1" border="1">
    <colgroup width="50.000000%" span="2" />
    <tbody>
    <tr>
    <td rowspan="1" colspan="1">
    <p>nest1</p>
    </td>
    <td rowspan="1" colspan="1">
    <p>nest2</p>
    </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="1">
    <p>nest3</p>
    </td>
    <td rowspan="1" colspan="1">
    <p>nest4</p>
    </td>
    </tr>
    </tbody>
    </table>
    <p><br />
    </p>
    </td>
    <td rowspan="1" colspan="1">
    <p>two</p>
    </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="1">
    <p>three</p>
    </td>
    <td rowspan="1" colspan="1">
    <p>four</p>
    </td>
    </tr>
    </tbody>
    </table>
    <p><br />
    </p>
    </div>
    </body>
    </html>




    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <!-- ================================================================================ -->
    <!-- This HTML file was created by AbiWord. -->
    <!-- AbiWord is a free, Open Source word processor. -->
    <!-- You may obtain more information about AbiWord at www.abisource.com -->
    <!-- ================================================================================ -->

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>simple_table.xhtml</title>
    <style type="text/css">
    body
    {
            font-family: "(null)";
            font-variant: normal;
            text-indent: 0in;
            widows: 2;
            font-style: normal;
            font-weight: normal;
            text-decoration: none;
            color: #000000;
            text-align: left;
            font-size: 12pt;
            font-stretch: normal;
            background-color: #ffffff;
    }

    @media print
    {
            body
            {
                    padding-top: 1in; padding-bottom: 1in;
                    padding-left: 1in; padding-right: 1in;
            }
    }

    </style>
    </head>
    <body>
    <div>
    <p><br />
    </p>
    <table width="100%" cellpadding="1" border="1">
    <colgroup width="20.000000%" span="5" />
    <tbody>
    <tr>
    <td rowspan="1" colspan="1">
    <p>one</p>
    </td>
    <td rowspan="1" colspan="1">
    <p>two</p>
    </td>
    <td rowspan="1" colspan="1">
    <p>three</p>
    </td>
    <td rowspan="1" colspan="1">
    <p>four</p>
    </td>
    <td rowspan="1" colspan="1">
    <p>five</p>
    </td>
    </tr>
    <tr>
    <td rowspan="1" colspan="1">
    <p>six</p>
    </td>
    <td rowspan="1" colspan="1">
    <p>seven</p>
    </td>
    <td rowspan="1" colspan="1">
    <p>eight</p>
    </td>
    <td rowspan="1" colspan="1">
    <p>nine</p>
    </td>
    <td rowspan="1" colspan="1">
    <p>ten</p>
    </td>
    </tr>
    </tbody>
    </table>
    <p><br />
    </p>
    </div>
    </body>
    </html>



    This archive was generated by hypermail 2.1.4 : Tue Sep 03 2002 - 14:26:17 EDT