x = 0; for (int j = 0; j < cells[i].length; j++) { cells[i][j] = new HSLFTableCell(this); Rectangle2D anchor = new Rectangle2D.Double(x, y, HSLFTableCell.DEFAULT_WIDTH, HSLFTableCell.DEFAULT_HEIGHT); cells[i][j].setAnchor(anchor);
spContainer.addChildRecord(etr); shape = new HSLFTableCell(spContainer, (HSLFTable)parent); } else { shape = new HSLFAutoShape(spContainer, parent);