Is it possible to use DocumentApp to find the location of footnote references in the body?
Searching the body or an element using editAsText()
or findText()
does not show the superscript footnote markers.
For example, in the following document:
This is a riveting story with statistics!1 You can see other stuff here too.
body.getText()
returns 'This is a riveting story with statistics! You can see other stuff here too.' No reference, no 1
If I want to replace, edit, or manipulate text around the footnote reference (e.g. 1 ), how can I find its location?