#include <TGHtml.h>
Inheritance diagram for TGHtmlLayoutContext:
Definition at line 759 of file TGHtml.h.
TGHtmlLayoutContext::TGHtmlLayoutContext | ( | ) |
Definition at line 36 of file TGHtmlLayout.cxx.
References fHtml, fLeft, fLeftMargin, fMaxX, fMaxY, fPageWidth, fPEnd, fPStart, fRight, fRightMargin, and Reset().
TGHtmlLayoutContext::TGHtmlLayoutContext | ( | ) |
void TGHtmlLayoutContext::LayoutBlock | ( | ) |
Definition at line 1074 of file TGHtmlLayout.cxx.
References CLEAR_First, ClearObstacle(), ComputeMargins(), DoBreakMarkup(), fBottom, FixAnchors(), FixLine(), fLeft, fMaxX, fMaxY, fPEnd, fPStart, GetLine(), InWrapAround(), p, PopIndent(), and y.
Referenced by TGHtml::LayoutDoc().
void TGHtmlLayoutContext::Reset | ( | ) |
Definition at line 54 of file TGHtmlLayout.cxx.
References ClearMarginStack(), fBottom, fHeadRoom, fLeftMargin, fRightMargin, and fTop.
Referenced by TGHtml::ResetLayoutContext(), and TGHtmlLayoutContext().
void TGHtmlLayoutContext::PopIndent | ( | ) |
Definition at line 1167 of file TGHtmlLayout.cxx.
References fHeadRoom, fRightMargin, Html_EndBLOCKQUOTE, and PopMargin().
Referenced by LayoutBlock().
void TGHtmlLayoutContext::PushIndent | ( | ) |
Definition at line 1155 of file TGHtmlLayout.cxx.
References fHeadRoom, fHtml, fLeftMargin, fRightMargin, TGHtml::GetMarginHeight(), TGHtml::GetMarginWidth(), Html_EndBLOCKQUOTE, and PushMargin().
Referenced by TGHtml::LayoutDoc().
void TGHtmlLayoutContext::PushMargin | ( | SHtmlMargin_t ** | ppMargin, | |
int | indent, | |||
int | bottom, | |||
int | tag | |||
) | [protected] |
Definition at line 66 of file TGHtmlLayout.cxx.
References SHtmlMargin_t::fBottom, SHtmlMargin_t::fIndent, SHtmlMargin_t::fPNext, and SHtmlMargin_t::fTag.
Referenced by DoBreakMarkup(), and PushIndent().
void TGHtmlLayoutContext::PopOneMargin | ( | SHtmlMargin_t ** | ppMargin | ) | [protected] |
Definition at line 97 of file TGHtmlLayout.cxx.
References SHtmlMargin_t::fPNext.
Referenced by ClearMarginStack(), ClearObstacle(), PopExpiredMargins(), and PopMargin().
void TGHtmlLayoutContext::PopMargin | ( | SHtmlMargin_t ** | ppMargin, | |
int | tag | |||
) | [protected] |
Definition at line 109 of file TGHtmlLayout.cxx.
References fBottom, SHtmlMargin_t::fBottom, fHeadRoom, SHtmlMargin_t::fPNext, SHtmlMargin_t::fTag, and PopOneMargin().
Referenced by DoBreakMarkup(), and PopIndent().
void TGHtmlLayoutContext::PopExpiredMargins | ( | SHtmlMargin_t ** | ppMarginStack, | |
int | y | |||
) | [protected] |
Definition at line 143 of file TGHtmlLayout.cxx.
References SHtmlMargin_t::fBottom, and PopOneMargin().
Referenced by ClearObstacle(), and ComputeMargins().
void TGHtmlLayoutContext::ClearMarginStack | ( | SHtmlMargin_t ** | ppMargin | ) | [protected] |
TGHtmlElement * TGHtmlLayoutContext::GetLine | ( | TGHtmlElement * | pStart, | |
TGHtmlElement * | pEnd, | |||
int | width, | |||
int | minX, | |||
int * | actualWidth | |||
) | [protected] |
Definition at line 171 of file TGHtmlLayout.cxx.
References TGHtmlLi::fX, HTML_INDENT, Html_LI, Html_P, Html_Space, Html_Text, if(), p, STY_DT, STY_Invisible, STY_Preformatted, text(), and x.
Referenced by LayoutBlock().
void TGHtmlLayoutContext::FixAnchors | ( | TGHtmlElement * | p, | |
TGHtmlElement * | pEnd, | |||
int | y | |||
) | [protected] |
int TGHtmlLayoutContext::FixLine | ( | TGHtmlElement * | pStart, | |
TGHtmlElement * | pEnd, | |||
int | bottom, | |||
int | width, | |||
int | actualWidth, | |||
int | leftMargin, | |||
int * | maxX | |||
) | [protected] |
Definition at line 436 of file TGHtmlLayout.cxx.
References ALIGN_Center, ALIGN_Right, TGHtmlSpaceElement::fAscent, TGHtmlLi::fX, Html_IMG, Html_LI, Html_Space, Html_Text, if(), image, IMAGE_ALIGN_AbsBottom, IMAGE_ALIGN_AbsMiddle, IMAGE_ALIGN_Bottom, IMAGE_ALIGN_Middle, max, p, STY_Invisible, text(), and y.
Referenced by LayoutBlock().
void TGHtmlLayoutContext::Paragraph | ( | TGHtmlElement * | p | ) | [protected] |
Definition at line 656 of file TGHtmlLayout.cxx.
References FontMetrics_t::fAscent, FontMetrics_t::fDescent, fHeadRoom, fHtml, fTop, TGHtml::GetFont(), TGFont::GetFontMetrics(), Html_Text, p, and text().
Referenced by DoBreakMarkup().
void TGHtmlLayoutContext::ComputeMargins | ( | int * | pX, | |
int * | pY, | |||
int * | pW | |||
) | [protected] |
Definition at line 683 of file TGHtmlLayout.cxx.
References fBottom, fHeadRoom, SHtmlMargin_t::fIndent, fLeft, fLeftMargin, fPageWidth, fRight, fRightMargin, PopExpiredMargins(), x, and y.
Referenced by DoBreakMarkup(), LayoutBlock(), TableLayout(), and WidenLine().
void TGHtmlLayoutContext::ClearObstacle | ( | int | mode | ) | [protected] |
Definition at line 723 of file TGHtmlLayout.cxx.
References CLEAR_Both, CLEAR_First, CLEAR_Left, CLEAR_Right, fBottom, SHtmlMargin_t::fBottom, fHeadRoom, fLeftMargin, fRightMargin, PopExpiredMargins(), and PopOneMargin().
Referenced by DoBreakMarkup(), LayoutBlock(), and WidenLine().
TGHtmlElement * TGHtmlLayoutContext::DoBreakMarkup | ( | TGHtmlElement * | p | ) | [protected] |
Definition at line 822 of file TGHtmlLayout.cxx.
References ALIGN_Center, ALIGN_None, ALIGN_Right, CLEAR_Both, CLEAR_Left, CLEAR_Right, ClearObstacle(), ComputeMargins(), fBottom, TGHtmlElement::fFlags, TGHtmlHr::fH, fHeadRoom, fHtml, TGHtmlHr::fIs3D, fLeftMargin, fMaxX, fMaxY, TGHtmlElement::fPNext, fRightMargin, TGHtmlElement::fType, TGHtmlHr::fW, TGHtmlHr::fX, TGHtmlHr::fY, TGHtml::GetRulePadding(), TGHtml::GetRuleRelief(), Html_A, Html_ADDRESS, Html_APPLET, Html_BLOCKQUOTE, Html_BR, Html_CENTER, Html_DIR, Html_DIV, Html_DL, Html_EMBED, Html_EndADDRESS, Html_EndBLOCKQUOTE, Html_EndCENTER, Html_EndDIR, Html_EndDIV, Html_EndDL, Html_EndFORM, Html_EndH1, Html_EndH2, Html_EndH3, Html_EndH4, Html_EndH5, Html_EndH6, Html_EndMENU, Html_EndOL, Html_EndP, Html_EndPRE, Html_EndUL, Html_H1, Html_H2, Html_H3, Html_H4, Html_H5, Html_H6, Html_HR, Html_IMG, HTML_INDENT, Html_INPUT, Html_LI, Html_MENU, HTML_NewLine, Html_OL, Html_P, Html_PRE, HTML_RELIEF_RAISED, HTML_RELIEF_SUNKEN, Html_SELECT, Html_Space, Html_TABLE, Html_Text, Html_TEXTAREA, Html_UL, image, IMAGE_ALIGN_Left, IMAGE_ALIGN_Right, p, Paragraph(), PopMargin(), PushMargin(), strcasecmp, TableLayout(), x, and y.
Referenced by LayoutBlock().
int TGHtmlLayoutContext::InWrapAround | ( | ) | [protected] |
Definition at line 1042 of file TGHtmlLayout.cxx.
References SHtmlMargin_t::fBottom, fLeftMargin, and fRightMargin.
Referenced by LayoutBlock(), and WidenLine().
void TGHtmlLayoutContext::WidenLine | ( | int | reqWidth, | |
int * | pX, | |||
int * | pY, | |||
int * | pW | |||
) | [protected] |
Definition at line 1053 of file TGHtmlLayout.cxx.
References CLEAR_First, ClearObstacle(), ComputeMargins(), and InWrapAround().
Referenced by TableLayout().
TGHtmlElement * TGHtmlLayoutContext::TableLayout | ( | TGHtmlTable * | p | ) | [protected] |
Definition at line 1115 of file TGHtmlTable.cxx.
References align(), ALIGN_Center, ALIGN_Right, TGHtml::CellSpacing(), ComputeMargins(), DFLT_CELLPADDING, DFLT_HSPACE, DFLT_VSPACE, SHtmlStyle_t::fAlign, TGHtmlTable::fBorderWidth, fHtml, TGHtmlTable::fMaxW, TGHtmlTable::fMinW, TGHtmlTable::fNCol, for(), TGHtmlElement::fStyle, TGHtmlElement::fType, TGHtml::GetTokenName(), Html_TABLE, HtmlTrace_Table2, HtmlTrace_Table4, HtmlTraceMask, TGHtmlMarkupElement::MarkupArg(), N, n, p, strcasecmp, TGHtml::TableDimensions(), TRACE, TRACE_PUSH, w, WidenLine(), width, x, y, and ymax.
Referenced by DoBreakMarkup().
void TGHtmlLayoutContext::LayoutBlock | ( | ) |
void TGHtmlLayoutContext::Reset | ( | ) |
void TGHtmlLayoutContext::PopIndent | ( | ) |
void TGHtmlLayoutContext::PushIndent | ( | ) |
void TGHtmlLayoutContext::PushMargin | ( | SHtmlMargin_t ** | ppMargin, | |
int | indent, | |||
int | bottom, | |||
int | tag | |||
) | [protected] |
void TGHtmlLayoutContext::PopOneMargin | ( | SHtmlMargin_t ** | ppMargin | ) | [protected] |
void TGHtmlLayoutContext::PopMargin | ( | SHtmlMargin_t ** | ppMargin, | |
int | tag | |||
) | [protected] |
void TGHtmlLayoutContext::PopExpiredMargins | ( | SHtmlMargin_t ** | ppMarginStack, | |
int | y | |||
) | [protected] |
void TGHtmlLayoutContext::ClearMarginStack | ( | SHtmlMargin_t ** | ppMargin | ) | [protected] |
TGHtmlElement* TGHtmlLayoutContext::GetLine | ( | TGHtmlElement * | pStart, | |
TGHtmlElement * | pEnd, | |||
int | width, | |||
int | minX, | |||
int * | actualWidth | |||
) | [protected] |
void TGHtmlLayoutContext::FixAnchors | ( | TGHtmlElement * | p, | |
TGHtmlElement * | pEnd, | |||
int | y | |||
) | [protected] |
int TGHtmlLayoutContext::FixLine | ( | TGHtmlElement * | pStart, | |
TGHtmlElement * | pEnd, | |||
int | bottom, | |||
int | width, | |||
int | actualWidth, | |||
int | leftMargin, | |||
int * | maxX | |||
) | [protected] |
void TGHtmlLayoutContext::Paragraph | ( | TGHtmlElement * | p | ) | [protected] |
void TGHtmlLayoutContext::ComputeMargins | ( | int * | pX, | |
int * | pY, | |||
int * | pW | |||
) | [protected] |
void TGHtmlLayoutContext::ClearObstacle | ( | int | mode | ) | [protected] |
TGHtmlElement* TGHtmlLayoutContext::DoBreakMarkup | ( | TGHtmlElement * | p | ) | [protected] |
int TGHtmlLayoutContext::InWrapAround | ( | ) | [protected] |
void TGHtmlLayoutContext::WidenLine | ( | int | reqWidth, | |
int * | pX, | |||
int * | pY, | |||
int * | pW | |||
) | [protected] |
TGHtmlElement* TGHtmlLayoutContext::TableLayout | ( | TGHtmlTable * | p | ) | [protected] |
Definition at line 793 of file TGHtml.h.
Referenced by DoBreakMarkup(), TGHtml::LayoutDoc(), Paragraph(), PushIndent(), TableLayout(), and TGHtmlLayoutContext().
Definition at line 794 of file TGHtml.h.
Referenced by LayoutBlock(), TGHtml::LayoutDoc(), and TGHtmlLayoutContext().
Definition at line 796 of file TGHtml.h.
Referenced by ClearObstacle(), ComputeMargins(), DoBreakMarkup(), TGHtml::LayoutDoc(), Paragraph(), PopIndent(), PopMargin(), PushIndent(), and Reset().
Definition at line 798 of file TGHtml.h.
Referenced by ClearObstacle(), ComputeMargins(), DoBreakMarkup(), LayoutBlock(), TGHtml::LayoutDoc(), PopMargin(), and Reset().
Definition at line 799 of file TGHtml.h.
Referenced by ComputeMargins(), LayoutBlock(), TGHtml::LayoutDoc(), and TGHtmlLayoutContext().
Definition at line 799 of file TGHtml.h.
Referenced by ComputeMargins(), TGHtml::LayoutDoc(), and TGHtmlLayoutContext().
Definition at line 800 of file TGHtml.h.
Referenced by ComputeMargins(), TGHtml::LayoutDoc(), and TGHtmlLayoutContext().
Definition at line 802 of file TGHtml.h.
Referenced by DoBreakMarkup(), LayoutBlock(), TGHtml::LayoutDoc(), and TGHtmlLayoutContext().
Definition at line 802 of file TGHtml.h.
Referenced by DoBreakMarkup(), LayoutBlock(), TGHtml::LayoutDoc(), and TGHtmlLayoutContext().
Definition at line 803 of file TGHtml.h.
Referenced by ClearObstacle(), ComputeMargins(), DoBreakMarkup(), InWrapAround(), PushIndent(), Reset(), and TGHtmlLayoutContext().
Definition at line 804 of file TGHtml.h.
Referenced by ClearObstacle(), ComputeMargins(), DoBreakMarkup(), InWrapAround(), PopIndent(), PushIndent(), Reset(), and TGHtmlLayoutContext().