How does poi replace variables in word?

I have a paragraph in word
Xxxxxxxxxxxxxxxxxxxxxxxx$ {name of tendering agency}, dididdxxxxxxxxxxxx test ${name of tendering agency}.
I want to replace the ${} package variable with the actual value
when reading the paragraph using poi, I cannot read the complete variable information of ${tendering agency name}. The debugging information is as follows:

clipboard.png

The

variable is fragmented. How does poi replace the complete variable?

Poi
Mar.04,2021
Menu