kword

KWView Class Reference

List of all members.

Detailed Description

Definition at line 95 of file KWView.h.


Public Types

enum  { ProvidesImage = 1, ProvidesPlainText = 2, ProvidesOasis = 4, ProvidesFormula = 8 }

Public Slots

void fileStatistics ()
void editCut ()
void editCopy ()
void editPaste ()
void editSelectAll ()
void editSelectAllFrames ()
void editSelectCurrentFrame ()
void editFind ()
void editFindNext ()
void editFindPrevious ()
void editReplace ()
void editDeleteFrame ()
void editCustomVariable ()
void editCustomVars ()
void editMailMergeDataBase ()
void createLinkedFrame ()
void viewTextMode ()
void viewPageMode ()
void viewPreviewMode ()
void slotViewFormattingChars ()
void slotViewFrameBorders ()
void viewHeader ()
void viewFooter ()
void viewZoom (const QString &s)
void updateZoom ()
void insertTable ()
void insertPicture ()
void insertSpecialChar ()
void insertFrameBreak ()
void insertVariable ()
void insertFootNote ()
void insertContents ()
void insertLink ()
void insertComment ()
void removeComment ()
void copyTextOfComment ()
void insertPage ()
void deletePage ()
void formatFont ()
void formatParagraph ()
void formatPage ()
void formatFrameSet ()
void slotSpellCheck ()
void extraAutoFormat ()
void extraFrameStylist ()
void extraStylist ()
void extraCreateTemplate ()
void toolsCreateText ()
void insertFormula (QMimeSource *source=0)
void toolsPart ()
void tableProperties ()
void tableInsertRow ()
void tableInsertCol ()
void tableResizeCol ()
void tableDeleteRow ()
void tableDeleteCol ()
void tableJoinCells ()
void tableSplitCells ()
void tableSplitCells (int col, int row)
void tableProtectCells (bool)
void tableUngroupTable ()
void tableDelete ()
void tableStylist ()
void convertTableToText ()
void sortText ()
void addPersonalExpression ()
void slotStyleSelected ()
void slotFrameStyleSelected ()
void slotTableStyleSelected ()
void textStyleSelected (int)
void frameStyleSelected (int)
void tableStyleSelected (int)
void textSizeSelected (int)
void increaseFontSize ()
void decreaseFontSize ()
void textFontSelected (const QString &)
void textBold ()
void textItalic ()
void textUnderline ()
void textStrikeOut ()
void textColor ()
void textAlignLeft ()
void textAlignCenter ()
void textAlignRight ()
void textAlignBlock ()
void textSpacingSingle ()
void textSpacingOneAndHalf ()
void textSpacingDouble ()
void textSuperScript ()
void textSubScript ()
void textIncreaseIndent ()
void textDecreaseIndent ()
void textDefaultFormat ()
void slotCounterStyleSelected ()
void borderOutline ()
void borderLeft ()
void borderRight ()
void borderTop ()
void borderBottom ()
void backgroundColor ()
void showFormulaToolbar (bool show)
void configure ()
void configureCompletion ()
void newPageLayout (const KoPageLayout &layout)
void newLeftIndent (double leftIndent)
void newFirstIndent (double firstIndent)
void newRightIndent (double rightIndent)
void clipboardDataChanged ()
void tabListChanged (const KoTabulatorList &tabList)
void updatePageInfo ()
void updateFrameStatusBarItem ()
void setTemporaryStatusBarText (const QString &text)
void slotSpecialChar (QChar, const QString &)
void slotFrameSetEditChanged ()
void showMouseMode (intmouseMode)
void frameSelectedChanged ()
void docStructChanged (int type)
void documentModified (bool)
void changeOverwriteMode (bool)
void slotHRulerDoubleClicked ()
void slotHRulerDoubleClicked (double)
void slotUnitChanged (KoUnit::Unit)
void numPagesChanged ()
void insertExpression ()
void updateTocActionText (bool hasToc)
void changeCaseOfText ()
void editPersonalExpr ()
void slotUpdateRuler ()
void slotEmbedImage (const QString &filename)
void insertCustomVariable ()
void insertNewCustomVariable ()
void slotSpecialCharDlgClosed ()
void refreshCustomMenu ()
void changePicture ()
void configureHeaderFooter ()
void inlineFrame ()
void raiseFrame ()
void lowerFrame ()
void bringToFront ()
void sendToBack ()
void openLink ()
void changeLink ()
void copyLink ()
void removeLink ()
void addToBookmark ()
void editComment ()
void showDocStructure ()
void showRuler ()
void viewGrid ()
void viewSnapToGrid ()
void slotSoftHyphen ()
void slotLineBreak ()
void slotNonbreakingSpace ()
void slotNonbreakingHyphen ()
void slotIncreaseNumberingLevel ()
void slotDecreaseNumberingLevel ()
void refreshAllVariable ()
void slotAllowAutoFormat ()
void slotCompletion ()
void applyAutoFormat ()
void createStyleFromSelection ()
void configureFootEndNote ()
void editFootEndNote ()
void changeFootNoteType ()
void savePicture ()
void autoSpellCheck ()
void goToFootEndNote ()
void docStructEdit ()
void docStructSpeak ()
void docStructSelect ()
void docStructDelete ()
void docStructProperties ()
void openDocStructurePopupMenu (const QPoint &p, KWFrameSet *frameset, KWTextParag *parag)
void insertFile ()
void addBookmark ()
void selectBookmark ()
void importStyle ()
void createFrameStyle ()
void insertDirectCursor ()
void convertToTextBox ()
void slotAddIgnoreAllWord ()
void embeddedStoreInternal ()
void goToDocumentStructure ()
void goToDocument ()
void addWordToDictionary ()
void insertPicture (const KoPicture &picture, const bool makeInline, const bool keepRatio, int suggestedWidth, int suggestedHeight)

Public Member Functions

 KWView (const QString &viewMode, QWidget *parent, const char *name, KWDocument *doc)
virtual ~KWView ()
virtual DCOPObject * dcopObject ()
void showFormat (const KoTextFormat &currentFormat)
void showAlign (int align)
void showCounter (KoParagCounter &c)
void showSpacing (int spacing)
void updateBorderButtons (const KoBorder &left, const KoBorder &right, const KoBorder &top, const KoBorder &bottom)
void showStyle (const QString &styleName)
void showRulerIndent (double leftMargin, double firstLine, double rightMargin, bool rtl)
void showZoom (int zoom)
void showZoom (const QString &zoom)
void setZoom (int zoom, bool updateViews)
bool viewFrameBorders () const
void setViewFrameBorders (bool b)
KSpell2::Broker * broker () const
void setNoteType (NoteType nt, bool change=true)
KWDocumentkWordDocument () const
KWGUIgetGUI () const
KWViewModeviewMode () const
void updateStyleList ()
void updateFrameStyleList ()
void updateTableStyleList ()
void initGui ()
int currentPage () const
bool doubleClickActivation () const
QWidget * canvas () const
int canvasXOffset () const
int canvasYOffset () const
void canvasAddChild (KoViewChild *child)
virtual void setupPrinter (KPrinter &printer)
virtual void print (KPrinter &printer)
virtual QPoint applyViewTransformations (const QPoint &) const
virtual QPoint reverseViewTransformations (const QPoint &) const
void changeNbOfRecentFiles (int nb)
void changeZoomMenu (int zoom=-1)
void refreshMenuExpression ()
void updateGridButton ()
void deleteFrame (bool warning=true)
QPopupMenu * popupMenu (const QString &name)
QPtrList< KAction > & dataToolActionList ()
QPtrList< KAction > & variableActionList ()
QPtrList< KAction > & tableActions ()
bool insertInlinePicture ()
void displayFrameInlineInfo ()
void initGUIButton ()
void updateHeaderFooterButton ()
void updateFooter ()
void updateHeader ()
void switchModeView ()
void changeFootNoteMenuItem (bool b)
void insertFile (const KURL &url)
void testAndCloseAllFrameSetProtectedContent ()
void updateBgSpellCheckingState ()
void updateRulerInProtectContentMode ()
void deselectAllFrames ()
void autoSpellCheck (bool b)
void insertDirectCursor (bool b)
void updateDirectCursorButton ()
void deleteFrameSet (KWFrameSet *)
QPtrList< KAction > listOfResultOfCheckWord (const QString &word)
int tableSelectCell (const QString &tableName, uint row, uint col)
void tableInsertRow (uint row, KWTableFrameSet *table=0)
void tableInsertCol (uint col, KWTableFrameSet *table=0)
int tableDeleteRow (const QValueList< uint > &rows, KWTableFrameSet *table=0)
int tableDeleteCol (const QValueList< uint > &cols, KWTableFrameSet *table=0)
void pasteData (QMimeSource *data, bool drop)
KWFrameViewManagerframeViewManager () const

Static Public Member Functions

static int checkClipboard (QMimeSource *data)

Protected Types

enum  MoveFrameType { RaiseFrame, LowerFrame, BringToFront, SendToBack }

Protected Slots

virtual void slotChildActivated (bool a)
void slotSetInitialPosition ()
void spellCheckerMisspelling (const QString &, int)
void spellCheckerCorrected (const QString &, int, const QString &)
void spellCheckerDone (const QString &)
void spellCheckerCancel ()
void spellAddAutoCorrect (const QString &originalword, const QString &newword)
void slotApplyFont ()
void slotApplyParag ()
void slotPageLayoutChanged (const KoPageLayout &layout)
void slotChangeCaseState (bool b)
void slotChangeCutState (bool b)
void slotCorrectWord ()
void slotDocumentLoadingCompleted ()

Protected Member Functions

void addVariableActions (int type, const QStringList &texts, KActionMenu *parentMenu, const QString &menuText)
void loadexpressionActions (KActionMenu *parentMenu)
void createExpressionActions (KActionMenu *parentMenu, const QString &filename, int &i, bool insertSepar, const QMap< QString, KShortcut > &personalShortCut)
void showParagraphDialog (int initialPage=-1, double initialTabPos=0.0)
KWTextFrameSetEditcurrentTextEdit () const
QPtrList< KoTextFormatInterface > applicableTextInterfaces () const
void setupActions ()
virtual void resizeEvent (QResizeEvent *e)
virtual void guiActivateEvent (KParts::GUIActivateEvent *ev)
virtual void updateReadWrite (bool readwrite)
void updateTableActions (QValueList< KWFrameView * > selectFrames)
void startKSpell ()
void clearSpellChecker (bool cancelSpellCheck=false)
QValueList< QString > getInlineFramesets (const QDomNode &framesetElem)
void adjustZOrderOfSelectedFrames (MoveFrameType moveType)
void increaseAllZOrdersAbove (int refZOrder, int pageNum, const QPtrList< KWFrame > &frameSelection)
void decreaseAllZOrdersUnder (int refZOrder, int pageNum, const QPtrList< KWFrame > &frameSelection)
int raiseFrame (const QPtrList< KWFrame > &frameSelection, const KWFrame *frame)
int lowerFrame (const QPtrList< KWFrame > &frameSelection, const KWFrame *frame)
int bringToFront (const QPtrList< KWFrame > &frameSelection, const KWFrame *frame)
int sendToBack (const QPtrList< KWFrame > &frameSelection, const KWFrame *frame)
void textStyleSelected (KoParagStyle *sty)
void frameStyleSelected (KWFrameStyle *sty)
void tableStyleSelected (KWTableStyle *sty)
void changeFootEndNoteState ()
void refreshDeletePageAction ()
void spellCheckerRemoveHighlight ()
void setSpacing (KoParagLayout::SpacingType spacing, const QString &commandName)

Member Function Documentation

void KWView::updateBorderButtons ( const KoBorder &  left,
const KoBorder &  right,
const KoBorder &  top,
const KoBorder &  bottom 
)

Updates the checked state of the border buttons based on the parameters.

Parameters:
left represents the left border being currently visible
right represents the right border being currently visible
top represents the top border being currently visible
bottom represents the bottom border being currently visible

Definition at line 2053 of file KWView.cpp.

Broker * KWView::broker (  )  const

Returns the KWord global KSpell2 Broker object.

Definition at line 7489 of file KWView.cpp.

int KWView::currentPage (  )  const

returns the current page number this view is looking at

Definition at line 7747 of file KWView.cpp.

bool KWView::doubleClickActivation (  )  const

Overloaded from View.

Definition at line 6030 of file KWView.cpp.

QWidget * KWView::canvas (  )  const

Overloaded from View.

Definition at line 6035 of file KWView.cpp.

int KWView::canvasXOffset (  )  const

Overloaded from View.

Definition at line 6043 of file KWView.cpp.

int KWView::canvasYOffset (  )  const

Overloaded from View.

Definition at line 6048 of file KWView.cpp.

void KWView::canvasAddChild ( KoViewChild *  child  ) 

Overloaded vrom View.

Definition at line 6053 of file KWView.cpp.

void KWView::raiseFrame (  )  [inline, slot]

Move the selected frame above maximum 1 frame that is in front of it.

Definition at line 401 of file KWView.h.

void KWView::lowerFrame (  )  [inline, slot]

Move the selected frame behind maximum 1 frame that is behind it.

Definition at line 403 of file KWView.h.

void KWView::bringToFront (  )  [inline, slot]

Move the selected frame(s) to be in the front most position.

Definition at line 405 of file KWView.h.

void KWView::sendToBack (  )  [inline, slot]

Move the selected frame(s) to be behind all other frames.

Definition at line 407 of file KWView.h.

void KWView::slotChildActivated ( bool  a  )  [protected, virtual, slot]

from KoView

Definition at line 7470 of file KWView.cpp.

void KWView::slotDocumentLoadingCompleted (  )  [protected, slot]

This slot is called when the document has finished loading.

Definition at line 7751 of file KWView.cpp.

QPtrList< KoTextFormatInterface > KWView::applicableTextInterfaces (  )  const [protected]

The current text-edit if there is one, otherwise the selected text objects This is what the "bold", "italic" etc.

buttons apply to.

Definition at line 4719 of file KWView.cpp.

void KWView::updateTableActions ( QValueList< KWFrameView * >  selectFrames  )  [protected]

Make sure the actions related to tables have the right texts and enabled options.

Parameters:
selectFrames a list of selected frames
See also:
KWFrameViewManager::selectedFrames()

Definition at line 5960 of file KWView.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys