private static JAXBElement createPict(boolean w10WrapEl, String style, P textboxContent) {
org.docx4j.wml.ObjectFactory wmlObjectFactory = new org.docx4j.wml.ObjectFactory();
Pict pict = wmlObjectFactory.createPict();
JAXBElement<org.docx4j.wml.Pict> pictWrapped = wmlObjectFactory.createRPict(pict);
org.docx4j.vml.ObjectFactory vmlObjectFactory = new org.docx4j.vml.ObjectFactory();
// Create object for shapetype (wrapped in JAXBElement)
CTShapetype shapetype = vmlObjectFactory.createCTShapetype();
JAXBElement<org.docx4j.vml.CTShapetype> shapetypeWrapped = vmlObjectFactory.createShapetype(shapetype);
pict.getAnyAndAny().add( shapetypeWrapped);
shapetype.setInsetmode(org.docx4j.vml.officedrawing.STInsetMode.CUSTOM);
shapetype.setSpt( new Float(202.0) );
shapetype.setConnectortype(org.docx4j.vml.officedrawing.STConnectorType.STRAIGHT);
// Create object for stroke (wrapped in JAXBElement)
CTStroke stroke = vmlObjectFactory.createCTStroke();
JAXBElement<org.docx4j.vml.CTStroke> strokeWrapped = vmlObjectFactory.createStroke(stroke);
shapetype.getEGShapeElements().add( strokeWrapped);
stroke.setJoinstyle(org.docx4j.vml.STStrokeJoinStyle.MITER);
// Create object for path (wrapped in JAXBElement)
CTPath path = vmlObjectFactory.createCTPath();
JAXBElement<org.docx4j.vml.CTPath> pathWrapped = vmlObjectFactory.createPath(path);
shapetype.getEGShapeElements().add( pathWrapped);
path.setGradientshapeok(org.docx4j.vml.STTrueFalse.T);
path.setConnecttype(org.docx4j.vml.officedrawing.STConnectType.RECT);
shapetype.setCoordsize( "21600,21600");
shapetype.setVmlId( "_x0000_t202");
shapetype.setHralign(org.docx4j.vml.officedrawing.STHrAlign.LEFT);
shapetype.setPath( "m,l,21600r21600,l21600,xe");
// Create object for shape (wrapped in JAXBElement)
CTShape shape = vmlObjectFactory.createCTShape();
JAXBElement<org.docx4j.vml.CTShape> shapeWrapped = vmlObjectFactory.createShape(shape);
pict.getAnyAndAny().add( shapeWrapped);
shape.setStyle( style);
shape.setSpid( "_x0000_s1026");
shape.setInsetmode(org.docx4j.vml.officedrawing.STInsetMode.CUSTOM);
shape.setConnectortype(org.docx4j.vml.officedrawing.STConnectorType.STRAIGHT);