Set text using a TextItems structure
Hi,
I am getting TextItems out of an element using:
currentElem.GetText(Constants.FTF_ALL);
I am then modifying the sdata for some of the items, and want to write this structure back into the element I got it from.
If I just use doc.Clear then doc.AddText, I have to pass in a string, and thus lose all the markers, anchors etc in the TextItems.
I can't find a documented way to pass in TextItems to a function, anyone got ideas/workarounds to preserve the non-string text items?
Or a way to modify the TextItems on an object directly?
Thanks in advance,
Dan
