82                                    int indent, 
int mbottom, 
int tag)
 
   91   pNew->fBottom = mbottom;
 
 
  155         (**ppMarginStack).fBottom <= 
y) {
 
 
  218   if (
p && 
p->fStyle.fFlags & 
STY_DT) {
 
  240   for (; 
p && 
p != 
p_end; 
p = 
p ? 
p->fPNext : 0) {
 
  265               x += space->
fW * 
p->fCount;
 
  280            switch (
image->fAlign) {
 
 
  486               ss = 
p->fStyle.fSubscript;
 
  515               if (
li->fX > max) max = 
li->fX;
 
  523               switch (
image->fAlign) {
 
  603               switch (
image->fAlign) {
 
 
  666   } 
else if (
p->fPNext && 
p->fPNext->fType == 
Html_Text) {
 
  674      if (font == 0) 
return;
 
 
  814   while ((
p = 
p->fPNext)) {
 
  815      if (
p->IsMarkup()) 
return p->fType;
 
 
  852         switch (
image->fAlign) {
 
  925         hr->fIs3D = (
p->MarkupArg(
"noshade", 0) == 0);
 
  926         z = 
p->MarkupArg(
"size", 0);
 
  946         z = 
p->MarkupArg(
"width", 
"100%");
 
  948         if (
zl > 0 && z[
zl-1] == 
'%') {
 
  949            wd = (atoi(z) * 
w) / 100;
 
  951            wd = z ? atoi(z) : 
w;
 
  955         switch (
p->fStyle.fAlign) {
 
  958               hr->fX += (
w - 
wd) / 2;
 
 1005         z = 
p->MarkupArg(
"clear",0);
 
 1015         if (
p->fPNext && 
p->fPNext->fPNext && 
p->fPNext->fType == 
Html_Space &&
 
 1016             p->fPNext->fPNext->fType == 
Html_BR) {
 
 
 1068#ifdef TABLE_TRIM_BLANK 
 1099      if (
p == 0 || 
p == 
fPEnd) 
break;
 
 1101#ifdef TABLE_TRIM_BLANK 
 1132#ifdef TABLE_TRIM_BLANK 
 
static void indent(ostringstream &buf, int indent_level)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
#define HTML_RELIEF_SUNKEN
 
#define HTML_RELIEF_RAISED
 
#define IMAGE_ALIGN_Bottom
 
#define IMAGE_ALIGN_AbsMiddle
 
#define IMAGE_ALIGN_Right
 
#define IMAGE_ALIGN_TextTop
 
#define IMAGE_ALIGN_AbsBottom
 
#define IMAGE_ALIGN_Middle
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
 
Option_t Option_t TPoint TPoint const char mode
 
Option_t Option_t TPoint TPoint const char text
 
Encapsulate fonts used in the GUI system.
 
void GetFontMetrics(FontMetrics_t *m) const
Get font metrics.
 
int InWrapAround()
Return TRUE (non-zero) if we are currently wrapping text around one or more images.
 
TGHtmlElement * GetLine(TGHtmlElement *pStart, TGHtmlElement *pEnd, int width, int minX, int *actualWidth)
This routine gathers as many tokens as will fit on one line.
 
TGHtmlLayoutContext()
Html Layout Context constructor.
 
void ComputeMargins(int *pX, int *pY, int *pW)
Compute the current margins for layout.
 
TGHtmlElement * TableLayout(TGHtmlTable *p)
Do all layout for a single table.
 
void PopOneMargin(SHtmlMargin_t **ppMargin)
Pop one margin off of the given margin stack.
 
void PopMargin(SHtmlMargin_t **ppMargin, int tag)
Pop as many margins as necessary until the margin that was created with "tag" is popped off.
 
void LayoutBlock()
Do as much layout as possible on the block of text defined by the HtmlLayoutContext.
 
SHtmlMargin_t * fRightMargin
 
void PushMargin(SHtmlMargin_t **ppMargin, int indent, int bottom, int tag)
Push a new margin onto the given margin stack.
 
void ClearMarginStack(SHtmlMargin_t **ppMargin)
Clear a margin stack to reclaim memory.
 
TGHtmlElement * DoBreakMarkup(TGHtmlElement *p)
Break markup is any kind of markup that might force a line-break.
 
void Paragraph(TGHtmlElement *p)
Increase the headroom to create a paragraph break at the current token.
 
int FixLine(TGHtmlElement *pStart, TGHtmlElement *pEnd, int bottom, int width, int actualWidth, int leftMargin, int *maxX)
This routine computes the X and Y coordinates for all elements of a line that has been gathered using...
 
void PopIndent()
Adjust (pop) ident.
 
void ClearObstacle(int mode)
Clear a wrap-around obstacle.
 
void WidenLine(int reqWidth, int *pX, int *pY, int *pW)
Move past obstacles until a linewidth of reqWidth is obtained, or until all obstacles are cleared.
 
void PopExpiredMargins(SHtmlMargin_t **ppMarginStack, int y)
Pop all expired margins from the stack.
 
void FixAnchors(TGHtmlElement *p, TGHtmlElement *pEnd, int y)
Set the y coordinate for every anchor in the given list.
 
SHtmlMargin_t * fLeftMargin
 
void Reset()
Reset the layout context.
 
void PushIndent()
Adjust (push) ident.
 
virtual TGFont * GetFont(int iFont)
The rendering and layout routines should call this routine in order to get a font structure.
 
void LayoutDoc()
Advance the layout as far as possible.
 
int NextMarkupType(TGHtmlElement *p)
Return the next markup type [TGHtmlElement::NextMarkupType].
 
void RedrawText(int y)
Call this routine to cause all of the rendered HTML at the virtual canvas coordinate of Y and beyond ...
 
void Sizer()
Compute the size of all elements in the widget.
 
TGHtmlElement * AttrElem(const char *name, char *value)
Returns html element matching attribute name and value.
 
int GetRulePadding() const
 
TGHtmlElement * fNextPlaced
 
TGHtmlLayoutContext fLayoutContext
 
int GetRuleRelief() const
 
TGLongPosition fVisible
position of visible region
 
TGViewFrame * fCanvas
frame containing the text