Changeset 1091


Ignore:
Timestamp:
02/27/10 17:43:04 (2 years ago)
Author:
jharrop
Message:

remove <tgroup>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docx4j/src/main/java/org/docx4j/convert/out/html/TableWriter.java

    r960 r1091  
    172172    // Could do something like tbl.setAttribute("rules", "all" ); 
    173173        // but instead, these are handled by CSS for td in the stylesheet. 
    174          
    175174     
    176175    tbl.setAttribute("style", styleVal.toString() ); 
     
    191190        colgroup.setAttribute("span",  String.valueOf(cols)); 
    192191    } 
    193      
    194     Element tgroup = doc.createElement("tgroup"); 
    195     tbl.appendChild(tgroup); 
     192 
     193//    Element tgroup = doc.createElement("tgroup"); 
     194//    tbl.appendChild(tgroup); 
     195     
     196    Element tbody = doc.createElement("tbody"); 
     197    tbl.appendChild(tbody); 
    196198     
    197199    for (List<Cell> rows : table.getCells()) { 
    198200                        Element row = doc.createElement("tr"); 
    199                         tgroup.appendChild(row); 
     201                        tbody.appendChild(row); 
    200202                         
    201203                        // vAlign fix: match Word's default of top 
Note: See TracChangeset for help on using the changeset viewer.