kword
KWTextImage Class Reference
#include <KWTextImage.h>
Detailed Description
This class is used by "Insert Picture", i.e.having an image inline in a paragraph. It is going to be removed from KWord (inline picture frames are so much better), but we might need it in KPresenter !
Definition at line 33 of file KWTextImage.h.
Public Member Functions | |
KWTextImage (KWTextDocument *textdoc, const QString &filename) | |
~KWTextImage () | |
virtual Placement | placement () const |
virtual void | resize () |
virtual int | widthHint () const |
virtual int | minimumWidth () const |
void | setImage (const KoPictureCollection &collection) |
KoPicture | image () const |
virtual void | drawCustomItem (QPainter *p, int x, int y, int wpix, int hpix, int ascentpix, int cx, int cy, int cw, int ch, const QColorGroup &cg, bool selected, int offset, bool drawingShadow) |
virtual void | save (QDomElement &formatElem) |
virtual void | saveOasis (KoXmlWriter &, KoSavingContext &) const |
virtual int | typeId () const |
void | load (QDomElement &formatElem) |
KoPictureKey | getKey (void) const |
Constructor & Destructor Documentation
|
Set filename to load a real file from the disk Otherwise use setImage() - this is what's done on loading.
Definition at line 30 of file KWTextImage.cpp. |
Member Function Documentation
|
Get the key of the picture.
Definition at line 153 of file KWTextImage.cpp. |
The documentation for this class was generated from the following files: