# 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 .RichTextCompositeObject import RichTextCompositeObject

class RichTextParagraph(RichTextCompositeObject):
    """
    RichTextParagraph(parent=None, style=None) -> None
    RichTextParagraph(text, parent=None, paraStyle=None, charStyle=None) -> None
    RichTextParagraph(obj) -> None
    
    This object represents a single paragraph containing various objects
    such as text content, images, and further paragraph layout objects.
    """
    def AllocateLine(self, pos): # real signature unknown; restored from __doc__
        """
        AllocateLine(pos) -> RichTextLine
        
        Allocates or reuses a line object.
        """
        return RichTextLine

    def ApplyParagraphStyle(self, line, attr, rect, dc): # real signature unknown; restored from __doc__
        """
        ApplyParagraphStyle(line, attr, rect, dc) -> None
        
        Applies paragraph styles such as centering to the wrapped lines.
        """
        pass

    def CalculateRange(self, start): # real signature unknown; restored from __doc__
        """
        CalculateRange(start) -> int
        
        Calculates the range of the object.
        """
        return 0

    def ClearDefaultTabs(self): # real signature unknown; restored from __doc__
        """
        ClearDefaultTabs() -> None
        
        Clears the default tabstop array.
        """
        pass

    def ClearLines(self): # real signature unknown; restored from __doc__
        """
        ClearLines() -> None
        
        Clears the cached lines.
        """
        pass

    def ClearUnusedLines(self, lineCount): # real signature unknown; restored from __doc__
        """
        ClearUnusedLines(lineCount) -> bool
        
        Clears remaining unused line objects, if any.
        """
        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
        
        Copies the object.
        """
        pass

    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 FindObjectAtPosition(self, position): # real signature unknown; restored from __doc__
        """
        FindObjectAtPosition(position) -> RichTextObject
        
        Finds the object at the given position.
        """
        return RichTextObject

    def FindPosition(self, dc, context, index, forceLineStart): # real signature unknown; restored from __doc__
        """
        FindPosition(dc, context, index, forceLineStart) -> Tuple[bool, wx.Point, int]
        
        Finds the absolute position and row height for the given character
        position.
        """
        pass

    def FindWrapPosition(self, range, dc, context, availableSpace, wrapPosition, partialExtents): # real signature unknown; restored from __doc__
        """
        FindWrapPosition(range, dc, context, availableSpace, wrapPosition, partialExtents) -> bool
        
        Finds a suitable wrap position.
        """
        return False

    def GetBulletText(self): # real signature unknown; restored from __doc__
        """
        GetBulletText() -> str
        
        Returns the bullet text for this paragraph.
        """
        return ""

    def GetCombinedAttributes(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        GetCombinedAttributes(contentStyle, includingBoxAttr=False) -> RichTextAttr
        GetCombinedAttributes(includingBoxAttr=False) -> RichTextAttr
        
        Returns combined attributes of the base style, paragraph style and
        character style.
        """
        return RichTextAttr

    def GetContiguousPlainText(self, text, range, fromStart=True): # real signature unknown; restored from __doc__
        """
        GetContiguousPlainText(text, range, fromStart=True) -> bool
        
        Returns the plain text searching from the start or end of the range.
        """
        return False

    def GetDefaultTabs(self): # real signature unknown; restored from __doc__
        """
        GetDefaultTabs() -> List[int]
        
        Returns the default tabstop array.
        """
        return []

    def GetFirstLineBreakPosition(self, pos): # real signature unknown; restored from __doc__
        """
        GetFirstLineBreakPosition(pos) -> int
        
        Returns the first position from pos that has a line break character.
        """
        return 0

    def GetImpactedByFloatingObjects(self): # real signature unknown; restored from __doc__
        """
        GetImpactedByFloatingObjects() -> int
        
        Whether the paragraph is impacted by floating objects from above.
        """
        return 0

    def GetLines(self): # real signature unknown; restored from __doc__
        """
        GetLines() -> Any
        
        Returns the cached lines.
        """
        pass

    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 GetXMLNodeName(self): # real signature unknown; restored from __doc__
        """
        GetXMLNodeName() -> str
        
        Returns the XML node name of this object.
        """
        return ""

    def HitTest(self, dc, context, pt, flags=0): # real signature unknown; restored from __doc__
        """
        HitTest(dc, context, pt, flags=0) -> Tuple[int, int, RichTextObject, RichTextObject]
        
        Hit-testing: returns a flag indicating hit test details, plus
        information about position.
        """
        pass

    def Init(self): # real signature unknown; restored from __doc__
        """ Init() -> None """
        pass

    def InitDefaultTabs(self): # real signature unknown; restored from __doc__
        """
        InitDefaultTabs() -> None
        
        Creates a default tabstop array.
        """
        pass

    def InsertText(self, pos, text): # real signature unknown; restored from __doc__
        """
        InsertText(pos, text) -> bool
        
        Inserts text at the given position.
        """
        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 LayoutFloat(self, dc, context, rect, parentRect, style, floatCollector): # real signature unknown; restored from __doc__
        """
        LayoutFloat(dc, context, rect, parentRect, style, floatCollector) -> None
        
        Lays out the floating objects.
        """
        pass

    def MoveFromList(self, p_list): # real signature unknown; restored from __doc__
        """
        MoveFromList(list) -> None
        
        Adds content back from a list.
        """
        pass

    def MoveToList(self, obj, p_list): # real signature unknown; restored from __doc__
        """
        MoveToList(obj, list) -> None
        
        Moves content to a list from this point.
        """
        pass

    def SetImpactedByFloatingObjects(self, i): # real signature unknown; restored from __doc__
        """
        SetImpactedByFloatingObjects(i) -> None
        
        Sets whether the paragraph is impacted by floating objects from above.
        """
        pass

    def SplitAt(self, pos, previousObject=None): # real signature unknown; restored from __doc__
        """
        SplitAt(pos, previousObject=None) -> RichTextObject
        
        Splits an object at this position if necessary, and returns the
        previous object, or NULL if inserting at the beginning.
        """
        return RichTextObject

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    BulletText = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetBulletText() -> str

Returns the bullet text for this paragraph."""

    CombinedAttributes = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetCombinedAttributes(contentStyle, includingBoxAttr=False) -> RichTextAttr
GetCombinedAttributes(includingBoxAttr=False) -> RichTextAttr

Returns combined attributes of the base style, paragraph style and
character style.
"""

    ImpactedByFloatingObjects = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetImpactedByFloatingObjects() -> int

Whether the paragraph is impacted by floating objects from above."""

    Lines = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetLines() -> Any

Returns the cached lines."""

    XMLNodeName = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetXMLNodeName() -> str

Returns the XML node name of this object."""



