.TH "khtml::RenderObject" 3 "28 Jan 2004" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
khtml::RenderObject \- Base Class for all rendering tree objects.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <render_object.h>\fP
.PP
Inherits CachedObjectClient.
.PP
Inherited by \fBkhtml::RenderContainer\fP, and khtml::RenderText.
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBBorderSide\fP { \fBBSTop\fP, \fBBSBottom\fP, \fBBSLeft\fP, \fBBSRight\fP }"
.br
.ti -1c
.RI "enum \fBSelectionState\fP { \fBSelectionNone\fP, \fBSelectionStart\fP, \fBSelectionInside\fP, \fBSelectionEnd\fP, \fBSelectionBoth\fP }"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBRenderObject\fP (DOM::NodeImpl *node)"
.br
.ti -1c
.RI "\fBRenderObject\fP * \fBparent\fP () const "
.br
.ti -1c
.RI "\fBRenderObject\fP * \fBpreviousSibling\fP () const "
.br
.ti -1c
.RI "\fBRenderObject\fP * \fBnextSibling\fP () const "
.br
.ti -1c
.RI "virtual \fBRenderObject\fP * \fBfirstChild\fP () const "
.br
.ti -1c
.RI "virtual \fBRenderObject\fP * \fBlastChild\fP () const "
.br
.ti -1c
.RI "\fBRenderObject\fP * \fBobjectBelow\fP () const "
.br
.ti -1c
.RI "\fBRenderObject\fP * \fBobjectAbove\fP () const "
.br
.ti -1c
.RI "virtual void \fBaddChild\fP (\fBRenderObject\fP *newChild, \fBRenderObject\fP *beforeChild=0)"
.br
.ti -1c
.RI "void \fBremoveChild\fP (\fBRenderObject\fP *oldChild)"
.br
.ti -1c
.RI "virtual \fBRenderObject\fP * \fBremoveChildNode\fP (\fBRenderObject\fP *child)"
.br
.ti -1c
.RI "virtual void \fBappendChildNode\fP (\fBRenderObject\fP *child)"
.br
.ti -1c
.RI "virtual void \fBinsertChildNode\fP (\fBRenderObject\fP *child, \fBRenderObject\fP *before)"
.br
.ti -1c
.RI "virtual const  char * \fBrenderName\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBinformation\fP () const "
.br
.ti -1c
.RI "virtual void \fBprintTree\fP (int indent=0) const "
.br
.ti -1c
.RI "virtual void \fBdump\fP (\fBQTextStream\fP *stream, \fBQString\fP ind='') const "
.br
.ti -1c
.RI "virtual bool \fBchildrenInline\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisRendered\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisFlow\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisListItem\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisRoot\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisBR\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisHtml\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisTableCell\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisTableRow\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisTableSection\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisTableCol\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisTable\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisWidget\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisBody\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisFormElement\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisFrameSet\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisApplet\fP () const "
.br
.ti -1c
.RI "bool \fBisAnonymousBox\fP () const "
.br
.ti -1c
.RI "void \fBsetIsAnonymousBox\fP (bool b)"
.br
.ti -1c
.RI "bool \fBisFloating\fP () const "
.br
.ti -1c
.RI "bool \fBisPositioned\fP () const "
.br
.ti -1c
.RI "bool \fBisRelPositioned\fP () const "
.br
.ti -1c
.RI "bool \fBisText\fP () const "
.br
.ti -1c
.RI "bool \fBisInline\fP () const "
.br
.ti -1c
.RI "bool \fBmouseInside\fP () const "
.br
.ti -1c
.RI "bool \fBisReplaced\fP () const "
.br
.ti -1c
.RI "bool \fBhasSpecialObjects\fP () const "
.br
.ti -1c
.RI "bool \fBlayouted\fP () const "
.br
.ti -1c
.RI "bool \fBminMaxKnown\fP () const "
.br
.ti -1c
.RI "bool \fBoverhangingContents\fP () const "
.br
.ti -1c
.RI "bool \fBhasFirstLine\fP () const "
.br
.ti -1c
.RI "bool \fBisSelectionBorder\fP () const "
.br
.ti -1c
.RI "bool \fBrecalcMinMax\fP () const "
.br
.ti -1c
.RI "RenderRoot * \fBroot\fP () const "
.br
.ti -1c
.RI "DOM::NodeImpl * \fBelement\fP () const "
.br
.ti -1c
.RI "\fBRenderObject\fP * \fBcontainer\fP () const "
.br
.RI "\fIreturns the object containing this one. \fP"
.ti -1c
.RI "void \fBsetOverhangingContents\fP (bool p=true)"
.br
.ti -1c
.RI "void \fBsetLayouted\fP ()"
.br
.ti -1c
.RI "void \fBsetLayouted\fP (bool b)"
.br
.ti -1c
.RI "void \fBsetLayoutedLocal\fP (bool b)"
.br
.ti -1c
.RI "void \fBsetMinMaxKnown\fP (bool b=true)"
.br
.ti -1c
.RI "void \fBsetPositioned\fP (bool b=true)"
.br
.ti -1c
.RI "void \fBsetRelPositioned\fP (bool b=true)"
.br
.ti -1c
.RI "void \fBsetFloating\fP (bool b=true)"
.br
.ti -1c
.RI "void \fBsetInline\fP (bool b=true)"
.br
.ti -1c
.RI "void \fBsetMouseInside\fP (bool b=true)"
.br
.ti -1c
.RI "void \fBsetSpecialObjects\fP (bool b=true)"
.br
.ti -1c
.RI "void \fBsetRenderText\fP ()"
.br
.ti -1c
.RI "void \fBsetReplaced\fP (bool b=true)"
.br
.ti -1c
.RI "void \fBsetIsSelectionBorder\fP (bool b=true)"
.br
.ti -1c
.RI "void \fBscheduleRelayout\fP ()"
.br
.ti -1c
.RI "virtual short \fBlineHeight\fP (bool firstLine) const "
.br
.ti -1c
.RI "virtual short \fBverticalPositionHint\fP (bool firstLine) const "
.br
.ti -1c
.RI "virtual short \fBbaselinePosition\fP (bool firstLine) const "
.br
.ti -1c
.RI "virtual void \fBpaint\fP (\fBQPainter\fP *p, int x, int y, int w, int h, int tx, int ty)"
.br
.ti -1c
.RI "virtual void \fBpaintObject\fP (\fBQPainter\fP *, int, int, int, int, int, int)"
.br
.ti -1c
.RI "void \fBpaintBorder\fP (\fBQPainter\fP *p, int _tx, int _ty, int w, int h, const  RenderStyle *style, bool begin=true, bool end=true)"
.br
.ti -1c
.RI "void \fBpaintOutline\fP (\fBQPainter\fP *p, int _tx, int _ty, int w, int h, const  RenderStyle *style)"
.br
.ti -1c
.RI "virtual void \fBcalcMinMaxWidth\fP ()"
.br
.ti -1c
.RI "void \fBrecalcMinMaxWidths\fP ()"
.br
.ti -1c
.RI "virtual void \fBcalcWidth\fP ()"
.br
.ti -1c
.RI "virtual void \fBlayout\fP ()=0"
.br
.ti -1c
.RI "virtual void \fBupdateFromElement\fP ()"
.br
.ti -1c
.RI "virtual void \fBclose\fP ()"
.br
.ti -1c
.RI "virtual int \fBavailableHeight\fP () const "
.br
.ti -1c
.RI "virtual FindSelectionResult \fBcheckSelectionPoint\fP (int _x, int _y, int _tx, int _ty, DOM::NodeImpl *&, int &offset)"
.br
.ti -1c
.RI "virtual bool \fBnodeAtPoint\fP (NodeInfo &info, int x, int y, int tx, int ty)"
.br
.ti -1c
.RI "virtual void \fBsetStyle\fP (RenderStyle *style)"
.br
.ti -1c
.RI "\fBRenderObject\fP * \fBcontainingBlock\fP () const "
.br
.ti -1c
.RI "virtual short \fBcontainingBlockWidth\fP () const "
.br
.ti -1c
.RI "virtual int \fBcontainingBlockHeight\fP () const "
.br
.ti -1c
.RI "virtual short \fBcontentWidth\fP () const "
.br
.ti -1c
.RI "virtual int \fBcontentHeight\fP () const "
.br
.ti -1c
.RI "virtual short \fBintrinsicWidth\fP () const "
.br
.ti -1c
.RI "virtual int \fBintrinsicHeight\fP () const "
.br
.ti -1c
.RI "virtual void \fBsetPos\fP (int, int)"
.br
.ti -1c
.RI "virtual void \fBsetWidth\fP (int)"
.br
.ti -1c
.RI "virtual void \fBsetHeight\fP (int)"
.br
.ti -1c
.RI "virtual int \fBxPos\fP () const "
.br
.ti -1c
.RI "virtual int \fByPos\fP () const "
.br
.ti -1c
.RI "virtual bool \fBabsolutePosition\fP (int &, int &, bool fixed=false)"
.br
.ti -1c
.RI "virtual short \fBwidth\fP () const "
.br
.ti -1c
.RI "virtual int \fBheight\fP () const "
.br
.ti -1c
.RI "virtual short \fBmarginTop\fP () const "
.br
.ti -1c
.RI "virtual short \fBmarginBottom\fP () const "
.br
.ti -1c
.RI "virtual short \fBmarginLeft\fP () const "
.br
.ti -1c
.RI "virtual short \fBmarginRight\fP () const "
.br
.ti -1c
.RI "int \fBpaddingTop\fP () const "
.br
.ti -1c
.RI "int \fBpaddingBottom\fP () const "
.br
.ti -1c
.RI "int \fBpaddingLeft\fP () const "
.br
.ti -1c
.RI "int \fBpaddingRight\fP () const "
.br
.ti -1c
.RI "int \fBborderTop\fP () const "
.br
.ti -1c
.RI "int \fBborderBottom\fP () const "
.br
.ti -1c
.RI "int \fBborderLeft\fP () const "
.br
.ti -1c
.RI "int \fBborderRight\fP () const "
.br
.ti -1c
.RI "virtual short \fBminWidth\fP () const "
.br
.ti -1c
.RI "virtual short \fBmaxWidth\fP () const "
.br
.ti -1c
.RI "RenderStyle * \fBstyle\fP () const "
.br
.ti -1c
.RI "RenderStyle * \fBstyle\fP (bool firstLine) const "
.br
.ti -1c
.RI "void \fBdrawBorder\fP (\fBQPainter\fP *p, int x1, int y1, int x2, int y2, BorderSide s, \fBQColor\fP c, const  \fBQColor\fP &textcolor, EBorderStyle style, int adjbw1, int adjbw2, bool invalidisInvert=false)"
.br
.ti -1c
.RI "virtual void \fBrepaint\fP ()"
.br
.ti -1c
.RI "virtual void \fBrepaintRectangle\fP (int x, int y, int w, int h, bool f=false)"
.br
.ti -1c
.RI "virtual unsigned int \fBlength\fP () const "
.br
.ti -1c
.RI "virtual bool \fBisHidden\fP () const "
.br
.ti -1c
.RI "bool \fBisSpecial\fP () const "
.br
.ti -1c
.RI "virtual bool \fBcontainsSpecial\fP ()"
.br
.ti -1c
.RI "virtual bool \fBhasOverhangingFloats\fP ()"
.br
.ti -1c
.RI "virtual void \fBposition\fP (int, int, int, int, int, bool, bool, int)"
.br
.ti -1c
.RI "virtual SelectionState \fBselectionState\fP () const "
.br
.ti -1c
.RI "virtual void \fBsetSelectionState\fP (SelectionState)"
.br
.ti -1c
.RI "virtual void \fBcursorPos\fP (int, int &, int &, int &)"
.br
.ti -1c
.RI "virtual int \fBlowestPosition\fP () const "
.br
.ti -1c
.RI "virtual int \fBrightmostPosition\fP () const "
.br
.ti -1c
.RI "virtual void \fBcalcVerticalMargins\fP ()"
.br
.ti -1c
.RI "void \fBremoveFromSpecialObjects\fP ()"
.br
.RI "\fIthis method is unused \fP"
.ti -1c
.RI "virtual void \fBdetach\fP ()"
.br
.ti -1c
.RI "const  \fBQFont\fP & \fBfont\fP (bool firstLine) const "
.br
.ti -1c
.RI "const  \fBQFontMetrics\fP & \fBfontMetrics\fP (bool firstLine) const "
.br
.in -1c
.SS "Static Public Member Functions"

.in +1c
.ti -1c
.RI "\fBRenderObject\fP * \fBcreateObject\fP (DOM::NodeImpl *node, RenderStyle *style)"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBselectionStartEnd\fP (int &spos, int &epos)"
.br
.ti -1c
.RI "virtual void \fBpaintBoxDecorations\fP (\fBQPainter\fP *, int, int, int, int, int, int)"
.br
.ti -1c
.RI "virtual \fBQRect\fP \fBviewRect\fP () const "
.br
.ti -1c
.RI "void \fBremove\fP ()"
.br
.ti -1c
.RI "void \fBinvalidateVerticalPositions\fP ()"
.br
.ti -1c
.RI "short \fBgetVerticalPosition\fP (bool firstLine) const "
.br
.ti -1c
.RI "virtual void \fBremoveLeftoverAnonymousBoxes\fP ()"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBRenderListItem\fP"
.br
.ti -1c
.RI "class \fBRenderContainer\fP"
.br
.ti -1c
.RI "class \fBRenderRoot\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Base Class for all rendering tree objects. Definition at line 73 of file render_object.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBRenderObject\fP * RenderObject::container () const"
.PP
returns the object containing this one. can be different from parent for positioned elements Definition at line 795 of file render_object.cpp.
.SS "void RenderObject::removeFromSpecialObjects ()"
.PP
this method is unused Definition at line 818 of file render_object.cpp.
.PP
References isFlow(), and parent().

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
