Hello,
How can we remove specific properties on a Run. For example we have a run as:
<w:r>
<w:rPr>
<w:rStyle w:val="DefaultParagraphFont"/>
</w:rPr>
<w:t>Yonex</w:t>
</w:r>
I would like to remove the Style property completely. So the run is like:
<w:r>
<w:t>Yonex</w:t>
</w:r>
One approach is to clone the run and set value using run.text = "Some value"
. But this may not work always, because in case if the the document has track changes enabled, this change will be treated as a redline. Is there a cleaner way ?
Thanks !