KWPartFrameSet.cpp
38KWPartFrameSet::KWPartFrameSet( KWDocument *_doc, KWDocumentChild *_child, const TQString & name )
96void KWPartFrameSet::drawFrameContents( KWFrame* frame, TQPainter * painter, const TQRect & /*crect TODO*/,
104 kdDebug(32001) << "KWPartFrameSet::drawFrameContents " << this << " aborting. child=" << m_child
111 // We have to define better the merning of the rect that we pass. Does it include zooming ? (yes I think)
142 //kdDebug(32001) << "KWPartFrameSet::slotChildChanged child's geometry " << getChild()->geometry()
240 kdDebug() << " Rectangle : " << getChild()->geometry().x() << "," << getChild()->geometry().y() << " " << getChild()->geometry().width() << "x" << getChild()->geometry().height() << endl;
259void KWPartFrameSet::KWPartFrameSet::createEmptyRegion( const TQRect &crect, TQRegion &emptyRegion, KWViewMode *viewMode ) {
305 KWFramePartExternalCommand* cmd =new KWFramePartExternalCommand( i18n("Make Document External"), this );
311 KWFramePartInternalCommand* cmd =new KWFramePartInternalCommand( i18n("Make Document Internal"), this );
316 kdDebug()<<k_funcinfo<<"url: "<<getChild()->url().url()<<" store internal="<<getChild()->document()->storeInternal()<<endl;
Class: KWCanvas This class is responsible for the rendering of the frames to the screen as well as th...
Definition KWCanvas.h:61
This object is created to edit a particular frameset in a particular view The view's canvas creates i...
Definition KWFrameSetEdit.h:51
Class: KWFrameSet Base type, a frameset holds content as well as frames to show that content.
Definition KWFrameSet.h:62
virtual void moveFloatingFrame(int frameNum, const KoPoint &position)
Move the frame frameNum to the given position - this is called when the frame is anchored and the anc...
Definition KWFrameSet.cpp:443
virtual void deleteFrame(unsigned int num, bool remove=true, bool recalc=true)
Delete a frame from the set of frames this frameSet has.
Definition KWFrameSet.cpp:93
const TQPtrList< KWFrame > & frameIterator() const
Iterator over the child frames.
Definition KWFrameSet.h:159
virtual void load(TQDomElement &framesetElem, bool loadFrames=true)
load from XML - when loading
Definition KWFrameSet.cpp:909
void saveCommon(TQDomElement &parentElem, bool saveFrames)
save the common attributes for the frameset
Definition KWFrameSet.cpp:868
TQString name() const
get/set frameset name. For tables in particular, this must be unique
Definition KWFrameSet.h:428
KWFrameView * view(const KoPoint &point, SelectionType select, bool borderOnly=false) const
Returns a frameView representing a frame positioned at point, or 0 when no match found.
Definition KWFrameViewManager.cpp:216
MouseMeaning mouseMeaning(const KoPoint &point, int keyState)
Return the MouseMeaning enum value for the parent view.
Definition KWFrameView.cpp:102
A frameset that contains an embedded object (a KWDocumentChild).
Definition KWPartFrameSet.h:30
virtual void drawFrameContents(KWFrame *frame, TQPainter *painter, const TQRect &fcrect, const TQColorGroup &cg, bool onlyChanged, bool resetChanged, KWFrameSetEdit *edit, KWViewMode *viewMode)
Implement this one instead of drawFrame to benefit from double-buffering AND transparency handling (p...
Definition KWPartFrameSet.cpp:96
virtual void load(TQDomElement &attributes, bool loadFrames=true)
load from XML - when loading
Definition KWPartFrameSet.cpp:180
void updateChildGeometry()
Update the geometry of m_child based on the geometry of the frame.
Definition KWPartFrameSet.cpp:126
virtual void moveFloatingFrame(int frameNum, const KoPoint &position)
Move the frame 'frameNum' to the given position and move the document child window with it This is ca...
Definition KWPartFrameSet.cpp:213
void startEditing()
Called by KWView when the object is being edited (activated).
Definition KWPartFrameSet.cpp:185
virtual TQDomElement save(TQDomElement &parentElem, bool saveFrames=true)
save to XML - when saving
Definition KWPartFrameSet.cpp:153
void endEditing()
Called by KWView when the object is not being edited anymore (deactivated).
Definition KWPartFrameSet.cpp:202
virtual void saveOasis(KoXmlWriter &writer, KoSavingContext &context, bool saveFrames) const
Save to OASIS format.
Definition KWPartFrameSet.cpp:164
void deleteFrame(unsigned int num, bool remove=true, bool recalc=true)
Delete a frame from the set of frames this frameSet has.
Definition KWPartFrameSet.cpp:252
virtual KWFrameSetEdit * createFrameSetEdit(KWCanvas *)
Create a framesetedit object to edit this frameset in canvas.
Definition KWPartFrameSet.cpp:224
