wx.richtext.RichTextXMLHandler

Inheritance diagram for wx.richtext.RichTextXMLHandler:



Description

A handler for loading and saving content in an XML format specific to wx.richtext.RichTextBuffer.

You can either add the handler to the buffer and load and save through the buffer or control API, or you can create an instance of the handler on the stack and call its functions directly.

Handler Flags

The following flags can be used with this handler, via the handler’s SetFlags function or the buffer or control’s SetHandlerFlags function (these are all are members of wx.richtext subpackage, so the wx.richtext string in front of the RICHTEXT is omitted for brevity):

Handler Flags Description
RICHTEXT_HANDLER_INCLUDE_STYLESHEET Include the style sheet in loading and saving operations.

Methods Summary

Class API

Methods

__init__(name=XmlName, ext=XmlExt, type=wx.richtext.RICHTEXT_TYPE_XML)

Constructor.

Parameters:

  • name (string)
  • ext (string)
  • type (int)

Returns:

wx.richtext.RichTextXMLHandler