kword
KWAnchor Class Reference
#include <KWAnchor.h>
Detailed Description
An anchor is a special character, or 'custom item'.It never appears as such. It is as big as the frame it is related to, so that the frame is effectively inline in the text.
Definition at line 34 of file KWAnchor.h.
Public Member Functions | |
KWAnchor (KoTextDocument *textdoc, KWFrameSet *frameset, int frameNum) | |
~KWAnchor () | |
bool | ownLine () const |
virtual void | setFormat (KoTextFormat *) |
KWFrameSet * | frameSet () const |
int | frameNum () const |
QSize | size () const |
virtual void | resize () |
virtual void | finalize () |
virtual Placement | placement () const |
virtual int | widthHint () const |
virtual int | minimumWidth () const |
virtual int | ascent () const |
virtual void | draw (QPainter *p, int x, int y, int cx, int cy, int cw, int ch, const QColorGroup &cg, bool selected) |
virtual void | drawCustomItem (QPainter *, int, int, int, int, int, int, int, int, int, const QColorGroup &, bool, int, bool) |
virtual KCommand * | createCommand () |
virtual KCommand * | deleteCommand () |
virtual void | setDeleted (bool b) |
virtual void | save (QDomElement &formatElem) |
virtual void | saveOasis (KoXmlWriter &writer, KoSavingContext &context) const |
virtual int | typeId () const |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 30 of file KWAnchor.cpp. |
Member Function Documentation
|
Never called since we reimplement draw.
Definition at line 69 of file KWAnchor.h. |
|
The index the frameset needs to access which content is displayed in the anchor object.
Definition at line 52 of file KWAnchor.h. |
|
The frameset that will provide the content to display in this anchor object.
Definition at line 50 of file KWAnchor.h. |
|
Return the size of the item, i.e. the size of the frame (zoomed) Definition at line 201 of file KWAnchor.cpp. |
The documentation for this class was generated from the following files: