Formula editor code for writer ([[sw]]). Good overview from the original developer: http://www.mail-archive.com/dev@sw.openoffice.org/msg00200.html