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:


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 () |
| KoCommandHistory * | history () |
| Document * | document () const |
| void | setEnabled (bool enabled) |
| 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 () |
| void | enableMatrixActions (bool) |
| KSelectAction * | getLeftBracketAction () |
| KSelectAction * | getRightBracketAction () |
| SymbolAction * | getSymbolNamesAction () |
| KToggleAction * | getSyntaxHighlightingAction () |
| KToggleAction * | getFormatBoldAction () |
| KToggleAction * | getFormatItalicAction () |
| KSelectAction * | getFontFamilyAction () |
| SymbolType | leftBracketChar () const |
| SymbolType | rightBracketChar () const |
| void | updateConfig () |
| KoCommandHistory * | getHistory () 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 271 of file kformuladocument.h.
Member Function Documentation
|
|
Definition at line 287 of file kformuladocument.h. |
|
|
Enables our action according to enabled.
Definition at line 1131 of file kformuladocument.cc. Referenced by Document::setEnabled(). |
|
|
Inserts the document we are wrapping. This must be called once before the wrapper can be used. Definition at line 371 of file kformuladocument.cc. References Document::introduceWrapper(), Document::m_contextStyle, Document::recalc(), and ContextStyle::setSyntaxHighlighting(). |
The documentation for this class was generated from the following files:
