Hello. I'm trying to add support for &charname; in mathml.
The reason why actually isn't supported is because mathml is being loaded as XML. It is similar, but it isn't. That is why when XmlReader finds a mathml particular &charname, it will throw an exception at XmlReader::handleReference. However mathml specifics can not be added, since they're not part of the XML standard.
So the solution pases by an SmXmlReader with it's own SmXmlReader::handleReference ( a subclass overriding the method). However I'm having a hard time finding out how it is called from mathmlimport.cxx/hxx or document.cxx/hxx.
Does anyone know where do I have to switch the xmlreaders ?
_______________________________________________ LibreOffice mailing list LibreOffice@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/libreoffice