lib Library API Documentation

DocumentWrapper Class Reference

A Wrapper that constracts the actions and must be given a real document to work with. More...

#include <kformuladocument.h>

Inheritance diagram for DocumentWrapper:

QObject List of all members.

Public Slots

void paste ()
void copy ()
void cut ()
void addNegThinSpace ()
void addThinSpace ()
void addMediumSpace ()
void addThickSpace ()
void addQuadSpace ()
void addDefaultBracket ()
void addBracket (SymbolType left, SymbolType right)
void addParenthesis ()
void addSquareBracket ()
void addCurlyBracket ()
void addLineBracket ()
void addFraction ()
void addRoot ()
void addIntegral ()
void addProduct ()
void addSum ()
void addMatrix (uint rows=0, uint columns=0)
void addOneByTwoMatrix ()
void addNameSequence ()
void addLowerLeftIndex ()
void addUpperLeftIndex ()
void addLowerRightIndex ()
void addUpperRightIndex ()
void addGenericLowerIndex ()
void addGenericUpperIndex ()
void addOverline ()
void addUnderline ()
void addMultiline ()
void removeEnclosing ()
void makeGreek ()
void insertSymbol ()
void insertSymbol (QString name)
void appendColumn ()
void insertColumn ()
void removeColumn ()
void appendRow ()
void insertRow ()
void removeRow ()
void toggleSyntaxHighlighting ()
void textBold ()
void textItalic ()
void delimiterLeft ()
void delimiterRight ()
void symbolNames ()
void fontFamily ()

Public Member Functions

 DocumentWrapper (KConfig *config, KActionCollection *collection, KoCommandHistory *history=0)
KConfig * config ()
KoCommandHistoryhistory ()
Documentdocument () const
void document (Document *document)
KAction * getAddNegThinSpaceAction ()
KAction * getAddThinSpaceAction ()
KAction * getAddMediumSpaceAction ()
KAction * getAddThickSpaceAction ()
KAction * getAddQuadSpaceAction ()
KAction * getAddBracketAction ()
KAction * getAddSBracketAction ()
KAction * getAddCBracketAction ()
KAction * getAddAbsAction ()
KAction * getAddFractionAction ()
KAction * getAddRootAction ()
KAction * getAddSumAction ()
KAction * getAddProductAction ()
KAction * getAddIntegralAction ()
KAction * getAddMatrixAction ()
KAction * getAddOneByTwoMatrixAction ()
KAction * getAddUpperLeftAction ()
KAction * getAddLowerLeftAction ()
KAction * getAddUpperRightAction ()
KAction * getAddLowerRightAction ()
KAction * getAddGenericUpperAction ()
KAction * getAddGenericLowerAction ()
KAction * getAddOverlineAction ()
KAction * getAddUnderlineAction ()
KAction * getAddMultilineAction ()
KAction * getRemoveEnclosingAction ()
KAction * getMakeGreekAction ()
KAction * getInsertSymbolAction ()
KAction * getAppendColumnAction ()
KAction * getInsertColumnAction ()
KAction * getRemoveColumnAction ()
KAction * getAppendRowAction ()
KAction * getInsertRowAction ()
KAction * getRemoveRowAction ()
KSelectAction * getLeftBracketAction ()
KSelectAction * getRightBracketAction ()
SymbolAction * getSymbolNamesAction ()
KToggleAction * getSyntaxHighlightingAction ()
KToggleAction * getFormatBoldAction ()
KToggleAction * getFormatItalicAction ()
KSelectAction * getFontFamilyAction ()
SymbolType leftBracketChar () const
SymbolType rightBracketChar () const
void updateConfig ()
KoCommandHistorygetHistory () const
void undo ()
void redo ()

Detailed Description

A Wrapper that constracts the actions and must be given a real document to work with.

Definition at line 264 of file kformuladocument.h.


Member Function Documentation

Document* DocumentWrapper::document  )  const [inline]
 

Returns:
the document we are using.

Definition at line 280 of file kformuladocument.h.

void DocumentWrapper::document Document document  ) 
 

Inserts the document we are wrapping.

This must be called once before the wrapper can be used.

Definition at line 409 of file kformuladocument.cc.

References Document::introduceWrapper().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 24 18:22:30 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003