filters

PixmapFrame Class Reference

#include <pixmapFrame.h>

Inheritance diagram for PixmapFrame:
Element XmlParser Border

Public Member Functions

 PixmapFrame (TQString, TQString)
TAround getRunAround () const
double getAroundGap () const
TCreate getAutoCreate () const
TNFrame getNewFrame () const
TSide getSheetSide () const
void getPixmap (TQDomNode)
TQString getKey () const
TQString getFilenamePS () const
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 setKeepAspectRatio (const TQString)
void setKey (TQString k)
void setFilenamePS (TQString f)
void analyse (const TQDomNode)
void convert ()
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 a pixmap (frame).

The pixmap can be converted in (e)ps. by using the convert command of ImageMagick.

Definition at line 39 of file pixmapFrame.h.

Constructor & Destructor Documentation

◆ PixmapFrame()

PixmapFrame::PixmapFrame ( )

Definition at line 40 of file pixmapFrame.cpp.

◆ ~PixmapFrame()

PixmapFrame::~PixmapFrame ( )
virtual

Definition at line 47 of file pixmapFrame.cpp.

Member Function Documentation

◆ analyse()

void PixmapFrame::analyse ( const TQDomNode balise)
virtual

Helpfull functions.

Reimplemented from Element.

Definition at line 65 of file pixmapFrame.cpp.

◆ convert()

void PixmapFrame::convert ( )

Convert a pixmap file in eps file.

Use ImageMagick

Definition at line 135 of file pixmapFrame.cpp.

◆ generate()

void PixmapFrame::generate ( TQTextStream & out)
virtual

Implements Element.

Definition at line 191 of file pixmapFrame.cpp.

◆ getAroundGap()

double PixmapFrame::getAroundGap ( ) const
inline

Definition at line 66 of file pixmapFrame.h.

◆ getAutoCreate()

TCreate PixmapFrame::getAutoCreate ( ) const
inline

Definition at line 67 of file pixmapFrame.h.

◆ getFilenamePS()

TQString PixmapFrame::getFilenamePS ( ) const
inline

Definition at line 73 of file pixmapFrame.h.

◆ getKey()

TQString PixmapFrame::getKey ( ) const
inline

Definition at line 72 of file pixmapFrame.h.

◆ getNewFrame()

TNFrame PixmapFrame::getNewFrame ( ) const
inline

Definition at line 68 of file pixmapFrame.h.

◆ getPixmap()

void PixmapFrame::getPixmap ( TQDomNode balise_initiale)

Definition at line 96 of file pixmapFrame.cpp.

◆ getRunAround()

TAround PixmapFrame::getRunAround ( ) const
inline

Accessors.

Definition at line 65 of file pixmapFrame.h.

◆ getSheetSide()

TSide PixmapFrame::getSheetSide ( ) const
inline

Definition at line 69 of file pixmapFrame.h.

◆ setAroundGap()

void PixmapFrame::setAroundGap ( const double r)
inline

Definition at line 79 of file pixmapFrame.h.

◆ setAutoCreate()

void PixmapFrame::setAutoCreate ( const int a)
inline

Definition at line 80 of file pixmapFrame.h.

◆ setFilenamePS()

void PixmapFrame::setFilenamePS ( TQString f)
inline

Definition at line 86 of file pixmapFrame.h.

◆ setKeepAspectRatio()

void PixmapFrame::setKeepAspectRatio ( const TQString ratio)

Definition at line 51 of file pixmapFrame.cpp.

◆ setKey()

void PixmapFrame::setKey ( TQString k)
inline

Definition at line 85 of file pixmapFrame.h.

◆ setNewFrame()

void PixmapFrame::setNewFrame ( const int n)
inline

Definition at line 81 of file pixmapFrame.h.

◆ setRunAround()

void PixmapFrame::setRunAround ( const int a)
inline

Modifiers.

Definition at line 78 of file pixmapFrame.h.

◆ setSheetSide()

void PixmapFrame::setSheetSide ( const int s)
inline

Definition at line 82 of file pixmapFrame.h.


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