docx4j could do with m:oMath and it is very good. But I want to know if
docx4j could get the math expressions created by MathType ?
In doc, it looks like: .
and here is xml content:
- Code: Select all
<w:p w:rsidR="00AE3E38" w:rsidRDefault="00AE3E38">
<w:r w:rsidRPr="00AE3E38">
<w:rPr>
<w:position w:val="-32"/>
</w:rPr>
<w:object w:dxaOrig="2480" w:dyaOrig="639">
<v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype>
<v:shape id="_x0000_i1025" type="#_x0000_t75" style="width:123.75pt;height:32.25pt" o:ole="">
<v:imagedata r:id="rId6" o:title=""/>
</v:shape>
<o:OLEObject Type="Embed" ProgID="Equation.DSMT4" ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1318580336" r:id="rId7"/>
</w:object>
</w:r>
</w:p>
---Kit.Liao