Lines Matching refs:KoTextEditor

93 KoTextEditor::Private::Private(KoTextEditor *qq, QTextDocument *document)  in Q_DECLARE_METATYPE()
105 void KoTextEditor::Private::emitTextFormatChanged() in emitTextFormatChanged()
110 void KoTextEditor::Private::newLine(KUndo2Command *parent) in newLine()
224 KoTextEditor::KoTextEditor(QTextDocument *document) in KoTextEditor() function in KoTextEditor
231 KoTextEditor::~KoTextEditor() in ~KoTextEditor()
236 KoTextEditor *KoTextEditor::getTextEditorFromCanvas(KoCanvasBase *canvas) in getTextEditorFromCanvas()
250 QTextCursor* KoTextEditor::cursor() in cursor()
255 const QTextCursor KoTextEditor::constCursor() const in constCursor()
260 void KoTextEditor::registerTrackedChange(QTextCursor &selection, KoGenChange::Type changeType, cons… in registerTrackedChange()
385 void KoTextEditor::recursivelyVisitSelection(QTextFrame::iterator it, KoTextVisitor &visitor) const in recursivelyVisitSelection()
481 KoBookmark *KoTextEditor::addBookmark(const QString &name) in addBookmark()
495 KoTextRangeManager *KoTextEditor::textRangeManager() const in textRangeManager()
500 KoAnnotation *KoTextEditor::addAnnotation(KoShape *annotationShape) in addAnnotation()
520 KoInlineObject *KoTextEditor::insertIndexMarker() in insertIndexMarker()
526 d->updateState(KoTextEditor::Private::Custom, kundo2_i18n("Insert Index")); in insertIndexMarker()
540 d->updateState(KoTextEditor::Private::NoOp); in insertIndexMarker()
544 void KoTextEditor::insertInlineObject(KoInlineObject *inliner, KUndo2Command *cmd) in insertInlineObject()
582 void KoTextEditor::updateInlineObjectPosition(int start, int end) in updateInlineObjectPosition()
596 void KoTextEditor::removeAnchors(const QList<KoShapeAnchor*> &anchors, KUndo2Command *parent) in removeAnchors()
602 void KoTextEditor::removeAnnotations(const QList<KoAnnotation *> &annotations, KUndo2Command *paren… in removeAnnotations()
608 void KoTextEditor::insertFrameBreak() in insertFrameBreak()
619 d->updateState(KoTextEditor::Private::KeyPress, kundo2_i18n("Insert Break")); in insertFrameBreak()
636 d->updateState(KoTextEditor::Private::NoOp); in insertFrameBreak()
640 void KoTextEditor::paste(KoCanvasBase *canvas, const QMimeData *mimeData, bool pasteAsText) in paste()
655 void KoTextEditor::deleteChar(bool previous, KUndo2Command *parent) in deleteChar()
700 void KoTextEditor::toggleListNumbering(bool numberingEnabled) in toggleListNumbering()
710 void KoTextEditor::setListProperties(const KoListLevelProperties &llp, in setListProperties()
740 int KoTextEditor::anchor() const in anchor()
745 bool KoTextEditor::atBlockEnd() const in atBlockEnd()
750 bool KoTextEditor::atBlockStart() const in atBlockStart()
755 bool KoTextEditor::atEnd() const in atEnd()
771 bool KoTextEditor::atStart() const in atStart()
776 QTextBlock KoTextEditor::block() const in block()
781 int KoTextEditor::blockNumber() const in blockNumber()
786 void KoTextEditor::clearSelection() in clearSelection()
791 int KoTextEditor::columnNumber() const in columnNumber()
796 void KoTextEditor::deleteChar() in deleteChar()
838 void KoTextEditor::deletePreviousChar() in deletePreviousChar()
880 QTextDocument *KoTextEditor::document() const in document()
885 bool KoTextEditor::hasComplexSelection() const in hasComplexSelection()
890 bool KoTextEditor::hasSelection() const in hasSelection()
899 ProtectionCheckVisitor(const KoTextEditor *editor) in ProtectionCheckVisitor()
900 : KoTextVisitor(const_cast<KoTextEditor *>(editor)) in ProtectionCheckVisitor()
915 bool KoTextEditor::isEditProtected(bool useCached) const in isEditProtected()
932 void KoTextEditor::insertTable(int rows, int columns) in insertTable()
940 d->updateState(KoTextEditor::Private::Custom, kundo2_i18n("Insert Table")); in insertTable()
1013 d->updateState(KoTextEditor::Private::NoOp); in insertTable()
1019 void KoTextEditor::insertTableRowAbove() in insertTableRowAbove()
1031 void KoTextEditor::insertTableRowBelow() in insertTableRowBelow()
1043 void KoTextEditor::insertTableColumnLeft() in insertTableColumnLeft()
1055 void KoTextEditor::insertTableColumnRight() in insertTableColumnRight()
1067 void KoTextEditor::deleteTableColumn() in deleteTableColumn()
1079 void KoTextEditor::deleteTableRow() in deleteTableRow()
1091 void KoTextEditor::mergeTableCells() in mergeTableCells()
1097 d->updateState(KoTextEditor::Private::Custom, kundo2_i18n("Merge Cells")); in mergeTableCells()
1105 d->updateState(KoTextEditor::Private::NoOp); in mergeTableCells()
1108 void KoTextEditor::splitTableCells() in splitTableCells()
1114 d->updateState(KoTextEditor::Private::Custom, kundo2_i18n("Split Cells")); in splitTableCells()
1123 d->updateState(KoTextEditor::Private::NoOp); in splitTableCells()
1126 void KoTextEditor::adjustTableColumnWidth(QTextTable *table, int column, qreal width, KUndo2Command… in adjustTableColumnWidth()
1134 void KoTextEditor::adjustTableRowHeight(QTextTable *table, int column, qreal height, KUndo2Command … in adjustTableRowHeight()
1141 void KoTextEditor::adjustTableWidth(QTextTable *table, qreal dLeft, qreal dRight) in adjustTableWidth()
1143 d->updateState(KoTextEditor::Private::Custom, kundo2_i18n("Adjust Table Width")); in adjustTableWidth()
1154 d->updateState(KoTextEditor::Private::NoOp); in adjustTableWidth()
1157 void KoTextEditor::setTableBorderData(QTextTable *table, int row, int column, in setTableBorderData()
1160 d->updateState(KoTextEditor::Private::Custom, kundo2_i18n("Change Border Formatting")); in setTableBorderData()
1170 d->updateState(KoTextEditor::Private::NoOp); in setTableBorderData()
1173 KoInlineNote *KoTextEditor::insertFootNote() in insertFootNote()
1186 KoInlineNote *KoTextEditor::insertEndNote() in insertEndNote()
1199 void KoTextEditor::insertTableOfContents(KoTableOfContentsGeneratorInfo *info) in insertTableOfContents()
1207 d->updateState(KoTextEditor::Private::Custom, kundo2_i18n("Insert Table Of Contents")); in insertTableOfContents()
1252 d->updateState(KoTextEditor::Private::NoOp); in insertTableOfContents()
1258 void KoTextEditor::setTableOfContentsConfig(KoTableOfContentsGeneratorInfo *info, const QTextBlock … in setTableOfContentsConfig()
1266 d->updateState(KoTextEditor::Private::Custom, kundo2_i18n("Modify Table Of Contents")); in setTableOfContentsConfig()
1274 d->updateState(KoTextEditor::Private::NoOp); in setTableOfContentsConfig()
1279 void KoTextEditor::insertBibliography(KoBibliographyInfo *info) in insertBibliography()
1283 d->updateState(KoTextEditor::Private::Custom, kundo2_i18n("Insert Bibliography")); in insertBibliography()
1331 d->updateState(KoTextEditor::Private::NoOp); in insertBibliography()
1337 KoInlineCite *KoTextEditor::insertCitation() in insertCitation()
1341 d->updateState(KoTextEditor::Private::KeyPress, kundo2_i18n("Add Citation")); in insertCitation()
1356 d->updateState(KoTextEditor::Private::NoOp); in insertCitation()
1362 void KoTextEditor::insertText(const QString &text, const QString &hRef) in insertText()
1370 d->updateState(KoTextEditor::Private::KeyPress, kundo2_i18n("Typing")); in insertText()
1427 bool KoTextEditor::movePosition(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode, i… in movePosition()
1467 void KoTextEditor::newSection() in newSection()
1478 void KoTextEditor::splitSectionsStartings(int sectionIdToInsertBefore) in splitSectionsStartings()
1490 void KoTextEditor::splitSectionsEndings(int sectionIdToInsertAfter) in splitSectionsEndings()
1502 void KoTextEditor::renameSection(KoSection* section, const QString &newName) in renameSection()
1510 void KoTextEditor::newLine() in newLine()
1518 d->updateState(KoTextEditor::Private::Custom, kundo2_i18n("New Paragraph")); in newLine()
1532 d->updateState(KoTextEditor::Private::NoOp); in newLine()
1541 WithinSelectionVisitor(KoTextEditor *editor, int position) in WithinSelectionVisitor()
1560 bool KoTextEditor::isWithinSelection(int position) const in isWithinSelection()
1564 WithinSelectionVisitor visitor(const_cast<KoTextEditor *>(this), position); in isWithinSelection()
1570 int KoTextEditor::position() const in position()
1575 void KoTextEditor::select(QTextCursor::SelectionType selection) in select()
1581 QString KoTextEditor::selectedText() const in selectedText()
1586 QTextDocumentFragment KoTextEditor::selection() const in selection()
1591 int KoTextEditor::selectionEnd() const in selectionEnd()
1596 int KoTextEditor::selectionStart() const in selectionStart()
1601 void KoTextEditor::setPosition(int pos, QTextCursor::MoveMode mode) in setPosition()
1640 void KoTextEditor::setVisualNavigation(bool b) in setVisualNavigation()
1645 bool KoTextEditor::visualNavigation() const in visualNavigation()
1650 const QTextFrame *KoTextEditor::currentFrame () const in currentFrame()
1655 const QTextList *KoTextEditor::currentList () const in currentList()
1660 const QTextTable *KoTextEditor::currentTable () const in currentTable()