Subversion Repositories wimsdev

Compare Revisions

Ignore whitespace Rev 5889 → Rev 5890

/trunk/wims/src/Misc/authors/jm.evers/applets/InvulGrid/src/InvulGrid.java
6,6 → 6,11
* can be used and distributed without restriction, including for commercial use *
* No warrenty. *
*********************************************************************************
version 0.41
11/2012
Corrected html-table output
 
 
version 0.4
10/12/2010
Added param pointsize to differ size of points from linewidth
380,7 → 385,7
}
 
public String makeHtml(String[] reply , String[] horline){
String table = "<table style=\"margin-bottom:1px;margin-top:1px;\"><tr><td align=\"right\"><table style=\"margin-bottom:1px;margin-top:1px;\" summary=\"\" width=\"100%\">";
String table = "<table class=\"schaersvoorde_form\"><tr><td style=\"text-align:right\"><table class=\"schaersvoorde_form\">";
String tmp="";
for( int y = 0 ; y < reply.length ; y++ ){
if(reply[y] != null){
389,7 → 394,7
}
else // french
{
table=table+"<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td style=\"text-align:right\">"+reply[y]+"</td></tr>";
table=table+"<tr><td style=\"text-align:center;\">&nbsp;&nbsp;&nbsp;&nbsp;</td><td style=\"text-align:right\">"+reply[y]+"</td></tr>";
}
if(horline[y] != null){
if(horline[y].equals("\u00D7")) tmp = "x";
398,11 → 403,11
else tmp = horline[y];
if(right){
table=table+"</table></td><tr><td><table style=\"margin-bottom:1px;margin-top:1px;\" summary=\"\" width=\"100%\"><tr><th width=\"90%\"><hr></th><th>"+tmp+"</th></tr></table></td></tr><td><table style=\"margin-bottom:1px;margin-top:1px;\" summary=\"\" width=\"100%\">";
table=table+"</table></td></tr><tr><td><table class=\"schaersvoorde_form\"><tr><th style=\"width:100%\"><hr style=\"height:2px;color:black;width:100%\"/></th><th>"+tmp+"</th></tr></table></td></tr><td><table class=\"schaersvoorde_form\">";
}
else // french
{
table=table+"</table></td><tr><td><table style=\"margin-bottom:1px;margin-top:1px;\" summary=\"\" width=\"100%\"><tr><th>"+tmp+"</th><th width=\"90%\"><hr></th></tr></table></td></tr><td><table style=\"margin-bottom:1px;margin-top:1px;\" summary=\"\" width=\"100%\">";
table=table+"</table></td><tr><td><table class=\"schaersvoorde_form\"><tr><th>"+tmp+"</th><th style=\"width:100%\"><hr style=\"height:2px;color:black;width:100%\"/></th></tr></table></td></tr><td><table class=\"schaersvoorde_form\">";
}
}
}
599,7 → 604,7
else
{
if( s.equalsIgnoreCase("fr")){
line_plus="+ à droite ";
line_plus="droite + ";
line_times="droite x";
delete_line="effacer droite";
clear_all="effacer";