Represents a glossary document entry such as a Building Block AutoText or an AutoCorrect entry in Java....Document(); // Add two runs and one shape as child nodes to the first..."Hello world! ")); Shape shape = new Shape(doc, ShapeType.RECTANGLE);...