Discover the DocumentVisitor VisitGroupShapeEnd method, which efficiently signals the end of group shape enumeration for seamless Document processing.... Document doc = new Document (); DocumentBuilder...builder = new DocumentBuilder ( doc ); // If you need to create "NonPrimitive"...