aExporter.addCssStyle( ".w30 { width: 30%; } " );
aExporter.addCssStyle( ".w20 { width: 20%; } " );
aExporter.addCssStyle( ".w15 { width: 15%; } " );
aExporter.addCssStyle( ".w10 { width: 10%; } " );
final Element body = aExporter.getBody();
body.addChild( H1 ).addContent( "Asm45 Analysis results" );
body.addChild( HR );
body.addChild( DIV ).addAttribute( "class", "date" ).addContent( "{date-now}" );
Element table, tr, thead, tbody;
table = body.addChild( TABLE ).addAttribute( "class", "w100" );
tbody = table.addChild( TBODY );
tr = tbody.addChild( TR );
tr.addChild( TH ).addAttribute( "colspan", "2" ).addContent( "Bus configuration" );
tr = tbody.addChild( TR );
tr.addChild( TD ).addAttribute( "class", "w30" ).addContent( "IDA0/..IDA15/" );
tr.addChild( TD ).addContent( "0..15" );
tr = tbody.addChild( TR );
tr.addChild( TD ).addAttribute( "class", "w30" ).addContent( "BSC0/..BSC5/" );
tr.addChild( TD ).addContent( "16..21" );
tr = tbody.addChild( TR );
tr.addChild( TD ).addAttribute( "class", "w30" ).addContent( "SMC/" );
tr.addChild( TD ).addContent( "{smc-bus-config}" );
tr = tbody.addChild( TR );
tr.addChild( TD ).addAttribute( "class", "w30" ).addContent( "STM/" );
tr.addChild( TD ).addContent( "{stm-bus-config}" );
tr = tbody.addChild( TR );
tr.addChild( TD ).addAttribute( "class", "w30" ).addContent( "EBG" );
tr.addChild( TD ).addContent( "{ebg-bus-config}" );
tr = tbody.addChild( TR );
tr.addChild( TD ).addAttribute( "class", "w30" ).addContent( "BYTE" );
tr.addChild( TD ).addContent( "{byte-bus-config}" );
tr = tbody.addChild( TR );
tr.addChild( TD ).addAttribute( "class", "w30" ).addContent( "BL" );
tr.addChild( TD ).addContent( "{bl-bus-config}" );
tr = tbody.addChild( TR );
tr.addChild( TD ).addAttribute( "class", "w30" ).addContent( "WRT/" );
tr.addChild( TD ).addContent( "{wrt-bus-config}" );
tr = tbody.addChild( TR );
tr.addChild( TD ).addAttribute( "class", "w30" ).addContent( "SYNC" );
tr.addChild( TD ).addContent( "{sync-bus-config}" );
tbody = table.addChild( TBODY );
tr = tbody.addChild( TR );
tr.addChild( TH ).addAttribute( "colspan", "2" ).addContent( "Statistics" );
tr = tbody.addChild( TR );
tr.addChild( TD ).addAttribute( "class", "w30" ).addContent( "Decoded words" );
tr.addChild( TD ).addContent( "{decoded-words}" );
table = body.addChild( TABLE ).addAttribute( "class", "w100" );
thead = table.addChild( THEAD );
tr = thead.addChild( TR );
tr.addChild( TH ).addAttribute( "class", "w10" ).addContent( "Index" );
tr.addChild( TH ).addAttribute( "class", "w10" ).addContent( "Clocks" );
tr.addChild( TH ).addAttribute( "class", "w10" ).addContent( "Block" );
tr.addChild( TH ).addAttribute( "class", "w10" ).addContent( "Address" );
tr.addChild( TH ).addAttribute( "class", "w10" ).addContent( "Value" );
tr.addChild( TH ).addAttribute( "class", "w10" ).addContent( "Bus Grant" );
tr.addChild( TH ).addAttribute( "class", "w10" ).addContent( "Type" );
tr.addChild( TH ).addAttribute( "class", "w30" ).addContent( "Event" );
tbody = table.addChild( TBODY );
tbody.addContent( "{decoded-data}" );
return aExporter;
}