lib
DocumentWrapper Class Reference
#include <kformuladocument.h>
Inherits QObject.
Detailed Description
A Wrapper that constracts the actions and must be given a real document to work with.Definition at line 291 of file kformuladocument.h.
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 () |
void | tokenElement () |
Public Member Functions | |
DocumentWrapper (KConfig *config, KActionCollection *collection, KoCommandHistory *history=0) | |
KConfig * | config () |
KoCommandHistory * | history () |
Document * | document () const |
void | setEnabled (bool enabled) |
void | document (Document *document, bool init=true) |
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 () |
void | enableMatrixActions (bool) |
KSelectAction * | getLeftBracketAction () |
KSelectAction * | getRightBracketAction () |
SymbolAction * | getSymbolNamesAction () |
KToggleAction * | getSyntaxHighlightingAction () |
KToggleAction * | getFormatBoldAction () |
KToggleAction * | getFormatItalicAction () |
KSelectAction * | getFontFamilyAction () |
KSelectAction * | getTokenElementAction () |
SymbolType | leftBracketChar () const |
SymbolType | rightBracketChar () const |
void | updateConfig () |
KoCommandHistory * | getHistory () const |
void | undo () |
void | redo () |
Member Function Documentation
Document* DocumentWrapper::document | ( | ) | const [inline] |
void DocumentWrapper::setEnabled | ( | bool | enabled | ) |
void DocumentWrapper::document | ( | Document * | document, | |
bool | init = true | |||
) |
Inserts the document we are wrapping.
This must be called once before the wrapper can be used.
Definition at line 403 of file kformuladocument.cc.
The documentation for this class was generated from the following files: