Represents a glossary document entry such as a Building Block AutoText or an AutoCorrect entry in Java....replace all textbox shapes with image shapes. Document doc = new Document(getMyDir()...getShapeType() == ShapeType.IMAGE)); for (Shape shape : shapeList)...