https://bz.apache.org/bugzilla/show_bug.cgi?id=62431
Thomas Dubuis <thomasdubui...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW --- Comment #7 from Thomas Dubuis <thomasdubui...@gmail.com> --- Not working for me I have this Code : public static void main(String[] args) throws IOException { try (XMLSlideShow ppt = new XMLSlideShow()) { // XSLFSlide#createSlide() with no arguments creates a blank slide XSLFSlide slide = ppt.createSlide(); XSLFTable tbl = slide.createTable(); tbl.setAnchor(new Rectangle(50, 50, 450, 300)); XSLFTableRow tr1 = tbl.addRow(); XSLFTableCell cell11 = tr1.addCell(); cell11.setFillColor(new Color(208, 216, 232)); cell11.setText("Test"); cell11.setBorderColor(TableCell.BorderEdge.bottom, Color.CYAN); cell11.setBorderWidth(TableCell.BorderEdge.bottom, 1); XSLFTableCell cell12 = tr1.addCell(); cell12.setFillColor(new Color(208, 216, 232)); cell12.setText(""); cell12.setBorderColor(TableCell.BorderEdge.bottom, Color.CYAN); cell12.setBorderWidth(TableCell.BorderEdge.bottom, 1); XSLFTableRow tr2 = tbl.addRow(); XSLFTableCell cell21 = tr2.addCell(); cell21.setFillColor(new Color(208, 216, 232)); cell21.setText(""); cell21.setBorderColor(TableCell.BorderEdge.bottom, Color.CYAN); cell21.setBorderWidth(TableCell.BorderEdge.bottom, 1); XSLFTableCell cell22 = tr2.addCell(); cell22.setFillColor(new Color(208, 216, 232)); cell22.setText(""); cell22.setBorderColor(TableCell.BorderEdge.bottom, Color.CYAN); cell22.setBorderWidth(TableCell.BorderEdge.bottom, 1); XSLFTableRow tr3 = tbl.addRow(); XSLFTableCell cell31 = tr3.addCell(); cell31.setFillColor(new Color(208, 216, 232)); cell31.setText("Test"); cell31.setBorderColor(TableCell.BorderEdge.bottom, Color.CYAN); cell31.setBorderWidth(TableCell.BorderEdge.bottom, 1); XSLFTableCell cell32 = tr3.addCell(); cell32.setFillColor(new Color(208, 216, 232)); cell32.setText("Test"); cell32.setBorderColor(TableCell.BorderEdge.bottom, Color.CYAN); cell32.setBorderWidth(TableCell.BorderEdge.bottom, 1); tbl.mergeCells(0,1, 0, 1); XmlObject xml = tbl.getXmlObject(); System.out.println(xml); try (FileOutputStream out = new FileOutputStream("../Output/table.pptx")) { ppt.write(out); } } } Note the bottom border should be in the all line -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org