kformula/flake

FormulaElement Class Reference

The element of a formula at the highest position. More...

#include <FormulaElement.h>

Inheritance diagram for FormulaElement:

List of all members.

Public Member Functions

 FormulaElement ()
virtual ElementType elementType () const
virtual void writeMathMLAttributes (KoXmlWriter *writer) const

Detailed Description

The element of a formula at the highest position.

A formula consists of a tree of elements. The FormulaElement is the root of this tree and therefore is the only element that doesn't have a parent element. It's functionality is reduced to layouting its children in a different way. It is the element with highest size and can also dictate the size to all other elements.

Definition at line 37 of file FormulaElement.h.


Constructor & Destructor Documentation

FormulaElement::FormulaElement (  ) 

The standard constructor.

Definition at line 29 of file FormulaElement.cpp.


Member Function Documentation

ElementType FormulaElement::elementType (  )  const [virtual]
Returns:
The element's ElementType

Reimplemented from RowElement.

Definition at line 33 of file FormulaElement.cpp.

void FormulaElement::writeMathMLAttributes ( KoXmlWriter *  writer  )  const [virtual]

Write all attributes of m_attributes to writer.

Reimplemented from BasicElement.

Definition at line 38 of file FormulaElement.cpp.


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