# 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 .RichTextObject import RichTextObject

class RichTextPlainText(RichTextObject):
    """
    RichTextPlainText(text='', parent=None, style=None) -> None
    RichTextPlainText(obj) -> None
    
    This object represents a single piece of text.
    """
    def CalculateRange(self, start): # real signature unknown; restored from __doc__
        """
        CalculateRange(start) -> int
        
        Calculates the range of the object.
        """
        return 0

    def CanMerge(self, p_object, context): # real signature unknown; restored from __doc__
        """
        CanMerge(object, context) -> bool
        
        Returns true if this object can merge itself with the given one.
        """
        return False

    def CanSplit(self, context): # real signature unknown; restored from __doc__
        """
        CanSplit(context) -> bool
        
        Returns true if this object can potentially be split, by virtue of
        having different virtual attributes for individual sub-objects.
        """
        return False

    def Clone(self): # real signature unknown; restored from __doc__
        """
        Clone() -> RichTextObject
        
        Clones the object.
        """
        return RichTextObject

    def Copy(self, obj): # real signature unknown; restored from __doc__
        """ Copy(obj) -> None """
        pass

    def DeleteRange(self, range): # real signature unknown; restored from __doc__
        """
        DeleteRange(range) -> bool
        
        Deletes the given range.
        """
        return False

    def DoSplit(self, pos): # real signature unknown; restored from __doc__
        """
        DoSplit(pos) -> RichTextObject
        
        Do a split from pos, returning an object containing the second part,
        and setting the first part in 'this'.
        """
        return RichTextObject

    def Draw(self, dc, context, range, selection, rect, descent, style): # real signature unknown; restored from __doc__
        """
        Draw(dc, context, range, selection, rect, descent, style) -> bool
        
        Draw the item, within the given range.
        """
        return False

    def GetFirstLineBreakPosition(self, pos): # real signature unknown; restored from __doc__
        """
        GetFirstLineBreakPosition(pos) -> int
        
        Get the first position from pos that has a line break character.
        """
        return 0

    def GetRangeSize(self, range, size, descent, dc, context, flags, position=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        GetRangeSize(range, size, descent, dc, context, flags, position=wx.Point(0,0), parentSize=wx.DefaultSize, partialExtents=None) -> bool
        
        Returns the object size for the given range.
        """
        pass

    def GetText(self): # real signature unknown; restored from __doc__
        """
        GetText() -> str
        
        Returns the text.
        """
        return ""

    def GetTextForRange(self, range): # real signature unknown; restored from __doc__
        """
        GetTextForRange(range) -> str
        
        Returns any text in this object for the given range.
        """
        return ""

    def GetXMLNodeName(self): # real signature unknown; restored from __doc__
        """
        GetXMLNodeName() -> str
        
        Returns the XML node name of this object.
        """
        return ""

    def ImportFromXML(self, buffer, node, handler, recurse): # real signature unknown; restored from __doc__
        """
        ImportFromXML(buffer, node, handler, recurse) -> bool
        
        Imports this object from XML.
        """
        return False

    def IsEmpty(self): # real signature unknown; restored from __doc__
        """
        IsEmpty() -> bool
        
        Returns true if the object is empty.
        """
        return False

    def Layout(self, dc, context, rect, parentRect, style): # real signature unknown; restored from __doc__
        """
        Layout(dc, context, rect, parentRect, style) -> bool
        
        Lay the item out at the specified position with the given size
        constraint.
        """
        return False

    def Merge(self, p_object, context): # real signature unknown; restored from __doc__
        """
        Merge(object, context) -> bool
        
        Returns true if this object merged itself with the given one.
        """
        return False

    def SetText(self, text): # real signature unknown; restored from __doc__
        """
        SetText(text) -> None
        
        Sets the text.
        """
        pass

    def Split(self, context): # real signature unknown; restored from __doc__
        """
        Split(context) -> RichTextObject
        
        Returns the final object in the split objects if this object was split
        due to differences between sub-object virtual attributes.
        """
        return RichTextObject

    def UsesParagraphAttributes(self): # real signature unknown; restored from __doc__
        """
        UsesParagraphAttributes() -> bool
        
        Does this object take note of paragraph attributes? Text and image
        objects don't.
        """
        return False

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    Text = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetText() -> str

Returns the text."""

    XMLNodeName = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetXMLNodeName() -> str

Returns the XML node name of this object."""



