The PreformatRenderer class displays content by preserving all white-space and line breaks. More...
Publicly inherits TextRenderer.
| PreformatRenderer | ( Canvas* canvas, SgmlParser* parser, int clipWidth=???, QObject* parent=???, const char* name=??? ); | |
| virtual bool | redraw | ( ); |
| virtual void | content | ( QString text ); |
| int | _column; |
The PreformatRenderer class displays content by preserving all white-space and line breaks.
As content comes in, it is broken up into separate lines. When redraw()ing, each line is repositioned.Create a PreformatRenderer.
Reposition each of the Inline elements. Line breaks only occur on newline characters.
Break content up into sinlge lines, preserving all white-space.