kword
KWPartFrameSet Class Reference
#include <KWPartFrameSet.h>
Inheritance diagram for KWPartFrameSet:

Detailed Description
A frameset that contains an embedded object (a KWDocumentChild).
Definition at line 29 of file KWPartFrameSet.h.
Public Member Functions | |
KWPartFrameSet (KWDocument *_doc, KWDocumentChild *_child, const QString &name) | |
KWPartFrameSet (KWDocument *doc, const QDomElement &frame, const QDomElement &objectTag, KoOasisContext &context) | |
virtual | ~KWPartFrameSet () |
virtual KWordFrameSetIface * | dcopObject () |
virtual FrameSetType | type () const |
virtual KWFrameSetEdit * | createFrameSetEdit (KWCanvas *) |
KWDocumentChild * | getChild () const |
void | setChild (KWDocumentChild *child) |
void | updateChildGeometry () |
virtual void | drawFrameContents (KWFrame *frame, QPainter *painter, const QRect &fcrect, const QColorGroup &cg, bool onlyChanged, bool resetChanged, KWFrameSetEdit *edit, KWViewMode *viewMode) |
virtual void | createEmptyRegion (const QRect &crect, QRegion &emptyRegion, KWViewMode *viewMode) |
virtual QDomElement | save (QDomElement &parentElem, bool saveFrames=true) |
virtual void | load (QDomElement &attributes, bool loadFrames=true) |
virtual void | saveOasis (KoXmlWriter &writer, KoSavingContext &context, bool saveFrames) const |
void | startEditing () |
void | endEditing () |
virtual void | moveFloatingFrame (int frameNum, const KoPoint &position) |
virtual void | printDebug () |
void | deleteFrame (unsigned int num, bool remove=true, bool recalc=true) |
void | setDeleted (bool on=true) |
virtual void | storeInternal () |
virtual void | setProtectContent (bool protect) |
virtual bool | protectContent () const |
Constructor & Destructor Documentation
|
Used for OASIS loading.
Definition at line 51 of file KWPartFrameSet.cpp. |
Member Function Documentation
|
Let the caller know which parts of For painting all frames of all framesets the painter needs to find out what area we will fill with a background color and possibly paint over. What this method does is fill an QRegion with all the areas we are going to fill, which typically means we will paint the background of a frame there.
Reimplemented from KWFrameSet. |
|
Create a framesetedit object to edit this frameset in
Reimplemented from KWFrameSet. Definition at line 223 of file KWPartFrameSet.cpp. |
|
Delete a frame from the set of frames this frameSet has.
Reimplemented from KWFrameSet. Definition at line 251 of file KWPartFrameSet.cpp. |
|
Implement this one instead of drawFrame to benefit from double-buffering AND transparency handling (painting frames below this one) automatically. You MUST reimplement one or the other, or you'll get infinite recursion ;) In this method, the painter has been translated to the frame's coordinate system
Reimplemented from KWFrameSet. Definition at line 96 of file KWPartFrameSet.cpp. |
|
Called by KWView when the object is not being edited anymore (deactivated). Allows to create a frame-move command if the frame was moved. Definition at line 201 of file KWPartFrameSet.cpp. |
|
load from XML - when loading
Reimplemented from KWFrameSet. Definition at line 179 of file KWPartFrameSet.cpp. |
|
Move the frame 'frameNum' to the given position and move the document child window with it This is called when the frame is anchored and the anchor moves (see KWAnchor).
Reimplemented from KWFrameSet. Definition at line 212 of file KWPartFrameSet.cpp. |
|
save to XML - when saving
Implements KWFrameSet. Definition at line 152 of file KWPartFrameSet.cpp. |
|
Save to OASIS format.
Implements KWFrameSet. Definition at line 163 of file KWPartFrameSet.cpp. |
|
Called by KWView when the object is being edited (activated). Allows to store the initial position. Definition at line 184 of file KWPartFrameSet.cpp. |
|
The type of frameset. Use this to differentiate between different instantiations of the framesets. Each implementation will return a different frameType. Reimplemented from KWFrameSet. Definition at line 47 of file KWPartFrameSet.h. |
|
Update the geometry of m_child based on the geometry of the frame.
Definition at line 125 of file KWPartFrameSet.cpp. |
The documentation for this class was generated from the following files: