filters

Element Class Reference

#include <element.h>

Inheritance diagram for Element:

XmlParser Border Formula Formula PixmapFrame Table TextFrame

List of all members.


Detailed Description

This class is a element.

An element is a component of a frame (text, picture, formula, ...).

Definition at line 97 of file export/element.h.


Public Types

enum  EType { LATEX_NONE, LATEX_ENV, LATEX_MATH, LATEX_COMMAND }

Public Member Functions

 Element ()
SSect getSection () const
SType getType () const
SInfo getInfo () const
QString getName () const
bool isVisible () const
bool isRemovable () const
QString getGrpMgr () const
int getRow () const
int getCol () const
int getRows () const
int getCols () const
bool isTable () const
void setType (SType t)
void setSection (SSect s)
void setVisible (bool v)
void setRemovable (bool r)
void setGrpMgr (QString g)
void setRow (int r)
void setCol (int c)
void setRows (int r)
void setCols (int c)
virtual void analyse (const QDomNode)
virtual void generate (QTextStream &)=0
EType getType () const
virtual QString getName () const
void setType (EType t)
virtual void print (int tab=0)=0

Constructor & Destructor Documentation

Element::Element (  ) 

Constructors.

Creates a new instance of Element.

Definition at line 29 of file export/element.cc.


Member Function Documentation

SSect Element::getSection (  )  const [inline]

Accessors.

Definition at line 134 of file export/element.h.

void Element::setType ( SType  t  )  [inline]

Modifiors.

Definition at line 150 of file export/element.h.

void Element::analyse ( const QDomNode  balise_initiale  )  [virtual]

Helpfull functions.

Get informations about frameset markupt only from a markup tree.

Reimplemented in Formula, Table, Formula, PixmapFrame, and TextFrame.

Definition at line 55 of file export/element.cc.

virtual void Element::generate ( QTextStream &   )  [pure virtual]

Write a border frame.

Reimplemented from Border.

Implemented in Formula, Table, Formula, PixmapFrame, Table, and TextFrame.


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