lib Library API Documentation

OrdinaryCreationStrategy Class Reference

The ordinary strategy to be used for plain kformula. More...

#include <creationstrategy.h>

Inheritance diagram for OrdinaryCreationStrategy:

Inheritance graph
[legend]
Collaboration diagram for OrdinaryCreationStrategy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual BasicElement * createElement (QString type)
virtual TextElement * createTextElement (const QChar &ch, bool symbol=false)
virtual EmptyElement * createEmptyElement ()
virtual NameSequence * createNameSequence ()
virtual BracketElement * createBracketElement (SymbolType lhs, SymbolType rhs)
virtual OverlineElement * createOverlineElement ()
virtual UnderlineElement * createUnderlineElement ()
virtual MultilineElement * createMultilineElement ()
virtual SpaceElement * createSpaceElement (SpaceWidth width)
virtual FractionElement * createFractionElement ()
virtual RootElement * createRootElement ()
virtual SymbolElement * createSymbolElement (SymbolType type)
virtual MatrixElement * createMatrixElement (uint rows, uint columns)
virtual IndexElement * createIndexElement ()

Detailed Description

The ordinary strategy to be used for plain kformula.

Definition at line 79 of file creationstrategy.h.


Member Function Documentation

TextElement * OrdinaryCreationStrategy::createTextElement (  const QChar &  ch,
bool  symbol = false
)  [virtual]
 

there must always be a TextElement, so this can never return 0

Implements ElementCreationStrategy.

Definition at line 57 of file creationstrategy.cc.

MatrixElement * OrdinaryCreationStrategy::createMatrixElement (  uint  rows,
uint  columns
)  [virtual]
 

when this gets called the user has seen the matrix dialog and expects a matrix!

Implements ElementCreationStrategy.

Definition at line 112 of file creationstrategy.cc.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:41:17 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003