List bgnr=new ArrayList(); for(int ii=0;ii "+ nr.get(ii)+" "); } int bgnr_ln=bgnr.size(); float trHeight=9.0f; float trHeight1=9.0f; //第二页行高 float trHeight2=9.0f; //最后一页行高 int pcount=2;//总页数 int wpcount=0;// int flnum=0;//第二页行数 int lnum=25;//中间也行数 固定 int elnum=0;//最后一页行数 int nullLn=0;//最后一页空行数 int Cll=0; int Lln=0; if(bgnr_ln7.6f) trHeight1=7.6f; trHeight2=trHeight1; } }else{ wpcount=(bgnr_ln-23)/lnum; pcount=pcount+wpcount+1; Lln=(bgnr_ln-23)%lnum; if(Lln==0){ flnum=23; elnum=25; pcount--; wpcount--; trHeight2=7.4f; // trHeight2=trHeight1; }else{ flnum=23; elnum=Lln; nullLn=27-Lln-8; trHeight2=244.0f/(Lln+8); if(trHeight2>9.0f) trHeight2=9.0f; } } %>