+
    i%5                        R t ^ RIHt ^ RIHtHt ^ RIHt ^ RIH	t	 ^ RI
HtHt ]'       d   ^ RIHt ^ RIHt ^ RI
Ht  ! R	 R
]4      tR# )zFont-related proxy objects.)annotations)TYPE_CHECKINGAny)ColorFormat)WD_UNDERLINE)ElementProxyEmu)WD_COLOR_INDEX)CT_R)Lengthc                    a  ] tR t^tRtRrR V 3R lllt]R R l4       t]P                  R R l4       t]R R	 l4       t	]	P                  R
 R l4       t	]R 4       t
]R R l4       t]P                  R R l4       t]R R l4       t]P                  R R l4       t]R R l4       t]P                  R R l4       t]R R l4       t]P                  R R l4       t]R R l4       t]P                  R R  l4       t]R! R" l4       t]P                  R# R$ l4       t]R% R& l4       t]P                  R' R( l4       t]R) R* l4       t]P                  R+ R, l4       t]R- R. l4       t]P                  R/ R0 l4       t]R1 R2 l4       t]P                  R3 R4 l4       t]R5 R6 l4       t]P                  R7 R8 l4       t]R9 R: l4       t]P                  R; R< l4       t]R= R> l4       t]P                  R? R@ l4       t]RA RB l4       t]P                  RC RD l4       t]RE RF l4       t]P                  RG RH l4       t]RI RJ l4       t]P                  RK RL l4       t]RM RN l4       t]P                  RO RP l4       t]RQ RR l4       t]P                  RS RT l4       t]RU RV l4       t]P                  RW RX l4       t]RY RZ l4       t]P                  R[ R\ l4       t]R] R^ l4       t]P                  R_ R` l4       t]Ra Rb l4       t ] P                  Rc Rd l4       t ]Re Rf l4       t!]!P                  Rg Rh l4       t!]Ri Rj l4       t"]"P                  Rk Rl l4       t"Rm Rn lt#Ro Rp lt$Rqt%V ;t&# )sFontzProxy object for parent of a `<w:rPr>` element and providing access to
character properties such as font name, font size, bold, and subscript.c                    V ^8  d   QhRRRR/# )   rr
   parentz
Any | None )formats   "U/Users/agent/.openclaw/workspace/.venv/lib/python3.14/site-packages/docx/text/font.py__annotate__Font.__annotate__   s      $ 
     c                	>   < \         SV `  W4       Wn        Wn        R # N)super__init___element_r)selfr   r   	__class__s   &&&r   r   Font.__init__   s    #r   c                   V ^8  d   QhRR/# r   returnbool | Noner   )r   s   "r   r   r      s     + ++ +r   c                $    V P                  R4      # )zDRead/write.

Causes text in this font to appear in capital letters.
caps_get_bool_propr   s   &r   all_capsFont.all_caps   s     ""6**r   c                    V ^8  d   QhRRRR/# r   valuer$   r#   Noner   )r   s   "r   r   r   #   s     + +k +d +r   c                	*    V P                  R V4       R# )r&   N_set_bool_propr   r.   s   &&r   r*   r+   "   s    FE*r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   '   s     ( (k (r   c                $    V P                  R4      # )z9Read/write.

Causes text in this font to appear in bold.
br'   r)   s   &r   bold	Font.bold&   s     ""3''r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   /   s     ( (+ ($ (r   c                	*    V P                  R V4       R# )r6   Nr1   r3   s   &&r   r7   r8   .       C'r   c                ,    \        V P                  4      # )zSA |ColorFormat| object providing a way to get and set the text color for this
font.)r   r   r)   s   &r   color
Font.color2   s     4==))r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   9   s     ) ) )r   c                $    V P                  R4      # )zRead/write tri-state value.

When |True|, causes the characters in the run to be treated as complex script
regardless of their Unicode values.
csr'   r)   s   &r   complex_scriptFont.complex_script8   s     ""4((r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   B   s     ) )K )D )r   c                	*    V P                  R V4       R# )rA   Nr1   r3   s   &&r   rB   rC   A   s    D%(r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   F   s     * * *r   c                $    V P                  R4      # )z|Read/write tri-state value.

When |True|, causes the complex script characters in the run to be displayed in
bold typeface.
bCsr'   r)   s   &r   cs_boldFont.cs_boldE        ""5))r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   O   s     * *[ *T *r   c                	*    V P                  R V4       R# )rH   Nr1   r3   s   &&r   rI   rJ   N       E5)r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   S   s     * *; *r   c                $    V P                  R4      # )z~Read/write tri-state value.

When |True|, causes the complex script characters in the run to be displayed in
italic typeface.
iCsr'   r)   s   &r   	cs_italicFont.cs_italicR   rK   r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   \   s     * *{ *t *r   c                	*    V P                  R V4       R# )rQ   Nr1   r3   s   &&r   rR   rS   [   rN   r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   `   s     . .{ .r   c                $    V P                  R4      # )zjRead/write tri-state value.

When |True|, causes the text in the run to appear with double strikethrough.
dstriker'   r)   s   &r   double_strikeFont.double_strike_        ""9--r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   h   s     . .; .4 .r   c                	*    V P                  R V4       R# )rX   Nr1   r3   s   &&r   rY   rZ   g       Iu-r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   l        - - -r   c                $    V P                  R4      # )ztRead/write tri-state value.

When |True|, causes the text in the run to appear as if raised off the page in
relief.
embossr'   r)   s   &r   rb   Font.embossk        ""8,,r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   u        - -K -D -r   c                	*    V P                  R V4       R# )rb   Nr1   r3   s   &&r   rb   rc   t       He,r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   y   r`   r   c                $    V P                  R4      # )zRead/write tri-state value.

When |True|, causes the text in the run to be hidden from display, unless
applications settings force hidden text to be shown.
vanishr'   r)   s   &r   hiddenFont.hiddenx   rd   r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r      rf   r   c                	*    V P                  R V4       R# )rk   Nr1   r3   s   &&r   rl   rm      rh   r   c                   V ^8  d   QhRR/# )r   r#   WD_COLOR_INDEX | Noner   )r   s   "r   r   r      s     ! !!6 !r   c                R    V P                   P                  pVf   R# VP                  # )z:Color of highlighing applied or |None| if not highlighted.N)r   rPrhighlight_valr   rs   s   & r   highlight_colorFont.highlight_color   s'     mm;   r   c                   V ^8  d   QhRR/# )r   r.   rq   r   )r   s   "r   r   r      s     " "%: "r   c                	F    V P                   P                  4       pWn        R # r   )r   get_or_add_rPrrt   r   r.   rs   s   && r   rv   rw      s    mm**,!r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r      s     ( ( (r   c                $    V P                  R4      # )zRead/write tri-state value.

When |True|, causes the text of the run to appear in italics. |None| indicates
the effective value is inherited from the style hierarchy.
ir'   r)   s   &r   italicFont.italic   s     ""3''r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r      s     ( (K (D (r   c                	*    V P                  R V4       R# )r~   Nr1   r3   s   &&r   r   r      r;   r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r      s     . . .r   c                $    V P                  R4      # )zlRead/write tri-state value.

When |True|, causes the text in the run to appear as if pressed into the page.
imprintr'   r)   s   &r   r   Font.imprint   r[   r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r           . .[ .T .r   c                	*    V P                  R V4       R# )r   Nr1   r3   s   &&r   r   r      r^   r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r      s     , ,k ,r   c                $    V P                  R4      # )zRead/write tri-state value.

When |True|, specifies this run contains WML that should be handled as though it
was Office Open XML Math.
oMathr'   r)   s   &r   math	Font.math   s     ""7++r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r      s     , ,+ ,$ ,r   c                	*    V P                  R V4       R# )r   Nr1   r3   s   &&r   r   r      s    GU+r   c                   V ^8  d   QhRR/# )r   r#   
str | Noner   )r   s   "r   r   r      s     	  	 j 	 r   c                R    V P                   P                  pVf   R# VP                  # )zThe typeface name for this |Font|.

Causes the text it controls to appear in the named font, if a matching font is
found. |None| indicates the typeface is inherited from the style hierarchy.
N)r   rs   rFonts_asciiru   s   & r   name	Font.name   s'     mm;r   c                    V ^8  d   QhRRRR/# )r   r.   r   r#   r/   r   )r   s   "r   r   r      s     ! !* ! !r   c                	R    V P                   P                  4       pWn        Wn        R # r   )r   rz   r   rFonts_hAnsir{   s   && r   r   r      s     mm**,  r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r      s     . .+ .r   c                $    V P                  R4      # )zRead/write tri-state value.

When |True|, specifies that the contents of this run should not report any
errors when the document is scanned for spelling and grammar.
noProofr'   r)   s   &r   no_proofFont.no_proof   s     ""9--r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r      s     . .k .d .r   c                	*    V P                  R V4       R# )r   Nr1   r3   s   &&r   r   r      r^   r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r      s     . . .r   c                $    V P                  R4      # )zRead/write tri-state value.

When |True| causes the characters in the run to appear as if they have an
outline, by drawing a one pixel wide border around the inside and outside
borders of each character glyph.
outliner'   r)   s   &r   r   Font.outline   s     ""9--r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r      r   r   c                	*    V P                  R V4       R# )r   Nr1   r3   s   &&r   r   r      r^   r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r      s     * *[ *r   c                $    V P                  R4      # )zkRead/write tri-state value.

When |True| causes the text in the run to have right-to-left characteristics.
rtlr'   r)   s   &r   r   Font.rtl   s     ""5))r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r      s     * * * *r   c                	*    V P                  R V4       R# )r   Nr1   r3   s   &&r   r   r      rN   r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r      r`   r   c                $    V P                  R4      # )zqRead/write tri-state value.

When |True| causes the text in the run to appear as if each character has a
shadow.
shadowr'   r)   s   &r   r   Font.shadow   rd   r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r      rf   r   c                	*    V P                  R V4       R# )r   Nr1   r3   s   &&r   r   r      rh   r   c                   V ^8  d   QhRR/# )r   r#   zLength | Noner   )r   s   "r   r   r      s      m r   c                R    V P                   P                  pVf   R# VP                  # )a  Font height in English Metric Units (EMU).

|None| indicates the font size should be inherited from the style hierarchy.
|Length| is a subclass of |int| having properties for convenient conversion into
points or other length units. The :class:`docx.shared.Pt` class allows
convenient specification of point values::

    >>> font.size = Pt(24)
    >>> font.size
    304800
    >>> font.size.pt
    24.0

N)r   rs   sz_valru   s   & r   size	Font.size   s%      mm;zzr   c                    V ^8  d   QhRRRR/# )r   emuzint | Length | Noner#   r/   r   )r   s   "r   r   r     s     7 7+ 7 7r   c                	t    V P                   P                  4       pVf
   R Vn        R # \        V4      Vn        R # r   )r   rz   r   r   )r   r   rs   s   && r   r   r     s)    mm**, [T
c#h
r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r          0 0K 0r   c                $    V P                  R4      # )zRead/write tri-state value.

When |True| causes the lowercase characters in the run to appear as capital
letters two points smaller than the font size specified for the run.
	smallCapsr'   r)   s   &r   
small_capsFont.small_caps       "";//r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   "       0 0 0 0r   c                	*    V P                  R V4       R# )r   Nr1   r3   s   &&r   r   r   !      K/r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   &  s     1 1k 1r   c                $    V P                  R4      # )zRead/write tri-state value.

When |True| causes the run to use the document grid characters per line settings
defined in the docGrid element when laying out the characters in this run.

snapToGridr'   r)   s   &r   snap_to_gridFont.snap_to_grid%  s     ""<00r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   /  s     1 1+ 1$ 1r   c                	*    V P                  R V4       R# )r   Nr1   r3   s   &&r   r   r   .      L%0r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   3  s     1 1[ 1r   c                $    V P                  R4      # )u4  Read/write tri-state value.

When |True|, specifies that the given run shall always behave as if it is
hidden, even when hidden text is being displayed in the current document. The
property has a very narrow, specialized use related to the table of contents.
Consult the spec (§17.3.2.36) for more details.

specVanishr'   r)   s   &r   spec_vanishFont.spec_vanish2  s     ""<00r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   >  s     1 1 1 1r   c                	*    V P                  R V4       R# )r   Nr1   r3   s   &&r   r   r   =  r   r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   B  r`   r   c                $    V P                  R4      # )zRead/write tri-state value.

When |True| causes the text in the run to appear with a single horizontal line
through the center of the line.
striker'   r)   s   &r   r   Font.strikeA  rd   r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   K  rf   r   c                	*    V P                  R V4       R# )r   Nr1   r3   s   &&r   r   r   J  rh   r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   O  s     	 	; 	r   c                R    V P                   P                  pVf   R# VP                  # )zBoolean indicating whether the characters in this |Font| appear as subscript.

|None| indicates the subscript/subscript value is inherited from the style
hierarchy.
N)r   rs   	subscriptru   s   & r   r   Font.subscriptN  s%     mm;}}r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   [  s      { t r   c                	F    V P                   P                  4       pWn        R # r   )r   rz   r   r{   s   && r   r   r   Z  s    mm**,r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r   `  s     
 
[ 
r   c                R    V P                   P                  pVf   R# VP                  # )zBoolean indicating whether the characters in this |Font| appear as
superscript.

|None| indicates the subscript/superscript value is inherited from the style
hierarchy.
N)r   rs   superscriptru   s   & r   r   Font.superscript_  s%     mm;r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r   m  s            r   c                	F    V P                   P                  4       pWn        R # r   )r   rz   r   r{   s   && r   r   r   l  s    mm**,r   c                   V ^8  d   QhRR/# )r   r#   bool | WD_UNDERLINE | Noner   )r   s   "r   r   r   r  s     
 
5 
r   c                    V P                   P                  pVf   R# VP                  pV\        P                  8X  d   R# V\        P
                  8X  d   R# V\        P                  8X  d   R# T# )ay  The underline style for this |Font|.

The value is one of |None|, |True|, |False|, or a member of :ref:`WdUnderline`.

|None| indicates the font inherits its underline value from the style hierarchy.
|False| indicates no underline. |True| indicates single underline. The values
from :ref:`WdUnderline` are used to specify other outline styles such as double,
wavy, and dotted.
NTF)r   rs   u_valr   	INHERITEDSINGLENONE)r   rs   vals   &  r   	underlineFont.underlineq  s|     mm;ii l,,, 	
 l))) 	
 l''' 	
 	
r   c                    V ^8  d   QhRRRR/# )r   r.   r   r#   r/   r   )r   s   "r   r   r     s      9 d r   c                	    V P                   P                  4       pVR J d   \        P                  MVRJ d   \        P                  MTpW2n        R# )TFN)r   rz   r   r   r   r   )r   r.   rs   r   s   &&  r   r   r     sC    mm**,
 $)D=L5TY>l6G6G_d 	 	r   c                   V ^8  d   QhRR/# r"   r   )r   s   "r   r   r     r   r   c                $    V P                  R4      # )zRead/write tri-state value.

When |True|, specifies that the contents of this run shall be hidden when the
document is displayed in web page view.
	webHiddenr'   r)   s   &r   
web_hiddenFont.web_hidden  r   r   c                    V ^8  d   QhRRRR/# r-   r   )r   s   "r   r   r     r   r   c                	*    V P                  R V4       R# )r   Nr1   r3   s   &&r   r   r     r   r   c                    V ^8  d   QhRRRR/# )r   r   strr#   r$   r   )r   s   "r   r   r     s     ' '3 '; 'r   c                \    V P                   P                  pVf   R# VP                  V4      # )z;Return the value of boolean child of `w:rPr` having `name`.N)r   rs   _get_bool_val)r   r   rs   s   && r   r(   Font._get_bool_prop  s*    mm;  &&r   c                    V ^8  d   QhRRRR/# )r   r   r   r.   r$   r   )r   s   "r   r   r     s     ' '3 '{ 'r   c                \    V P                   P                  4       pVP                  W4       R# )z6Assign `value` to the boolean child `name` of `w:rPr`.N)r   rz   _set_bool_val)r   r   r.   rs   s   &&& r   r2   Font._set_bool_prop  s"    mm**,$&r   )r   r   r   )'__name__
__module____qualname____firstlineno____doc__r   propertyr*   setterr7   r=   rB   rI   rR   rY   rb   rl   rv   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r(   r2   __static_attributes____classcell__)r   s   @r   r   r      s   O 
 + + __+ + ( ( 
[[( ( * *
 ) ) ) ) * * ^^* * * * * * . . . . - - ]]- - - - ]]- - ! ! " " ( ( ]]( ( . . ^^. . , , 
[[, , 	  	  
[[! !
 . . __. . . . ^^. . * * 	ZZ* * - - ]]- -  ( 
[[7 7 0 0 0 0 1 1 1 1 1 1 1 1 - - ]]- - 	 	   
 
     
 
0   0 0 0 0'' 'r   r   N)r  
__future__r   typingr   r   docx.dml.colorr   docx.enum.textr   docx.sharedr   r   r	   docx.oxml.text.runr
   r   r   r   r   r   <module>r     s1    ! " % & ' )-'"['< ['r   