Phoenix Logo

phoenix_title wx.richtext.RichTextPlainTextHandler

Implements saving a buffer to plain text.


class_hierarchy Class Hierarchy

Inheritance diagram for class RichTextPlainTextHandler:


method_summary Methods Summary

__init__  
CanLoad Returns True if we can load using this handler.
CanSave Returns True if we can save using this handler.
DoLoadFile Override to load content from stream into buffer.
DoSaveFile Override to save content to stream from buffer.

api Class API



class wx.richtext.RichTextPlainTextHandler(RichTextFileHandler)

Possible constructors:

RichTextPlainTextHandler(name="Text", ext="txt",
                         type=RICHTEXT_TYPE_TEXT)

Implements saving a buffer to plain text.


Methods



__init__(self, name="Text", ext="txt", type=RICHTEXT_TYPE_TEXT)
Parameters:


CanLoad(self)

Returns True if we can load using this handler.

Return type:bool


CanSave(self)

Returns True if we can save using this handler.

Return type:bool


DoLoadFile(self, buffer, stream)

Override to load content from stream into buffer.

Parameters:
Return type:

bool



DoSaveFile(self, buffer, stream)

Override to save content to stream from buffer.

Parameters:
Return type:

bool