Comment 39 for bug 424044

Revision history for this message
In , Yury (yury+t) wrote :

Summing up, this issue is caused by the DOC to ODT importing routines doing two things wrong:

1bad) Formulas' font sizes' settings in DOC are ignored and substituted by hard-coded sizes coming, I believe, from the array MathType::aSizeTable[7] (starmath/source/mathtype.hxx). This produces the (unasked for) 'size 12' and 'size 8' on bodytext and indexes formulas' elements.

** I'm attaching the patch for LOdev 4.3.7.1 which blocks (hacks off, really) that (spurious) size setting on import. Ugly, but "worksforme", saves my time.

2bad) Formulas' rendered images' frames are put too high w/r to the baseline of the paragraph formula is in. This necessitates re-rendering (double-clicking+closing) all formulas in the ODT (grand PITA!!)

Not *immediately* relevant to this issue is there are errors in the importing code, which converts the syntax of the MathType included in MS Word to the syntax of eqn included in LO.