lib

MathML2KFormula Class Reference

#include <kformulamathmlread.h>

Inherits KFInputFilter.

List of all members.


Detailed Description

This class converts MathML to KFormula XML.

Right now are only parts of the Presentation Markup implemented.

Definition at line 37 of file kformulamathmlread.h.


Public Slots

virtual void startConversion ()

Public Member Functions

 MathML2KFormula (const QDomDocument &mmldoc, const ContextStyle &contextStyle, bool oasisFormat=false)
 MathML2KFormula (const QDomElement &mmelm, const ContextStyle &contextStyle, bool oasisFormat=false)
virtual QDomDocument getKFormulaDom ()

Public Attributes

bool m_error

Friends

class MathML2KFormulaPrivate

Constructor & Destructor Documentation

MathML2KFormula::MathML2KFormula ( const QDomDocument &  mmldoc,
const ContextStyle contextStyle,
bool  oasisFormat = false 
)

Build a MathML 2 KFormula converter.

call startConversion() to convert and wait for a conversionFinished() signal, then call getKFormulaDom() to get the converted DOM

Definition at line 1350 of file kformulamathmlread.cc.

MathML2KFormula::MathML2KFormula ( const QDomElement &  mmelm,
const ContextStyle contextStyle,
bool  oasisFormat = false 
)

Build a MathML 2 KFormula converter.

A DOM Element is required instead of a full Document, useful for embedded MathML

Definition at line 1357 of file kformulamathmlread.cc.


Member Data Documentation

Has an error happened while converting?

Definition at line 70 of file kformulamathmlread.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys