lib

#include <kformulamathmlread.h>

Inherits KFInputFilter.

Public Slots

virtual void startConversion ()
 

Public Member Functions

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

Public Attributes

bool m_error
 

Friends

class MathML2KFormulaPrivate
 

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.

Constructor & Destructor Documentation

◆ MathML2KFormula() [1/2]

MathML2KFormula::MathML2KFormula ( const TQDomDocument &  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.cpp.

◆ MathML2KFormula() [2/2]

MathML2KFormula::MathML2KFormula ( const TQDomElement &  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.cpp.

Member Function Documentation

◆ getKFormulaDom()

TQDomDocument MathML2KFormula::getKFormulaDom ( )
virtual

Definition at line 1363 of file kformulamathmlread.cpp.

◆ startConversion

void MathML2KFormula::startConversion ( )
virtualslot

Definition at line 1370 of file kformulamathmlread.cpp.

Friends And Related Symbol Documentation

◆ MathML2KFormulaPrivate

friend class MathML2KFormulaPrivate
friend

Definition at line 42 of file kformulamathmlread.h.

Member Data Documentation

◆ m_error

bool MathML2KFormula::m_error

Has an error happened while converting?

Definition at line 71 of file kformulamathmlread.h.


The documentation for this class was generated from the following files: