How to convert Writer formulae to plain text?

Is there a way to automatically “flatten” all formula objects in a LibreOffice Writer document into plain text, e.g. to the plain-text representation one uses to type the formulae in the formula editor?

(Rationale: I recently auto-converted a long LaTeX document into LibreOffice. Anything enclosed within $'s (LaTeX’s math mode) got converted into formulae, including single variables and numbers. Now I need some control over the font used with these “formulae”. I’d like to avoid having to manually modify/replace each formula object. Easiest would be just to turn all these formulae into plain text.)

I suppose that you just need to fix your “auto-conversion” process to not create formula objects for math in LaTeX.

To get the formula strings with the help of a few lines of user code is easy. The formula object, however, has a lot of attributes (fonts, sizes …). Trying to turn all their values into “plain text” isn’t recommendable.
In addition you would need a “WriteBack” routine for use after editing the formulas and their attributes…

you can try to use extension for formatting of all Math formulas in your document https://extensions.libreoffice.org/extensions/formatting-of-all-math-formulas

The explanation “Rationale: …Now I need some control over the font …” contained in the answer is not well subsumed into the topic given by the heading. My original answer only addresses the explicit subject.

I just want to explain my comment with the help of an attached example document. It contains user code for additionally representing the formulas by their formula strings. In the Basic IDE it can also be used to inspect the OLE objects.

===Edit1;2 2019-12-19 15:00 UTC and 17:15 UTC===
This is a kind of an answer to the above mentikoned explanation (“Rationale”):

I got some fun and learned a few things considering this question.
You may want to try this demo (Was: harmonizeFormulasUsingOneOfThemAsTemplate_0.odt).
It’s in an experimental state, however.