What AI tools really need is reliable power-user levels of awareness about Word features, and corresponding structured access.
Word has a feature literally called "hidden text". Select some text, go to the font properties dialog, click "hidden" and OK, and watch the text disappear.
Edit: actually, this is white text on a white background as others have said, not true hidden text.
I believe you would see hidden text by default (but this was a long time ago and I may have misremembered) when in "normal mode" (later "draft mode" and now removed entirely), which was the default view and showed a long continuous stream of text without the computation expense of calculating page break locations. But when you switch to "print layout mode" (now the usual view unless you're in reading mode) it would be hidden, so you could see what the document would be like printed, unless you explicitly turned on the display of hidden text in that mode.
Even if you processed it via a screenshot, image files are processed byte by byte as well and can contain textual metadata.
You train a monkey to learn from a bunch of lower level intelligence monkeys. The same applies for AI. Just this time we are the monkeys.