+
    i8                     R    R t ^ RIHtHt ^ RIHt  ! R R]4      t ! R R]4      tR# )zTabstop-related proxy types.)WD_TAB_ALIGNMENTWD_TAB_LEADER)ElementProxyc                      a a ] tR t^t oRtV 3R ltR tR tR tR t	]
P                  ]P                  3R ltR tR	tVtV ;t# )
TabStopsa"  A sequence of |TabStop| objects providing access to the tab stops of a paragraph
or paragraph style.

Supports iteration, indexed access, del, and len(). It is accesed using the
:attr:`~.ParagraphFormat.tab_stops` property of ParagraphFormat; it is not intended
to be constructed directly.
c                <   < \         \        V `  VR 4       Wn        R # N)superr   __init___pPrselfelement	__class__s   &&Y/Users/agent/.openclaw/workspace/.venv/lib/python3.14/site-packages/docx/text/tabstops.pyr
   TabStops.__init__   s    h&w5	    c                    V P                   P                  p VP                  W!,          4       \        T4      ^ 8X  d   T P                   P                  T4       R# R#   \        \        3 d    \	        R4      hi ; i)z0Remove the tab at offset `idx` in this sequence.ztab index out of rangeN)r   tabsremoveAttributeError
IndexErrorlen)r   idxr   s   && r   __delitem__TabStops.__delitem__   sh    yy~~	7KK	" t9>IIT"  
+ 	7566	7s   A A;c                    V P                   P                  pVf   \        R4      hVP                  V,          p\	        V4      # )z#Enables list-style access by index.zTabStops object is empty)r   r   r   tab_lstTabStop)r   r   r   tabs   &&  r   __getitem__TabStops.__getitem__   s8    yy~~<788ll3s|r   c              #     "   V P                   P                  pVe#   VP                   F  p\        V4      x  K  	  R# R# 5i)zPGenerate a TabStop object for each of the w:tab elements, in XML document
order.N)r   r   r   r   )r   r   r   s   &  r   __iter__TabStops.__iter__'   s7      yy~~||cl" $ s   ?Ac                d    V P                   P                  pVf   ^ # \        VP                  4      # r   )r   r   r   r   )r   r   s   & r   __len__TabStops.__len__/   s&    yy~~<4<<  r   c                p    V P                   P                  4       pVP                  WV4      p\        V4      # )a  Add a new tab stop at `position`, a |Length| object specifying the location
of the tab stop relative to the paragraph edge.

A negative `position` value is valid and appears in hanging indentation. Tab
alignment defaults to left, but may be specified by passing a member of the
:ref:`WdTabAlignment` enumeration as `alignment`. An optional leader character
can be specified by passing a member of the :ref:`WdTabLeader` enumeration as
`leader`.
)r   get_or_add_tabsinsert_tab_in_orderr   )r   position	alignmentleaderr   r   s   &&&&  r   add_tab_stopTabStops.add_tab_stop5   s2     yy((*&&xFCs|r   c                :    V P                   P                  4        R# )zRemove all custom tab stops.N)r   _remove_tabsr   s   &r   	clear_allTabStops.clear_allC   s    		 r   )r   )__name__
__module____qualname____firstlineno____doc__r
   r   r    r#   r&   r   LEFTr   SPACESr.   r3   __static_attributes____classdictcell____classcell__r   __classdict__s   @@r   r   r      sF     	##! 0@/D/D]MaMa ! !r   r   c                      a a ] tR t^Ht oRtV 3R lt]R 4       t]P                  R 4       t]R 4       t	]	P                  R 4       t	]R 4       t
]
P                  R 4       t
R	tVtV ;t# )
r   z}An individual tab stop applying to a paragraph or style.

Accessed using list semantics on its containing |TabStops| object.
c                <   < \         \        V `  VR 4       Wn        R # r   )r	   r   r
   _tabr   s   &&r   r
   TabStop.__init__N   s    gt%gt4	r   c                .    V P                   P                  # )zcA member of :ref:`WdTabAlignment` specifying the alignment setting for this
tab stop.

Read/write.
rC   valr2   s   &r   r,   TabStop.alignmentR        yy}}r   c                &    WP                   n        R # r   rF   r   values   &&r   r,   rH   [   s    		r   c                .    V P                   P                  # )zA member of :ref:`WdTabLeader` specifying a repeating character used as a
"leader", filling in the space spanned by this tab.

Assigning |None| produces the same result as assigning `WD_TAB_LEADER.SPACES`.
Read/write.
rC   r-   r2   s   &r   r-   TabStop.leader_   s     yyr   c                &    WP                   n        R # r   rN   rK   s   &&r   r-   rO   i   s     		r   c                .    V P                   P                  # )zA |Length| object representing the distance of this tab stop from the inside
edge of the paragraph.

May be positive or negative. Read/write.
)rC   posr2   s   &r   r+   TabStop.positionm   rI   r   c                    V P                   pVP                  4       pVP                  WP                  VP                  4      V n         VP                  V4       R # r   )rC   	getparentr*   rG   r-   r   )r   rL   r   r   s   &&  r   r+   rS   v   s>    ii}},,UGGSZZH	Cr   )rC   )r5   r6   r7   r8   r9   r
   propertyr,   setterr-   r+   r<   r=   r>   r?   s   @@r   r   r   H   s     
         ]]! !   __  r   r   N)r9   docx.enum.textr   r   docx.sharedr   r   r    r   r   <module>r[      s'    " : $>!| >!B3l 3r   