# encoding: utf-8
# module wx._richtext
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_richtext.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import sip as __sip
import wx._adv as __wx__adv
import wx._core as __wx__core
import wx._html as __wx__html


class RichTextFileHandler(__wx__core.Object):
    """
    RichTextFileHandler(name='', ext='', type=0) -> None
    
    The base class for file handlers.
    """
    def CanHandle(self, filename): # real signature unknown; restored from __doc__
        """
        CanHandle(filename) -> bool
        
        Returns true if we handle this filename (if using files).
        """
        return False

    def CanLoad(self): # real signature unknown; restored from __doc__
        """
        CanLoad() -> bool
        
        Returns true if we can load using this handler.
        """
        return False

    def CanSave(self): # real signature unknown; restored from __doc__
        """
        CanSave() -> bool
        
        Returns true if we can save using this handler.
        """
        return False

    def DoLoadFile(self, buffer, stream): # real signature unknown; restored from __doc__
        """
        DoLoadFile(buffer, stream) -> bool
        
        Override to load content from stream into buffer.
        """
        return False

    def DoSaveFile(self, buffer, stream): # real signature unknown; restored from __doc__
        """
        DoSaveFile(buffer, stream) -> bool
        
        Override to save content to stream from buffer.
        """
        return False

    def GetEncoding(self): # real signature unknown; restored from __doc__
        """
        GetEncoding() -> str
        
        Returns the encoding to use when saving a file.
        """
        return ""

    def GetExtension(self): # real signature unknown; restored from __doc__
        """
        GetExtension() -> str
        
        Returns the default extension to recognise.
        """
        return ""

    def GetFlags(self): # real signature unknown; restored from __doc__
        """
        GetFlags() -> int
        
        Returns flags controlling how loading and saving is done.
        """
        return 0

    def GetName(self): # real signature unknown; restored from __doc__
        """
        GetName() -> str
        
        Returns the name of the handler.
        """
        return ""

    def GetType(self): # real signature unknown; restored from __doc__
        """
        GetType() -> int
        
        Returns the handler type.
        """
        return 0

    def IsVisible(self): # real signature unknown; restored from __doc__
        """
        IsVisible() -> bool
        
        Returns true if this handler should be visible to the user.
        """
        return False

    def LoadFile(self, buffer, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        LoadFile(buffer, stream) -> bool
        LoadFile(buffer, filename) -> bool
        
        Loads the buffer from a stream.
        """
        return False

    def SaveFile(self, buffer, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        SaveFile(buffer, stream) -> bool
        SaveFile(buffer, filename) -> bool
        
        Saves the buffer to a stream.
        """
        return False

    def SetEncoding(self, encoding): # real signature unknown; restored from __doc__
        """
        SetEncoding(encoding) -> None
        
        Sets the encoding to use when saving a file.
        """
        pass

    def SetExtension(self, ext): # real signature unknown; restored from __doc__
        """
        SetExtension(ext) -> None
        
        Sets the default extension to recognise.
        """
        pass

    def SetFlags(self, flags): # real signature unknown; restored from __doc__
        """
        SetFlags(flags) -> None
        
        Sets flags that change the behaviour of loading or saving.
        """
        pass

    def SetName(self, name): # real signature unknown; restored from __doc__
        """
        SetName(name) -> None
        
        Sets the name of the handler.
        """
        pass

    def SetType(self, type): # real signature unknown; restored from __doc__
        """
        SetType(type) -> None
        
        Sets the handler type.
        """
        pass

    def SetVisible(self, visible): # real signature unknown; restored from __doc__
        """
        SetVisible(visible) -> None
        
        Sets whether the handler should be visible to the user (via the
        application's load and save dialogs).
        """
        pass

    def __init__(self, name='', ext='', type=0): # real signature unknown; restored from __doc__
        pass

    Encoding = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetEncoding() -> str

Returns the encoding to use when saving a file."""

    Extension = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetExtension() -> str

Returns the default extension to recognise."""

    Flags = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetFlags() -> int

Returns flags controlling how loading and saving is done."""

    Name = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetName() -> str

Returns the name of the handler."""

    Type = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetType() -> int

Returns the handler type."""



