Add a STYLEREF field to a DOCX and specify its options

Shows how to use the StyleRefFieldOptions class to add a running reference that displays the text of the nearest paragraph formatted with a given style.