// JAXBElement<org.docx4j.vml.wordprocessingDrawing.CTWrap> w10Wrap = w10ObjectFactory.createWrap(w10CTWrap);
// shape.getPathOrFormulasOrHandles().add( w10Wrap);
org.docx4j.vml.wordprocessingDrawing.ObjectFactory vmlwordprocessingDrawingObjectFactory = new org.docx4j.vml.wordprocessingDrawing.ObjectFactory();
// Create object for wrap (wrapped in JAXBElement)
CTWrap wrap = vmlwordprocessingDrawingObjectFactory.createCTWrap();
JAXBElement<org.docx4j.vml.wordprocessingDrawing.CTWrap> wrapWrapped = vmlwordprocessingDrawingObjectFactory.createWrap(wrap);
shape.getPathOrFormulasOrHandles().add( wrapWrapped);
wrap.setType(org.docx4j.vml.wordprocessingDrawing.STWrapType.TOP_AND_BOTTOM);
}
shape.setVmlId( "Text Box 2");
shape.setHralign(org.docx4j.vml.officedrawing.STHrAlign.LEFT);