Hi Eric,
I’m working on a software that processes Word documents and extracts text from them, in order for it to be translated.
Right now I need to extract footnotes and endnotes and I’m having a hard time with the custom mark feature. Using custom mark you can set any text to be the footnote reference and we want that text to be extracted and translatable.
We are guided by the style applied to the run. So in the footnotes.xml file, the runs that contain the custom mark text have the style “Footnote Reference”. The issue is that a user in Word can change the style of those runs or worse, he can add text with the Footnote Reference style.
The question is, in this situation, when the user tempers with the styles, is there a way to delimit the original custom mark text from the one the user changed manually?
Thank you,
Hajni