I'm curious about the backend for WYSIWYG editors (specifically librewriter and MS Word).
I know that you can produce fancy and nicely typeset documents using LaTeX, TeX and HTML+CSS. I was wondering if any of these markup languages (or something similar) underlies popular word processing software packages?