lib

KoTextFormatter Class Reference

#include <KoTextFormatter.h>

Inheritance diagram for KoTextFormatter:

KoTextFormatterBase List of all members.

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.

Author:
David Faure <faure@kde.org>

Definition at line 34 of file KoTextFormatter.h.


Public Member Functions

 KoTextFormatter ()
virtual ~KoTextFormatter ()
virtual bool format (KoTextDocument *doc, KoTextParag *parag, int start, const QMap< int, KoTextParagLineStart * > &oldLineStarts, int &y, int &widthUsed)
virtual void postFormat (KoTextParag *parag)
KoHyphenatorhyphenator ()

The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys