KoTextFormatter Class Reference
#include <KoTextFormatter.h>
Public Member Functions | |
| virtual bool | format (KoTextDocument *doc, KoTextParag *parag, int start, const TQMap< int, KoTextParagLineStart * > &oldLineStarts, int &y, int &widthUsed) |
| virtual void | postFormat (KoTextParag *parag) |
| KoHyphenator * | hyphenator () |
Detailed Description
We implement our own text formatter to implement WYSIWYG: It is heavily based on KoTextFormatterBaseBreakWords, but stores the x position of characters (and their width) in pixels, whereas all the rest is in L.U.
It also implements hyphenation.
Definition at line 34 of file KoTextFormatter.h.
Constructor & Destructor Documentation
◆ KoTextFormatter()
| KoTextFormatter::KoTextFormatter | ( | ) |
Definition at line 45 of file KoTextFormatter.cpp.
◆ ~KoTextFormatter()
|
virtual |
Definition at line 55 of file KoTextFormatter.cpp.
Member Function Documentation
◆ format()
|
virtual |
Definition at line 68 of file KoTextFormatter.cpp.
◆ hyphenator()
|
inline |
Definition at line 45 of file KoTextFormatter.h.
◆ postFormat()
|
virtual |
Definition at line 1066 of file KoTextFormatter.cpp.
The documentation for this class was generated from the following files:
