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

Detailed Description
Object that is created to edit a Text frame set (KWTextFrameSet).It handles all the events for it. In terms of doc/view design, this object is part of the _view_. There can be several KWFrameSetEdit objects for the same frameset, but there is only one KWFrameSetEdit object per view at a given moment.
Definition at line 384 of file KWTextFrameSet.h.
Public Slots | |
| virtual void | cut () |
| virtual void | copy () |
| virtual void | paste () |
| virtual void | updateUI (bool updateFormat, bool force=false) |
| virtual void | ensureCursorVisible () |
Public Member Functions | |
| KWTextFrameSetEdit (KWTextFrameSet *fs, KWCanvas *canvas) | |
| virtual KoTextViewIface * | dcopObject () |
| virtual KWFrameSetEdit * | currentTextEdit () |
| virtual void | terminate (bool removeselection=true) |
| KWTextFrameSet * | textFrameSet () const |
| KoTextDocument * | textDocument () const |
| KoTextView * | textView () |
| virtual void | keyPressEvent (QKeyEvent *) |
| virtual void | keyReleaseEvent (QKeyEvent *) |
| virtual void | imStartEvent (QIMEvent *) |
| virtual void | imComposeEvent (QIMEvent *) |
| virtual void | imEndEvent (QIMEvent *) |
| virtual void | mousePressEvent (QMouseEvent *, const QPoint &, const KoPoint &) |
| virtual void | mouseMoveEvent (QMouseEvent *, const QPoint &, const KoPoint &) |
| virtual void | mouseReleaseEvent (QMouseEvent *, const QPoint &, const KoPoint &) |
| virtual void | mouseDoubleClickEvent (QMouseEvent *, const QPoint &, const KoPoint &) |
| virtual void | dragEnterEvent (QDragEnterEvent *) |
| virtual void | dragMoveEvent (QDragMoveEvent *, const QPoint &, const KoPoint &) |
| virtual void | dragLeaveEvent (QDragLeaveEvent *) |
| virtual void | dropEvent (QDropEvent *, const QPoint &, const KoPoint &, KWView *view) |
| virtual void | focusInEvent () |
| virtual void | focusOutEvent () |
| virtual void | selectAll () |
| virtual void | drawCursor (bool b) |
| virtual void | showFormat (KoTextFormat *format) |
| virtual bool | pgUpKeyPressed () |
| virtual bool | pgDownKeyPressed () |
| virtual void | ctrlPgUpKeyPressed () |
| virtual void | ctrlPgDownKeyPressed () |
| void | setCursor (KoTextParag *parag, int index) |
| void | insertFrameBreak () |
| void | insertWPPage () |
| void | insertVariable (int type, int subtype=0) |
| void | insertFootNote (NoteType noteType, KWFootNoteVariable::Numbering numType, const QString &manualString) |
| void | insertCustomVariable (const QString &name) |
| void | insertVariable (KoVariable *var, KoTextFormat *format=0, bool refreshCustomMenu=false) |
| void | insertLink (const QString &_linkName, const QString &hrefName) |
| void | insertComment (const QString &_comment) |
| void | insertExpression (const QString &_c) |
| void | insertFloatingFrameSet (KWFrameSet *fs, const QString &commandName) |
| void | insertTOC () |
| KCommand * | setPageBreakingCommand (int pageBreaking) |
| double | currentLeftMargin () const |
| virtual void | removeToolTipCompletion () |
| bool | openLink (KoLinkVariable *variable) |
| void | openLink () |
| void | pasteData (QMimeSource *data, int provides, bool drop) |
| KCommand * | pasteOasisCommand (QMimeSource *data) |
| KoBorder | border (KoBorder::BorderType type) |
Protected Member Functions | |
| virtual void | doAutoFormat (KoTextCursor *cursor, KoTextParag *parag, int index, QChar ch) |
| virtual bool | doIgnoreDoubleSpace (KoTextParag *parag, int index, QChar ch) |
| virtual bool | doCompletion (KoTextCursor *cursor, KoTextParag *parag, int index) |
| virtual bool | doToolTipCompletion (KoTextCursor *cursor, KoTextParag *parag, int index, int keyPress) |
| virtual void | showToolTipBox (KoTextParag *parag, int index, QWidget *widget, const QPoint &pos) |
| virtual void | textIncreaseIndent () |
| virtual bool | textDecreaseIndent () |
| virtual void | startDrag () |
| QDragObject * | newDrag (QWidget *parent) |
Member Function Documentation
| virtual KWFrameSetEdit* KWTextFrameSetEdit::currentTextEdit | ( | ) | [inline, virtual] |
Return the current most-low-level text edit object.
Reimplemented from KWFrameSetEdit.
Definition at line 393 of file KWTextFrameSet.h.
| void KWTextFrameSetEdit::terminate | ( | bool | = true |
) | [virtual] |
Called before destruction, when terminating edition - use to e.g.
hide cursor
Reimplemented from KWFrameSetEdit.
Definition at line 3135 of file KWTextFrameSet.cpp.
| bool KWTextFrameSetEdit::openLink | ( | KoLinkVariable * | variable | ) |
| void KWTextFrameSetEdit::openLink | ( | ) |
| KoBorder KWTextFrameSetEdit::border | ( | KoBorder::BorderType | type | ) |
Return the requested border of the paragraph that the cursor currently is in.
- Parameters:
-
type specifies which of the borders to return;
- Returns:
- the requested border of the current paragraph
Definition at line 3968 of file KWTextFrameSet.cpp.
The documentation for this class was generated from the following files:

