I wrote a nested field for Microsoft Word (Windows, Office 2010) Table of Contents which allows me to change the error text when no Figures
entries (Caption style with the word "Figure" in the string) exist.
I don't know how to represent the Field
marks, so I'm using "FS" and "FE" to indicate the field brackets.
FS IF FS TOC \c"Figure" FE = "<carriagereturn>No table of figures entries found." "No figures at this time" FS TOC \c"Figure" FE FE
This works so far as displaying either my error message or the table of figures, but the usual hyperlinking for the page numbers (Control-Click to jump) is not available. I'm guessing it has something to do with the nested fields, but can't figure out if there's a workaround. If there's a better way, using fields, to do this, I"m happy to change over.
EDIT: I don't suppose it's possible to edit the error string itself inside the wordcnvr.dll
file?