JWord > Tutorial > Get merge fields

The example shows you how to retrieve all merge fields from a document and display their names and values.