lib
KoParagVisitor Class Reference
#include <KoTextDocument.h>
Inherited by KoHasCustomItemVisitor.
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.
Public Member Functions | |
virtual bool | visit (KoTextParag *parag, int start, int end)=0 |
Protected Member Functions | |
KoParagVisitor () |
Constructor & Destructor Documentation
KoParagVisitor::KoParagVisitor | ( | ) | [inline, protected] |
Member Function Documentation
virtual bool KoParagVisitor::visit | ( | KoTextParag * | parag, | |
int | start, | |||
int | end | |||
) | [pure virtual] |
Visit the paragraph parag
, from index start
to index end
.
The documentation for this class was generated from the following file: