filters

TextFrame Class Reference

#include <textFrame.h>

Inheritance diagram for TextFrame:
Element XmlParser Border

Public Member Functions

 TextFrame ()
 
double getLeft () const
 
double getRight () const
 
double getTop () const
 
double getBottom () const
 
TAround getRunAround () const
 
double getAroundGap () const
 
TCreate getAutoCreate () const
 
TNFrame getNewFrame () const
 
TSide getSheetSide () const
 
Para * getFirstPara () const
 
EEnv getNextEnv (TQPtrList< Para >, const int)
 
bool isBeginEnum (Para *, Para *)
 
bool isCloseEnum (Para *, Para *)
 
void setLeft (const double l)
 
void setRight (const double r)
 
void setTop (const double t)
 
void setBottom (const double b)
 
void setRunAround (const int a)
 
void setAroundGap (const double r)
 
void setAutoCreate (const int a)
 
void setNewFrame (const int n)
 
void setSheetSide (const int s)
 
void analyse (const TQDomNode)
 
void generate (TQTextStream &)
 
- Public Member Functions inherited from Element
 Element ()
 
SSect getSection () const
 
SType getType () const
 
SInfo getInfo () const
 
TQString getName () const
 
bool isVisible () const
 
bool isRemovable () const
 
TQString 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 (TQString g)
 
void setRow (int r)
 
void setCol (int c)
 
void setRows (int r)
 
void setCols (int c)
 
EType getType () const
 
virtual TQString getName () const
 
void setType (EType t)
 
virtual void print (int tab=0)=0
 
- Public Member Functions inherited from XmlParser
 XmlParser (TQString)
 
 XmlParser (TQByteArray)
 
 XmlParser (const KoStore *)
 
TQString getFilename () const
 
TQString getDocument () const
 
Document * getRoot () const
 
FileHeader * getFileHeader () const
 
TQString getChildName (TQDomNode, int)
 
TQDomNode getChild (TQDomNode, TQString)
 
TQDomNode getChild (TQDomNode, TQString, int)
 
TQDomNode getChild (TQDomNode, int)
 
TQString getData (TQDomNode, int)
 
TQString getData (TQDomNode, TQString)
 
int getNbChild (TQDomNode, TQString)
 
int getNbChild (TQDomNode)
 
TQString getAttr (TQDomNode, TQString) const
 
bool isChild (TQDomNode, TQString)
 
void setFileHeader (FileHeader *h)
 
void setRoot (Document *r)
 
TQDomNode init ()
 
 XmlParser (Config *, TQString)
 
 XmlParser (Config *, TQByteArray)
 
 XmlParser (Config *, const KoStore *)
 
TQString getFilename () const
 
TQString getDocument () const
 
Document * getRoot () const
 
KoStore * getStorage () const
 
TQString getChildName (TQDomNode, int)
 
TQDomNode getChild (TQDomNode, TQString)
 
TQDomNode getChild (TQDomNode, TQString, int)
 
TQDomNode getChild (TQDomNode, int)
 
TQString getData (TQDomNode, int)
 
int getNbChild (TQDomNode, TQString)
 
int getNbChild (TQDomNode)
 
TQString getAttr (TQDomNode, TQString) const
 
bool isChild (TQDomNode, TQString)
 
void setRoot (Document *r)
 
TQDomNode init ()
 
- Public Member Functions inherited from Border
 Border ()
 
bool hasLeftBorder () const
 
bool hasRightBorder () const
 
bool hasTopBorder () const
 
bool hasBottomBorder () const
 
int getLeftWidth () const
 
int getRightWidth () const
 
int getTopWidth () const
 
int getBottomWidth () const
 
int getLeftRed () const
 
int getLeftGreen () const
 
int getLeftBlue () const
 
int getRightRed () const
 
int getRightGreen () const
 
int getRightBlue () const
 
int getTopRed () const
 
int getTopGreen () const
 
int getTopBlue () const
 
int getBottomRed () const
 
int getBottomGreen () const
 
int getBottomBlue () const
 
int getLeftStyle () const
 
int getRightStyle () const
 
int getTopStyle () const
 
int getBottomStyle () const
 
int getBkRed () const
 
int getBkGreen () const
 
int betBkBlue () const
 
void useLeftBorder ()
 
void useRightBorder ()
 
void useTopBorder ()
 
void useBottomBorder ()
 
void setLeftWidth (const int w)
 
void setRightWidth (const int w)
 
void setTopWidth (const int w)
 
void setBottomWidth (const int w)
 
void setLeftRed (const int r)
 
void setLeftGreen (const int g)
 
void setLeftBlue (const int b)
 
void setRightRed (const int r)
 
void setRightGreen (const int g)
 
void setRightBlue (const int b)
 
void setTopRed (const int r)
 
void setTopGreen (const int g)
 
void setTopBlue (const int b)
 
void setBottomRed (const int r)
 
void setBottomGreen (const int g)
 
void setBottomBlue (const int b)
 
void setLeftStyle (const int l)
 
void setRightStyle (const int r)
 
void setTopStyle (const int t)
 
void setBottomStyle (const int b)
 
void setBkRed (const int r)
 
void setBkGreen (const int g)
 
void setBkBlue (const int b)
 
void generate (TQTextStream &)
 

Additional Inherited Members

- Public Types inherited from Element
enum  EType { LATEX_NONE , LATEX_ENV , LATEX_MATH , LATEX_COMMAND }
 
- Static Protected Attributes inherited from XmlParser
static FileHeader * _fileHeader = 0
 
static Document * _root = 0
 
static TQString _filename
 

Detailed Description

This class hold 2 lists of paragraphs for the text and for the footnotes.

NOTE : The frame analyse can be (must be) in a Element class.

Definition at line 39 of file textFrame.h.

Constructor & Destructor Documentation

◆ TextFrame()

TextFrame::TextFrame ( )

Constructors.

Creates a new instances of a Text frame.

Definition at line 29 of file textFrame.cpp.

◆ ~TextFrame()

virtual TextFrame::~TextFrame ( )
inlinevirtual

Definition at line 74 of file textFrame.h.

Member Function Documentation

◆ analyse()

void TextFrame::analyse ( const TQDomNode  balise)
virtual

Get informations from a markup tree.

Reimplemented from Element.

Definition at line 64 of file textFrame.cpp.

◆ generate()

void TextFrame::generate ( TQTextStream &  out)
virtual

Write the text in a file.

Implements Element.

Definition at line 172 of file textFrame.cpp.

◆ getAroundGap()

double TextFrame::getAroundGap ( ) const
inline

Definition at line 90 of file textFrame.h.

◆ getAutoCreate()

TCreate TextFrame::getAutoCreate ( ) const
inline

Definition at line 91 of file textFrame.h.

◆ getBottom()

double TextFrame::getBottom ( ) const
inline

Definition at line 88 of file textFrame.h.

◆ getFirstPara()

Para * TextFrame::getFirstPara ( ) const
inline

Definition at line 94 of file textFrame.h.

◆ getLeft()

double TextFrame::getLeft ( ) const
inline

Accessors.

Definition at line 85 of file textFrame.h.

◆ getNewFrame()

TNFrame TextFrame::getNewFrame ( ) const
inline

Definition at line 92 of file textFrame.h.

◆ getNextEnv()

EEnv TextFrame::getNextEnv ( TQPtrList< Para >  liste,
const int  pos 
)

Definition at line 241 of file textFrame.cpp.

◆ getRight()

double TextFrame::getRight ( ) const
inline

Definition at line 86 of file textFrame.h.

◆ getRunAround()

TAround TextFrame::getRunAround ( ) const
inline

Definition at line 89 of file textFrame.h.

◆ getSheetSide()

TSide TextFrame::getSheetSide ( ) const
inline

Definition at line 93 of file textFrame.h.

◆ getTop()

double TextFrame::getTop ( ) const
inline

Definition at line 87 of file textFrame.h.

◆ isBeginEnum()

bool TextFrame::isBeginEnum ( Para *  previous,
Para *  next 
)

Definition at line 259 of file textFrame.cpp.

◆ isCloseEnum()

bool TextFrame::isCloseEnum ( Para *  previous,
Para *  next 
)

Definition at line 282 of file textFrame.cpp.

◆ setAroundGap()

void TextFrame::setAroundGap ( const double  r)
inline

Definition at line 108 of file textFrame.h.

◆ setAutoCreate()

void TextFrame::setAutoCreate ( const int  a)
inline

Definition at line 109 of file textFrame.h.

◆ setBottom()

void TextFrame::setBottom ( const double  b)
inline

Definition at line 105 of file textFrame.h.

◆ setLeft()

void TextFrame::setLeft ( const double  l)
inline

Modifiors.

Definition at line 102 of file textFrame.h.

◆ setNewFrame()

void TextFrame::setNewFrame ( const int  n)
inline

Definition at line 110 of file textFrame.h.

◆ setRight()

void TextFrame::setRight ( const double  r)
inline

Definition at line 103 of file textFrame.h.

◆ setRunAround()

void TextFrame::setRunAround ( const int  a)
inline

Definition at line 107 of file textFrame.h.

◆ setSheetSide()

void TextFrame::setSheetSide ( const int  s)
inline

Definition at line 111 of file textFrame.h.

◆ setTop()

void TextFrame::setTop ( const double  t)
inline

Definition at line 104 of file textFrame.h.


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