Hello. The way i buy phpdocx is I think that template variable searching goes on Front side of document.
For example in MS Word I see: $SIDE2_CORPDOLGNOSTR$
But inside document.xml we see: "<w:t>$</w:t>{bla bla bla}SIDE2_CORPDOLGNOSTR{bla bla bla}<w:t>$</w:t>". That's way phpdocx do not set template variable. Sometimes MS Word set such artifacts in random places.
But, Search in MS Word works fine and find all variables by text.
How to fix it???