On Thursday 29 June 2006 10:22, 毕大龙 wrote:
> com.lowagie.text.rtf.table.RtfRow (line:243)
> if(rtfCell.getRowspan() > 1) {
> ArrayList rows = this.parentTable.getRows();
> for(int j = 1; j < rtfCell.getRowspan(); j++) {
> RtfRow mergeRow = (RtfRow) rows.get(this.rowNumber +
> j); if(this.rowNumber + j < rows.size()) {
> RtfCell rtfCellMerge = (RtfCell)
> mergeRow.getCells().get(realCellIndex);
> rtfCellMerge.setCellMergeChild(rtfCell);
> }
> if(rtfCell.getColspan() > 1) {
> int k = rtfCell.getColspan();
> while(k > 1 && (realCellIndex + 1 <
> mergeRow.getCells().size())) {
> mergeRow.getCells().remove(realCellIndex + 1);
> k--;
> realCellIndex--;
> /* after remove the merge cell, realCellIndex must change */
> }
> }
> }
> }
> realCellIndex = realCellIndex + rtfCell.getColspan();
Thank you for the bug report. I am aware of this bug, I just haven't had time
to commit the bugfix.
Greetings,
Mark
--
There is always one thing to remember: writers are always selling somebody
out.
-- Joan Didion, "Slouching Towards Bethlehem"
My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
pgpiB74RRICzD.pgp
Description: PGP signature
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
