The TextRenderer class is the base class for all block-level renderers. More...
Publicly inherits SgmlRenderer.
Publicly inherited by BlockRenderer, PreformatRenderer.
TextRenderer | ( Canvas* canvas, SgmlParser* parser, int clipWidth=???, QObject* parent=???, const char* name=??? ); | |
bool | findAnchor | ( const QString& name, int& x, int& y ); |
void | repaint | ( QPainter& p, const Rect& r ); |
virtual | ~TextRenderer | ( ); |
virtual void | endOfData | ( ); |
virtual void | endTag | ( ); |
virtual void | startTag | ( ); |
const QString | findHyperlink | ( bool endTag=??? ); |
StyleRenderer* | makeStyle | ( Style* style, bool endTag=??? ); |
bool | _done; |
QString | _leftover; |
QList<Line> | _lines; |
ListBoxRenderer* | _listBox; |
OptionRenderer* | _option; |
bool | _optionSelected; |
QString | _optionText; |
QString | _optionValue; |
int | _prefix; |
QList<Renderer> | _renderers; |
bool | _spaceAfter; |
bool | _spaceBefore; |
bool | _startOfContent; |
TextAreaRenderer* | _textArea; |
The TextRenderer class is the base class for all block-level renderers.
The TextRenderer maintains a list of inlined elements (words and images), and repaints them on demand. It also keeps a list of mouse zones for clickable hyperlinks.Create a TextRenderer. Nothing new here, compared to the SgmlRenderer.
This is a virtual destructor.
Process the endOfData signal from the SgmlParser. Finish processing any previously leftover content.
Process the endTag signal from the SgmlParser. Finish processing any leftover content.
Process the startTag signal from the SgmlParser. Finish processing any leftover content.