Inheritance diagram for wx.html.HtmlWinParser:
This class is derived from wx.html.HtmlParser and its main goal is to parse HTML input so that it can be displayed in wx.html.HtmlWindow.
It uses a special wx.html.HtmlWinTagHandler.
Constructor.
Parameters:
Returns:
Closes the container, sets actual container to the parent one and returns pointer to it.
Returns:
Creates font based on current setting (see SetFontSize, SetFontBold, SetFontItalic, SetFontFixed, SetFontUnderlined) and returns pointer to it.
If the font was already created only a pointer is returned.
Returns:
Returns default horizontal alignment.
Returns:
int
Returns (average) char height in standard font. It is used as DC-independent metrics.
Returns:
int
Note
This function doesn’t return the actual height. If you want to know the height of the current font, call GetDC().GetCharHeight().
Returns average char width in standard font. It is used as DC-independent metrics.
Returns:
int
Note
This function doesn’t return the actual height. If you want to know the height of the current font, call GetDC().GetCharWidth().
Returns pointer to the currently opened container.
Returns:
Returns True if actual font is bold, False otherwise.
Returns:
bool
Returns True if actual font is fixed face, False otherwise.
Returns:
bool
Returns True if actual font is italic, False otherwise.
Returns:
bool
Returns actual font size (HTML size varies from -2 to +4)
Returns:
int
Returns True if actual font is underlined, False otherwise.
Returns:
bool
Returns actual hypertext link.
Returns:
Returns associated window (wx.html.HtmlWindow).
This may be None! (You should always test if it is not None. For example TITLE handler sets window title only if some window is associated, otherwise it does nothing).
Returns:
Opens new container and returns pointer to it.
Returns:
Note
This DOESN’T change the colour! You must create wx.html.HtmlColourCell yourself.
Sets default horizontal alignment (see wx.html.HtmlContainerCell.SetAlignHor).
Alignment of newly opened container is set to this value.
Parameters:
Allows you to directly set opened container. This is not recommended - you should use OpenContainer wherever possible.
Parameters:
Returns:
Sets bold flag of actual font. x is either True or False.
Parameters:
Sets fixed face flag of actual font. x is either True or False.
Parameters:
Sets italic flag of actual font. x is either True or False.
Parameters:
Sets actual font size (HTML size varies from 1 to 7)
Parameters:
Sets underlined flag of actual font. x is either True or False.
Parameters:
Sets fonts. See wx.html.HtmlWindow.SetFonts for detailed description.
Parameters:
Sets actual hypertext link.
Empty link is represented by wx.html.HtmlLinkInfo with Href equal to “”.
Parameters:
Parameters: