npoi-examples
npoi-examples copied to clipboard
XWPF SetText() examples misleading
Many of the XWPF examples show calling run.SetText() multiple times on the same run. From these examples, I would expect this usage to append text to the run. But, calling SetText() actually replaces the text in the run. I believe the examples should use run.AppendText() on the second and successive calls.