kpresenter

KPrAutoformObject Class Reference

Inheritance diagram for KPrAutoformObject:

KPr2DObject KPrStartEndLine KPrShadowObject KPrObject List of all members.

Detailed Description

Definition at line 35 of file KPrAutoformObject.h.


Public Member Functions

 KPrAutoformObject ()
 KPrAutoformObject (const KoPen &_pen, const QBrush &_brush, const QString &_filename, LineEnd _lineBegin, LineEnd _lineEnd, FillType _fillType, const QColor &_gColor1, const QColor &_gColor2, BCType _gType, bool _unbalanced, int _xfactor, int _yfactor)
virtual ~KPrAutoformObject ()
KPrAutoformObjectoperator= (const KPrAutoformObject &)
virtual DCOPObject * dcopObject ()
virtual void setFileName (const QString &_filename)
virtual void setLineBegin (LineEnd _lineBegin)
virtual void setLineEnd (LineEnd _lineEnd)
virtual ObjType getType () const
virtual QString getTypeString () const
QString getFileName () const
virtual LineEnd getLineBegin () const
virtual LineEnd getLineEnd () const
virtual QDomDocumentFragment save (QDomDocument &doc, double offset)
virtual double load (const QDomElement &element)

Protected Member Functions

virtual const char * getOasisElementName () const
virtual bool saveOasisObjectAttributes (KPOasisSaveContext &sc) const
virtual void fillStyle (KoGenStyle &styleObjectAuto, KoGenStyles &mainStyles) const
virtual void paint (QPainter *_painter, KoTextZoomHandler *_zoomHandler, int, bool drawingShadow, bool drawContour=FALSE)

Protected Attributes

QString filename
ATFInterpreter atfInterp

Member Function Documentation

const char * KPrAutoformObject::getOasisElementName (  )  const [protected, virtual]

Get the element name for saving the object.

Implements KPrObject.

Definition at line 134 of file KPrAutoformObject.cpp.

void KPrAutoformObject::paint ( QPainter *  _painter,
KoTextZoomHandler *  _zoomHandler,
int  ,
bool  drawingShadow,
bool  drawContour = FALSE 
) [protected, virtual]

This method is to be implemented by all KPShadowObjects, to draw themselves.

draw() took care of the shadow and of preparing painter for rotation. paint() must take care of the gradient itself!

Parameters:
drawingShadow true if called to draw the shadow of the object. Usually objects will want to draw a simpler version of themselves in that case.
This method isn't pure virtual because some objects implement draw() directly.

Reimplemented from KPrShadowObject.

Definition at line 193 of file KPrAutoformObject.cpp.


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