lib Library API Documentation

KoTextFormatter Class Reference

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. More...

#include <kotextformatter.h>

Collaboration diagram for KoTextFormatter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:41:28 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003