Hello I'm generating the following .xlsx from the following java code


XSSFDrawing patri = sheet.createDrawingPatriarch();
                XSSFClientAnchor anch1 = new XSSFClientAnchor(0, 0, 1023, 255, 
startCol,
rowCt, startCol + 1, rowCt + 2);
                XSSFSimpleShape shape1 = patri.createSimpleShape(anch1);
                shape1.getCTShape().getNvSpPr().getCNvPr().setId(666);
                shape1.setShapeType(ShapeTypes.RECT);
                VWShapeUtils.setFillRGBColor(shape1, VWColors.lightYellow);

                XSSFClientAnchor anch2 = new XSSFClientAnchor(0, 0, 0, 0, 
righttCol,
rowCt+3, righttCol + 1, rowCt+5);
                XSSFSimpleShape shape2 = patri.createSimpleShape(anch2);
                shape2.getCTShape().getNvSpPr().getCNvPr().setId(777);
                shape2.setShapeType(ShapeTypes.RECT);
                VWShapeUtils.setFillRGBColor(shape2, VWColors.pink);

                XSSFConnector connector = patri.createConnector(new 
XSSFClientAnchor(0,
1023, 0, 1023, startCol, rowCt+1, righttCol, rowCt + 4));
                CTConnector ctConnector = connector.getCTConnector();
                
ctConnector.getSpPr().getPrstGeom().setPrst(STShapeType.BENT_CONNECTOR_5);


and the following  .xml comparasion pops some differences regarding some
basic elemnts:
https://www.diffchecker.com/84skojut

Does anyone have an idea why or how can i fix this?
 Thanks a lot




--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Excel-validation-problem-of-poi-generated-document-simple-tp5718405.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to