2023-10-13 06:26:14 +00:00

15 lines
368 B
Python

from docx.oxml.text.run import CT_R
from docx.shared import Parented
from docx.text.paragraph import Paragraph
class Run(Parented):
_element: CT_R
_r: CT_R
def __init__(self, r: CT_R, parent: Paragraph) -> None: ...
@property
def bold(self) -> bool: ...
@property
def italic(self) -> bool: ...
@property
def text(self) -> str: ...