How to find the MathType

Hi Team,

I extracted the image from the document. In this document, Equations are treated as shapes. how to differentiate the shape and equation. I need the figure only.

Source (1.4 KB)

Input : Manuscript (clean version).docx (41.6 KB)


@Mahesh39 In your document equations are represented as embedded Equation.DSMT4 OLE objects. You can detect shapes with such equations using the following simple code:

private static boolean isOleEquation(Shape shape)
    return (shape.getOleFormat() != null) && (shape.getOleFormat().getProgId().equals("Equation.DSMT4"));