+
    i                        R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
 ]'       d   ^ RIHt ^ RIHt ^ RIHt ^ R	I	Ht  ! R
 R]
4      t ! R R4      tR# )zhObjects related to shapes.

A shape is a visual object that appears on the drawing layer of a document.
)annotations)TYPE_CHECKING)WD_INLINE_SHAPE)nsmap)Parented)CT_Body)	CT_Inline)	StoryPart)Lengthc                  Z   a  ] tR t^tRtR V 3R lltR R ltR tR t]	R 4       t
R	tV ;t# )
InlineShapeszUSequence of |InlineShape| instances, supporting len(), iteration, and indexed access.c                    V ^8  d   QhRRRR/# )   body_elmr   parentr	    )formats   "P/Users/agent/.openclaw/workspace/venv/lib/python3.14/site-packages/docx/shape.py__annotate__InlineShapes.__annotate__   s       )     c                	:   < \         \        V `  V4       Wn        R # N)superr   __init___body)selfr   r   	__class__s   &&&r   r   InlineShapes.__init__   s    lD*62
r   c                   V ^8  d   QhRR/# )r   idxintr   )r   s   "r   r   r      s     # #s #r   c                     V P                   V,          p\        T4      #   \         d    RT,          p\        T4      hi ; i)z2Provide indexed access, e.g. 'inline_shapes[idx]'.z$inline shape index [%d] out of range)_inline_lst
IndexErrorInlineShape)r   r    inlinemsgs   &&  r   __getitem__InlineShapes.__getitem__   sI    	"%%c*F
 6""	  	"83>CS/!	"s	      A c                	(    R  V P                    4       # )c              3  8   "   T F  p\        V4      x  K  	  R # 5ir   )r%   ).0r&   s   & r   	<genexpr>(InlineShapes.__iter__.<locals>.<genexpr>'   s     C2BF##2Bs   )r#   r   s   &r   __iter__InlineShapes.__iter__&   s    C$2B2BCCr   c                	,    \        V P                  4      # r   )lenr#   r/   s   &r   __len__InlineShapes.__len__)   s    4##$$r   c                	@    V P                   pR pVP                  V4      # )z//w:p/w:r/w:drawing/wp:inline)r   xpath)r   bodyr7   s   &  r   r#   InlineShapes._inline_lst,   s    zz/zz%  r   )r   )__name__
__module____qualname____firstlineno____doc__r   r(   r0   r4   propertyr#   __static_attributes____classcell__r   s   @r   r   r      s4    _ #D% ! !r   r   c                     a  ] tR t^3tRtR V 3R llt]R R l4       t]P                  R R l4       t]R 4       t	]R	 4       t
]
P                  R
 R l4       t
RtV ;t# )r%   z`Proxy for an ``<wp:inline>`` element, representing the container for an inline
graphical object.c                   V ^8  d   QhRR/# )r   r&   r   r   )r   s   "r   r   InlineShape.__annotate__7   s      y r   c                	8   < \         \        V `  4        Wn        R # r   )r   r%   r   _inline)r   r&   r   s   &&r   r   InlineShape.__init__7   s    k4)+r   c                   V ^8  d   QhRR/# )r   returnr
   r   )r   s   "r   r   rE   <   s     & & &r   c                B    V P                   P                  P                  # )zKRead/write.

The display height of this inline shape as an |Emu| instance.
)rG   extentcyr/   s   &r   heightInlineShape.height;        ||""%%%r   c                   V ^8  d   QhRR/# )r   rM   r
   r   )r   s   "r   r   rE   D   s     : : :r   c                	    WP                   P                  n        WP                   P                  P                  P
                  P                  n        R # r   )rG   rL   rM   graphicgraphicDatapicspPr)r   rM   s   &&r   rN   rO   C   4    !#79((,,114r   c                   V P                   P                  P                  pVP                  pV\        R,          8X  dO   VP
                  P                  P                  pVP                  e   \        P                  # \        P                  # V\        R,          8X  d   \        P                  # V\        R,          8X  d   \        P                  # \        P                  # )zwThe type of this inline shape as a member of
``docx.enum.shape.WD_INLINE_SHAPE``, e.g. ``LINKED_PICTURE``.

Read-only.
rU   cdgm)rG   rS   rT   urir   rU   blipFillbliplinkr   LINKED_PICTUREPICTURECHART	SMART_ARTNOT_IMPLEMENTED)r   rT   r[   r]   s   &   r   typeInlineShape.typeH   s     ll**66oo%,??++00Dyy$&555"***%*"(((%,",,,...r   c                B    V P                   P                  P                  # )zJRead/write.

The display width of this inline shape as an |Emu| instance.
)rG   rL   cxr/   s   &r   widthInlineShape.width\   rP   r   c                   V ^8  d   QhRR/# )r   rg   r
   r   )r   s   "r   r   rE   e   s     : : :r   c                	    WP                   P                  n        WP                   P                  P                  P
                  P                  n        R # r   )rG   rL   rg   rS   rT   rU   rV   )r   rg   s   &&r   rh   ri   d   rW   r   )rG   )r:   r;   r<   r=   r>   r   r?   rN   setterrd   rh   r@   rA   rB   s   @r   r%   r%   3   s~      & & ]]: : / /& & & \\: :r   r%   N)r>   
__future__r   typingr   docx.enum.shaper   docx.oxml.nsr   docx.sharedr   docx.oxml.documentr   docx.oxml.shaper   docx.parts.storyr	   r
   r   r%   r   r   r   <module>ru      s@   
 #   +   *)*"!8 !<4: 4:r   