读取 MathType 对象,将 MathType 对象转换为图像

Read MathType object, convert MathType object to image

我有一个 docx 文件,其中包含由 mattype 创建的数学公式。 有没有办法使用 java, poi 来读取它的内容? 或者将所有由 mathtype 创建的公式转换为图像?

示例文档如下:

我参与了这个项目(基于XProc/XSLT/XML): http://transpect.github.io/modules-docx2tex.html

我不确定单次转换的设置时间是否值得。
如果你想经常做,那绝对是。

获得 tex 后,您可以从这些来源生成图像。

如果你真的只想要方程式,那么看看这些单一的透视模块:
mathtype2mml: https://github.com/transpect/mathtype-extension/
mml2tex: https://github.com/transpect/mml2tex

word中的MathType方程由wmf和ole bin组成。您可以获得 wmf 并将其转换为光栅格式, png\jpg 等