KoParagVisitor Class Referenceabstract
#include <KoTextDocument.h>
Inherited by KoHasCustomItemVisitor.
Public Member Functions | |
| virtual bool | visit (KoTextParag *parag, int start, int end)=0 |
Protected Member Functions | |
| KoParagVisitor () | |
Detailed Description
Base class for "visitors".
Visitors are a well-designed way to apply a given operation to all the paragraphs in a selection, or in a document. The visitor needs to inherit KoParagVisitor, and implement visit().
Definition at line 591 of file KoTextDocument.h.
Constructor & Destructor Documentation
◆ KoParagVisitor()
|
inlineprotected |
protected since this is an abstract base class
Definition at line 595 of file KoTextDocument.h.
◆ ~KoParagVisitor()
|
inlineprotectedvirtual |
Definition at line 596 of file KoTextDocument.h.
Member Function Documentation
◆ visit()
|
pure virtual |
Visit the paragraph parag, from index start to index end.
The documentation for this class was generated from the following file:
