# 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


from .RichTextFileHandler import RichTextFileHandler

class RichTextXMLHandler(RichTextFileHandler):
    """
    RichTextXMLHandler(name="XML", ext="xml", type=RICHTEXT_TYPE_XML) -> None
    
    A handler for loading and saving content in an XML format specific to
    wxRichTextBuffer.
    """
    def CanLoad(self): # real signature unknown; restored from __doc__
        """
        CanLoad() -> bool
        
        Returns true.
        """
        return False

    def CanSave(self): # real signature unknown; restored from __doc__
        """
        CanSave() -> bool
        
        Returns true.
        """
        return False

    def ClearNodeToClassMap(self): # real signature unknown; restored from __doc__
        """
        ClearNodeToClassMap() -> None
        
        Cleans up the mapping between node name and C++ class.
        """
        pass

    def DoLoadFile(self, buffer, RichTextBuffer=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """ DoLoadFile(self, buffer: Optional[RichTextBuffer], stream: InputStream) -> bool """
        pass

    def DoSaveFile(self, buffer, RichTextBuffer=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """ DoSaveFile(self, buffer: Optional[RichTextBuffer], stream: OutputStream) -> bool """
        pass

    def ExportXML(self, stream, obj, level): # real signature unknown; restored from __doc__
        """
        ExportXML(stream, obj, level) -> bool
        
        Recursively exports an object to the stream.
        """
        return False

    def ImportXML(self, buffer, obj, node): # real signature unknown; restored from __doc__
        """
        ImportXML(buffer, obj, node) -> bool
        
        Recursively imports an object.
        """
        return False

    def RegisterNodeName(self, nodeName, className): # real signature unknown; restored from __doc__
        """
        RegisterNodeName(nodeName, className) -> None
        
        Call with XML node name, C++ class name so that wxRTC can read in the
        node.
        """
        pass

    def __init__(self, name="XML", ext="xml", type=None): # real signature unknown; restored from __doc__
        pass


