+
    ^eòjJƒ  ã                  óJ  € R t ^ RIHt ^ RIHtHtHt ^ RIHtH	t	H
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HtHtHt ^ R	IHt ^ R
IHtHtHtH t H!t!H"t"H#t# ^ RI$H%t%H&t&H't' ]'       d   ^ RIH(t( ^ RI)H*t* ^ RIH+t+H,t, ^ RI-H.t.  ! R R]4      t/ ! R R]4      t0 ! R R]4      t1 ! R R]4      t2 ! R R]4      t3 ! R R]4      t4 ! R R]4      t5 ! R R]4      t6 ! R  R!]4      t7 ! R" R#]4      t8 ! R$ R%]4      t9 ! R& R']4      t: ! R( R)]4      t; ! R* R+]4      t<R,# )-z"Custom element classes for tables.)Úannotations)ÚTYPE_CHECKINGÚCallableÚcast)ÚWD_CELL_VERTICAL_ALIGNMENTÚWD_ROW_HEIGHT_RULEÚWD_TABLE_DIRECTION)ÚInvalidSpanError)ÚnsdeclsÚqn)Ú	parse_xml)ÚCT_DecimalNumber)ÚST_MergeÚST_TblLayoutTypeÚST_TblWidthÚST_TwipsMeasureÚXsdInt)ÚCT_P)ÚBaseOxmlElementÚOneAndOnlyOneÚ	OneOrMoreÚOptionalAttributeÚRequiredAttributeÚ
ZeroOrMoreÚ	ZeroOrOne)ÚEmuÚLengthÚTwips)ÚWD_TABLE_ALIGNMENT)ÚWD_ALIGN_PARAGRAPH)ÚCT_OnOffÚ	CT_String)ÚCT_Jcc                  óT   € ] tR t^&t$ Rt]! R]4      tR]R&   ]! R]	4      t
R]R&   RtR	# )
Ú	CT_HeightzBUsed for `w:trHeight` to specify a row height and row height rule.úw:valúLength | NoneÚvalzw:hRuleúWD_ROW_HEIGHT_RULE | NoneÚhRule© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r'   Ú__annotations__r   r)   Ú__static_attributes__r*   ó    Ú†/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/docx/oxml/table.pyr$   r$   &   s5   ‡ ÙLá*Ø�ó€Cˆó ñ (9ØÐ%ó(€EÐ$÷ r2   r$   c                  ón  € ] tR t^1t$ RtR]R&   R]R&   R]R&   R]R&   ]! R	4      tR
]R&   ]! R4      tR]R&   ]	! R4      t
]R R l4       t]R R l4       tR R lt]R R l4       t]R R l4       t]P"                  R R l4       t]R 4       t]P"                  R R l4       tR R  ltR! R" ltR# tR$tR%# )&ÚCT_Rowz``<w:tr>`` element.zCallable[[], CT_Tc]Úadd_tczCallable[[], CT_TrPr]Úget_or_add_trPrÚ	_add_trPrzlist[CT_Tc]Útc_lstz	w:tblPrExzCT_TblPrEx | NoneÚtblPrExzw:trPrzCT_TrPr | NoneÚtrPrzw:tcc               ó   € V ^8„  d   QhRR/# ©é   ÚreturnÚintr*   )Úformats   "r3   Ú__annotate__ÚCT_Row.__annotate__@   s   € ÷ ñ ˜Cñ r2   c                ó>   € V P                   pVf   ^ # VP                  # ©zCThe number of unpopulated layout-grid cells at the end of this row.)r;   Ú
grid_after©Úselfr;   s   & r3   rF   ÚCT_Row.grid_after?   s   € ð �y‰yˆØŠ<ÙØ�‰Ðr2   c               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   rC   H   s   € ÷  ñ  ˜Sñ  r2   c                ó>   € V P                   pVf   ^ # VP                  # ©zEThe number of unpopulated layout-grid cells at the start of this row.)r;   Úgrid_beforerG   s   & r3   rM   ÚCT_Row.grid_beforeG   s!   € ð �y‰yˆØŠ<ÙØ×ÑÐr2   c               ó    € V ^8„  d   QhRRRR/# )r>   Úgrid_offsetr@   r?   ÚCT_Tcr*   )rA   s   "r3   rB   rC   O   s   € ÷ Jñ J¨Sð J°Uñ Jr2   c                ó´   € WP                   ,
          pV P                   F)  pV^ 8  d    M!V^ 8X  d   Vu # W#P                  ,          pK+  	  \        RV 24      h)zŽThe `tc` element in this tr at exact `grid offset`.

Raises ValueError when this `w:tr` contains no `w:tc` with exact starting `grid_offset`.
zno `tc` element at grid_offset=)rM   r9   Ú	grid_spanÚ
ValueError)rH   rP   Úremaining_offsetÚtcs   &&  r3   Útc_at_grid_offsetÚCT_Row.tc_at_grid_offsetO   s]   € ð '×)9Ñ)9Õ9Ðà—+”+ˆBà !Ô#Ùà 1Ô$Ø’	ð §¡Õ,Òñ ô Ð:¸;¸-ÐHÓIÐIr2   c               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   rC   e   s   € ÷ &ñ &˜ñ &r2   c                ót   € \        \        V P                  4       4      pVP                  P	                  V 4      # )z?Index of this `w:tr` element within its parent `w:tbl` element.)r   ÚCT_TblÚ	getparentÚtr_lstÚindex)rH   Útbls   & r3   Útr_idxÚCT_Row.tr_idxd   s,   € ô ”6˜4Ÿ>™>Ó+Ó,ˆØ�z‰z×Ñ Ó%Ð%r2   c               ó   € V ^8„  d   QhRR/# ©r>   r?   r(   r*   )rA   s   "r3   rB   rC   k   s   € ÷ #ñ #Ð 9ñ #r2   c                ó>   € V P                   pVf   R# VP                  # )zFThe value of `./w:trPr/w:trHeight/@w:hRule`, or |None| if not present.N)r;   ÚtrHeight_hRulerG   s   & r3   re   ÚCT_Row.trHeight_hRulej   s!   € ð �y‰yˆØŠ<ÙØ×"Ñ"Ð"r2   c               ó   € V ^8„  d   QhRR/# ©r>   Úvaluer(   r*   )rA   s   "r3   rB   rC   s   s   € ÷ $ñ $Ð$=ñ $r2   c                	ó2   € V P                  4       pWn        R # ©N)r7   re   ©rH   ri   r;   s   && r3   re   rf   r   s   € à×#Ñ#Ó%ˆØ#Ör2   c                ó>   € V P                   pVf   R# VP                  # )zHReturn the value of `w:trPr/w:trHeight@w:val`, or |None| if not present.N)r;   ÚtrHeight_valrG   s   & r3   rn   ÚCT_Row.trHeight_valw   s!   € ð �y‰yˆØŠ<ÙØ× Ñ Ð r2   c               ó   € V ^8„  d   QhRR/# ©r>   ri   r&   r*   )rA   s   "r3   rB   rC   €   s   € ÷ "ñ " -ñ "r2   c                	ó2   € V P                  4       pWn        R # rk   )r7   rn   rl   s   && r3   rn   ro      s   € à×#Ñ#Ó%ˆØ!Ör2   c               ó   € V ^8„  d   QhRR/# )r>   r:   Ú
CT_TblPrExr*   )rA   s   "r3   rB   rC   „   s   € ÷  ñ   zñ  r2   c                	ó*   € V P                  ^ V4       R# )é    N©Úinsert)rH   r:   s   &&r3   Ú_insert_tblPrExÚCT_Row._insert_tblPrEx„   s   € Ø�‰�A�wÖr2   c               ó   € V ^8„  d   QhRR/# )r>   r;   ÚCT_TrPrr*   )rA   s   "r3   rB   rC   ‡   s   € ÷ !ñ ! ñ !r2   c                	óp   € V P                   pVe   VP                  V4       R # V P                  ^ V4       R # rk   )r:   Úaddnextrx   )rH   r;   r:   s   && r3   Ú_insert_trPrÚCT_Row._insert_trPr‡   s+   € Ø—,‘,ˆØÒØ�O‰O˜DÖ!à�K‰K˜˜4Ö r2   c                	ó*   € \         P                  4       # rk   )rQ   Únew©rH   s   &r3   Ú_new_tcÚCT_Row._new_tcŽ   s   € Ü�y‰y‹{Ðr2   r*   N)r+   r,   r-   r.   r/   r0   r   r:   r;   r   rV   ÚpropertyrF   rM   rW   r`   re   Úsetterrn   ry   r   r„   r1   r*   r2   r3   r5   r5   1   sñ   ‡ ÙàÓØ*Ó*Ø$Ó$àÓá!*¨;Ó!7€GÐÓ7á$ XÓ.€Dˆ.Ó.Ù	�FÓ	€Bàôó ðð ô ó ð õJð* ô&ó ð&ð
 ô#ó ð#ð ×Ñô$ó ð$ð ñ!ó ð!ð ×Ñô"ó ð"õ õ!ör2   r5   c                  óx  € ] tR t^’t$ RtR]R&   R]R&   ]! R4      tR]R&   ]! R	4      tR
]R&   ]	! R4      t
]R R l4       t]P                  R R l4       t]R 4       tR t]R R l4       t]R R l4       t]P                  R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R  l4       tR!tR"# )#r[   z``<w:tbl>`` element.zCallable[[], CT_Row]Úadd_trzlist[CT_Row]r]   zw:tblPrÚCT_TblPrÚtblPrz	w:tblGridÚ
CT_TblGridÚtblGridzw:trc               ó   € V ^8„  d   QhRR/# )r>   r?   zbool | Noner*   )rA   s   "r3   rB   ÚCT_Tbl.__annotate__�   s   € ÷ ñ  ñ r2   c                óR   € V P                   P                  pVf   R# VP                  # )z�Value of `./w:tblPr/w:bidiVisual/@w:val` or |None| if not present.

Controls whether table cells are displayed right-to-left or left-to-right.
N)r‹   Ú
bidiVisualr'   )rH   r‘   s   & r3   ÚbidiVisual_valÚCT_Tbl.bidiVisual_valœ   s&   € ð —Z‘Z×*Ñ*ˆ
ØÒÙØ�~‰~Ðr2   c               ó   € V ^8„  d   QhRR/# )r>   ri   zWD_TABLE_DIRECTION | Noner*   )rA   s   "r3   rB   r�   ¨   s   € ÷ <ñ <Ð$=ñ <r2   c                	ó†   € V P                   pVf   VP                  4        R # \        V4      VP                  4       n        R # rk   )r‹   Ú_remove_bidiVisualÚboolÚget_or_add_bidiVisualr'   )rH   ri   r‹   s   && r3   r’   r“   §   s1   € à—
‘
ˆØŠ=Ø×$Ñ$Ö&ä04°U³ˆE×'Ñ'Ó)Ö-r2   c                ó@   € \        V P                  P                  4      # )z)The number of grid columns in this table.)Úlenr�   ÚgridCol_lstrƒ   s   &r3   Ú	col_countÚCT_Tbl.col_count¯   s   € ô �4—<‘<×+Ñ+Ó,Ð,r2   c              #  ób   "  € V P                    F  pVP                   F  pVx € K	  	  K  	  R# 5i)z­Generate each of the `w:tc` elements in this table, left to right and top to
bottom.

Each cell in the first row is generated, followed by each cell in the second
row, etc.
N)r]   r9   )rH   ÚtrrV   s   &  r3   Úiter_tcsÚCT_Tbl.iter_tcs´   s(   é € ð —+”+ˆBØ—i”i�Ø”ó  ó ùs   ‚-/c               ó(   € V ^8„  d   QhRRRRRRRR/# )r>   Úrowsr@   ÚcolsÚwidthr   r?   r[   r*   )rA   s   "r3   rB   r�   À   s.   € ÷ Hñ H˜3ð H cð H°&ð H¸Vñ Hr2   c           
     óT   € \        \        \        V P                  WV4      4      4      # )zxReturn a new `w:tbl` element having `rows` rows and `cols` columns.

`width` is distributed evenly between the columns.
)r   r[   r   Ú_tbl_xml)Úclsr£   r¤   r¥   s   &&&&r3   Únew_tblÚCT_Tbl.new_tbl¿   s!   € ô ”FœI c§l¡l°4¸uÓ&EÓFÓGÐGr2   c               ó   € V ^8„  d   QhRR/# ©r>   r?   ú
str | Noner*   )rA   s   "r3   rB   r�   È   s   € ÷ ñ ˜jñ r2   c                óR   € V P                   P                  pVf   R# VP                  # )zH`w:tblPr/w:tblStyle/@w:val` (a table style id) or |None| if not present.N)r‹   ÚtblStyler'   ©rH   r¯   s   & r3   ÚtblStyle_valÚCT_Tbl.tblStyle_valÇ   s&   € ð —:‘:×&Ñ&ˆØÒÙØ�|‰|Ðr2   c               ó    € V ^8„  d   QhRRRR/# )r>   ÚstyleIdr­   r?   ÚNoner*   )rA   s   "r3   rB   r�   Ð   s   € ÷ 	,ñ 	, Jð 	,°4ñ 	,r2   c                ór   € V P                   pVP                  4        Vf   R# WP                  4       n        R# )z†Set the value of `w:tblPr/w:tblStyle/@w:val` (a table style id) to `styleId`.

If `styleId` is None, remove the `w:tblStyle` element.
N)r‹   Ú_remove_tblStyleÚ_add_tblStyler'   )rH   r´   r‹   s   && r3   r±   r²   Ï   s0   € ð —
‘
ˆØ×ÑÔ ØŠ?ÙØ$+×ÑÓÖ!r2   c               ó(   € V ^8„  d   QhRRRRRRRR/# )r>   r£   r@   r¤   r¥   r   r?   Ústrr*   )rA   s   "r3   rB   r�   Ü   s(   € ÷ 
ñ 
˜Cð 
 sð 
°6ð 
¸cñ 
r2   c           	     	ó®   € V^ 8”  d   \        W2,          4      M
\        ^ 4      pR\        R4       RV P                  W$4       V P                  WV4       R2# )rv   z<w:tbl Úwz×>
  <w:tblPr>
    <w:tblW w:type="auto" w:w="0"/>
    <w:tblLook w:firstColumn="1" w:firstRow="1"
               w:lastColumn="0" w:lastRow="0" w:noHBand="0"
               w:noVBand="1" w:val="04A0"/>
  </w:tblPr>
z	</w:tbl>
)r   r
   Ú_tblGrid_xmlÚ_trs_xml)r¨   r£   r¤   r¥   Ú	col_widths   &&&& r3   r§   ÚCT_Tbl._tbl_xmlÛ   s[   € à*.°¬(”C˜�Ô&¼¸A»ˆ	à”g˜c“l�^ð $ð ×Ñ Ó0Ð1Ø�|‰|˜D¨	Ó2Ð3Øð	ð	
r2   c               ó$   € V ^8„  d   QhRRRRRR/# ©r>   rœ   r@   r¿   r   r?   rº   r*   )rA   s   "r3   rB   r�   ì   s!   € ÷ ñ  Sð °Vð Àñ r2   c                	ót   € R p\        V4       F  pVRVP                  ,          ,          pK  	  VR,          pV# )z  <w:tblGrid>
z    <w:gridCol w:w="%d"/>
z  </w:tblGrid>
)ÚrangeÚtwips)r¨   rœ   r¿   ÚxmlÚ_s   &&&  r3   r½   ÚCT_Tbl._tblGrid_xmlë   s:   € àˆÜ�yÖ!ˆAØÐ0°9·?±?ÕBÕBŠCñ "àÐ!Õ!ˆØˆ
r2   c               ó(   € V ^8„  d   QhRRRRRRRR/# )r>   Ú	row_countr@   rœ   r¿   r   r?   rº   r*   )rA   s   "r3   rB   r�   ô   s.   € ÷ Xñ X ð X°ð XÀð XÈCñ Xr2   c                	ó:   € R V P                  W#4       R2V,          # )z	  <w:tr>
z
  </w:tr>
)Ú_tcs_xml)r¨   rÊ   rœ   r¿   s   &&&&r3   r¾   ÚCT_Tbl._trs_xmló   s    € à˜CŸL™L¨Ó>Ð?¸{ÐKÈiÕWÐWr2   c               ó$   € V ^8„  d   QhRRRRRR/# rÂ   r*   )rA   s   "r3   rB   r�   ø   s!   € ÷ ñ  ð °ð ¸Cñ r2   c                	ó0   € R VP                    R2V,          # )z;    <w:tc>
      <w:tcPr>
        <w:tcW w:type="dxa" w:w="z-"/>
      </w:tcPr>
      <w:p/>
    </w:tc>
)rÅ   )r¨   rœ   r¿   s   &&&r3   rÌ   ÚCT_Tbl._tcs_xml÷   s+   € ð0à09·±Ð/@ð Aðð õð 	r2   r*   N)r+   r,   r-   r.   r/   r0   r   r‹   r�   r   rŸ   r†   r’   r‡   rœ   r    Úclassmethodr©   r±   r§   r½   r¾   rÌ   r1   r*   r2   r3   r[   r[   ’   s  ‡ Ùà Ó ØÓá# IÓ.€Eˆ8Ó.Ù'¨Ó4€GˆZÓ4Ù	�FÓ	€Bàôó ðð ×Ñô<ó ð<ð ñ-ó ð-ò	ð ôHó ðHð ôó ðð ×Ñô	,ó ð	,ð ô
ó ð
ð ôó ðð ôXó ðXð ôó ôr2   r[   c                  óD   € ] tR tRt$ RtR]R&   R]R&   ]! RRR7      tR	tR
# )rŒ   i  zi`w:tblGrid` element.

Child of `w:tbl`, holds `w:gridCol> elements that define column count, width, etc.
zCallable[[], CT_TblGridCol]Úadd_gridColzlist[CT_TblGridCol]r›   z	w:gridCol©Ú
successorsr*   N)zw:tblGridChange)	r+   r,   r-   r.   r/   r0   r   ÚgridColr1   r*   r2   r3   rŒ   rŒ     s"   ‡ ñð
 -Ó,Ø$Ó$á˜Ð1EÔF„Gr2   rŒ   c                  óN   € ] tR tRt$ Rt]! R]4      tR]R&   ]	R R l4       t
RtR	# )
ÚCT_TblGridColi  zB`w:gridCol` element, child of `w:tblGrid`, defines a table column.úw:wr&   r¼   c               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   ÚCT_TblGridCol.__annotate__  s   € ÷ /ñ /˜Sñ /r2   c                ót   € \        \        V P                  4       4      pVP                  P	                  V 4      # )zHIndex of this `w:gridCol` element within its parent `w:tblGrid` element.)r   rŒ   r\   r›   r^   )rH   r�   s   & r3   ÚgridCol_idxÚCT_TblGridCol.gridCol_idx  s.   € ô ”z 4§>¡>Ó#3Ó4ˆØ×"Ñ"×(Ñ(¨Ó.Ð.r2   r*   N)r+   r,   r-   r.   r/   r   r   r¼   r0   r†   rÝ   r1   r*   r2   r3   rØ   rØ     s/   ‡ ÙLá(Øˆó€A€}ó ð ô/ó ô/r2   rØ   c                  ó8   € ] tR tRt$ Rt]! R]4      tR]R&   Rt	R# )ÚCT_TblLayoutTypei  zu`w:tblLayout` element.

Specifies whether column widths are fixed or can be automatically adjusted based on
content.
úw:typer­   Útyper*   N)
r+   r,   r-   r.   r/   r   r   râ   r0   r1   r*   r2   r3   rà   rà     s    ‡ ññ )ØÐ"ó€Dˆ*÷ r2   rà   c                  óÒ  € ] tR tRt$ RtR]R&   R]R&   R]R&   R	]R
&   R]R&   R]R&   R]R&   R-t]! R]R,          R7      tR]R&   ]! R]R,          R7      t	R]R&   ]! R]R,          R7      t
R]R&   ]! R]R,          R7      tR]R&   A]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]P                  R) R* l4       tR+tR,# ).rŠ   i)  zy``<w:tblPr>`` element, child of ``<w:tbl>``, holds child elements that define
table properties such as style and borders.zCallable[[], CT_OnOff]r˜   zCallable[[], CT_Jc]Úget_or_add_jczCallable[[], CT_TblLayoutType]Úget_or_add_tblLayoutzCallable[[], CT_String]r¸   úCallable[[], None]r–   Ú
_remove_jcr·   ú
w:tblStyleúw:bidiVisualúw:jcúw:tblLayout:é   NNrÔ   zCT_String | Noner¯   ºé   NNzCT_OnOff | Noner‘   ºé   NNzCT_Jc | NoneÚjc:é   NNzCT_TblLayoutType | NoneÚ	tblLayoutc               ó   € V ^8„  d   QhRR/# )r>   r?   úWD_TABLE_ALIGNMENT | Noner*   )rA   s   "r3   rB   ÚCT_TblPr.__annotate__X  s   € ÷ 9ñ 9Ð4ñ 9r2   c                óR   € V P                   pVf   R# \        RVP                  4      # )zAHorizontal alignment of table, |None| if `./w:jc` is not present.Nrõ   )rñ   r   r'   )rH   rñ   s   & r3   Ú	alignmentÚCT_TblPr.alignmentW  s'   € ð �W‰WˆØŠ:ÙÜÐ/°·±Ó8Ð8r2   c               ó   € V ^8„  d   QhRR/# )r>   ri   rõ   r*   )rA   s   "r3   rB   rö   `  s   € ÷ 3ñ 3Ð8ñ 3r2   c                	ót   € V P                  4        Vf   R # V P                  4       p\        RV4      Vn        R # )Nr   )rç   rä   r   r'   )rH   ri   rñ   s   && r3   rø   rù   _  s1   € à�‰ÔØŠ=ÙØ×ÑÓ!ˆÜÐ*¨EÓ2ˆŽr2   c               ó   € V ^8„  d   QhRR/# ©r>   r?   r—   r*   )rA   s   "r3   rB   rö   h  s   € ÷ Hñ H˜ñ Hr2   c                óD   € V P                   pVf   R# VP                  R8g  # )zW|False| when there is a `w:tblLayout` child with `@w:type="fixed"`.

Otherwise |True|.
TÚfixed)ró   râ   )rH   ró   s   & r3   ÚautofitÚCT_TblPr.autofitg  s&   € ð —N‘Nˆ	Ø Ò(ˆtÐG¨i¯n©nÀÑ.GÐGr2   c               ó   € V ^8„  d   QhRR/# )r>   ri   r—   r*   )rA   s   "r3   rB   rö   q  s   € ÷ 9ñ 9˜Tñ 9r2   c                	óV   € V P                  4       pV'       d
   R Vn        R# RVn        R# )r   rÿ   N)rå   râ   )rH   ri   ró   s   && r3   r   r  p  s   € à×-Ñ-Ó/ˆ	ß&+˜ˆ	Ž°ˆ	Žr2   c                ó>   € V P                   pVf   R# VP                  # )zaReturn the value of the ``val`` attribute of the ``<w:tblStyle>`` child or
|None| if not present.N)r¯   r'   r°   s   & r3   ÚstyleÚCT_TblPr.styleu  s    € ð —=‘=ˆØÒÙØ�|‰|Ðr2   c               ó   € V ^8„  d   QhRR/# ©r>   ri   r­   r*   )rA   s   "r3   rB   rö     s   € ÷ )ñ )˜:ñ )r2   c                	óZ   € V P                  4        Vf   R # WP                  4       n        R # rk   )r·   r¸   r'   ©rH   ri   s   &&r3   r  r  ~  s%   € à×ÑÔØŠ=ÙØ#(×ÑÓÖ r2   r*   N)rè   zw:tblpPrzw:tblOverlapré   zw:tblStyleRowBandSizezw:tblStyleColBandSizezw:tblWrê   úw:tblCellSpacingzw:tblIndzw:tblBordersúw:shdrë   zw:tblCellMarz	w:tblLookzw:tblCaptionzw:tblDescriptionzw:tblPrChange)r+   r,   r-   r.   r/   r0   Ú_tag_seqr   r¯   r‘   rñ   ró   r†   rø   r‡   r   r  r1   r*   r2   r3   rŠ   rŠ   )  s7  ‡ ñ3ð 2Ó1Ø&Ó&Ø8Ó8Ø*Ó*Ø*Ó*Ø"Ó"Ø(Ó(ð€Hñ( "+Ø ¨"¥ô"€HÐó ñ #,Ø 8¨B¥<ô#€J�ó ñ !Ø˜8 B�<ô€Bˆó ñ *3Ø (¨3¥-ô*€IÐ&ó ð 	àô9ó ð9ð ×Ñô3ó ð3ð ôHó ðHð ‡^�^ô9ó ð9ð ñó ðð ‡\�\ô)ó ô)r2   rŠ   c                  ó   € ] tR tRtRtRtR# )rt   i†  zç`w:tblPrEx` element, exceptions to table-properties.

Applied at a lower level, like a `w:tr` to modify the appearance. Possibly used when
two tables are merged. For more see:
http://officeopenxml.com/WPtablePropertyExceptions.php
r*   N)r+   r,   r-   r.   r/   r1   r*   r2   r3   rt   rt   †  s   † õr2   rt   c                  óŠ   € ] tR tRt$ Rt]! R]4      tR]R&   ]! R]	4      t
]R R l4       t]P                  R	 R
 l4       tRtR# )ÚCT_TblWidthi�  zJUsed for `w:tblW` and `w:tcW` and others, specifies a table-related width.rÙ   r@   r¼   rá   c               ó   € V ^8„  d   QhRR/# ©r>   r?   r&   r*   )rA   s   "r3   rB   ÚCT_TblWidth.__annotate__™  s   € ÷ ñ �}ñ r2   c                óR   € V P                   R8w  d   R# \        V P                  4      # )z>EMU length indicated by the combined `w:w` and `w:type` attrs.ÚdxaN)râ   r   r¼   rƒ   s   &r3   r¥   ÚCT_TblWidth.width˜  s!   € ð �9‰9˜ÔÙÜ�T—V‘V‹}Ðr2   c               ó   € V ^8„  d   QhRR/# ©r>   ri   r   r*   )rA   s   "r3   rB   r     s   € ÷ "ñ "˜6ñ "r2   c                	óH   € R V n         \        V4      P                  V n        R# )r  N)râ   r   rÅ   r¼   r
  s   &&r3   r¥   r  Ÿ  s   € àˆŒ	Ü�U“×!Ñ!ˆŽr2   )râ   r¼   N)r+   r,   r-   r.   r/   r   r   r¼   r0   r   râ   r†   r¥   r‡   r1   r*   r2   r3   r  r  �  sN   ‡ ÙTñ
 ˜u fÓ-€A€sÓ-Ù˜X {Ó3€Dàôó ðð ‡\�\ô"ó ô"r2   r  c                  ó:  € ] tR tRt$ RtR]R&   R]R&   R]R&   R	]R
&   R]R&   R]R&   ]! R4      tR]R&   ]! R4      t	]! R4      t
]R R l4       tR t]R R l4       t]R R l4       t]P                   R R l4       t]R R l4       tR t]R R  l4       tR! R" lt]R# R$ l4       t]R% R& l4       t]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tRWR4 R5 lltR6 R7 lt]R8 R9 l4       tR: R; ltR< R= lt ]R> R? l4       t!R@ t"RA t#RB RC lt$RD RE lt%RF RG lt&]RH RI l4       t']RJ RK l4       t(]RL RM l4       t)]RN RO l4       t*]RP RQ l4       t+]RR RS l4       t,]RT RU l4       t-RVt.R3# )XrQ   i¥  z`w:tc` table cell element.zCallable[[], CT_P]Úadd_pzCallable[[], CT_TcPr]Úget_or_add_tcPrz
list[CT_P]Úp_lstzlist[CT_Tbl]Útbl_lstzCallable[[CT_Tbl], CT_Tbl]Ú_insert_tblÚ_new_pzw:tcPrzCT_TcPr | NoneÚtcPrúw:púw:tblc               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   ÚCT_Tc.__annotate__µ  s   € ÷ 
 ñ 
 ˜ñ 
 r2   c                óº   € V P                   e<   V P                  pVe,   VP                   \        P                  8X  d   VP                  # V P
                  ^,           # )zÔThe row index that marks the bottom extent of the vertical span of this cell.

This is one greater than the index of the bottom-most row of the span, similar
to how a slice of the cell's rows would be specified.
)ÚvMergeÚ	_tc_belowr   ÚCONTINUEÚbottomÚ_tr_idx)rH   Útc_belows   & r3   r*  ÚCT_Tc.bottom´  sG   € ð �;‰;Ò"Ø—~‘~ˆHØÒ#¨¯©¼8×;LÑ;LÔ(LØ—‘Ð&Ø�|‰|˜aÕÐr2   c                óX   € V P                  R4       F  pV P                  V4       K  	  R# )a  Remove all content elements, preserving `w:tcPr` element if present.

Note that this leaves the `w:tc` element in an invalid state because it doesn't
contain at least one block-level element. It's up to the caller to add a
`w:p`child element as the last content element.
z./*[not(self::w:tcPr)]N)ÚxpathÚremove)rH   Úes   & r3   Úclear_contentÚCT_Tc.clear_contentÁ  s#   € ð —‘Ð4Ö5ˆAØ�K‰K˜ŽNó 6r2   c               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   r%  Í  s   € ÷ 	5ñ 	5˜Sñ 	5r2   c                ó€   € V P                   P                  p\        R V P                  R4       4       4      pW,           # )zsStarting offset of `tc` in the layout-grid columns of its table.

A cell in the leftmost grid-column has offset 0.
c              3  ó8   "  € T F  qP                   x € K  	  R # 5irk   )rS   )Ú.0rV   s   & r3   Ú	<genexpr>Ú$CT_Tc.grid_offset.<locals>.<genexpr>Ó  s   é € ð &
Ù#J˜R�LŽLÓ#Jùs   ‚z./preceding-sibling::w:tc)Ú_trrM   Úsumr/  )rH   rM   Úpreceding_tc_grid_spanss   &  r3   rP   ÚCT_Tc.grid_offsetÌ  s@   € ð —h‘h×*Ñ*ˆÜ"%ñ &
Ø#'§:¡:Ð.IÔ#Jó&
ó #
Ðð Õ4Ð4r2   c               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   r%  Ù  s   € ÷ 5ñ 5˜3ñ 5r2   c                ó>   € V P                   pVf   ^# VP                  # )zjThe integer number of columns this cell spans.

Determined by ./w:tcPr/w:gridSpan/@val, it defaults to 1.
)r!  rS   ©rH   r!  s   & r3   rS   ÚCT_Tc.grid_spanØ  s    € ð �y‰yˆØ’LˆqÐ4 d§n¡nÐ4r2   c               ó   € V ^8„  d   QhRR/# ©r>   ri   r@   r*   )rA   s   "r3   rB   r%  â  s   € ÷ ñ ˜sñ r2   c                	ó2   € V P                  4       pWn        R # rk   )r  rS   ©rH   ri   r!  s   && r3   rS   rA  á  s   € à×#Ñ#Ó%ˆØŽr2   c               ó   € V ^8„  d   QhRR/# )r>   r?   zlist[CT_P | CT_Tbl]r*   )rA   s   "r3   rB   r%  ç  s   € ÷ -ñ -Ð(;ñ -r2   c                ó$   € V P                  R4      # )z¼Generate all `w:p` and `w:tbl` elements in this document-body.

Elements appear in document order. Elements shaded by nesting in a `w:ins` or
other "wrapper" element will not be included.
z./w:p | ./w:tbl©r/  rƒ   s   &r3   Úinner_content_elementsÚCT_Tc.inner_content_elementsæ  s   € ð �z‰zÐ+Ó,Ð,r2   c              #  óŽ   "  € \        R4      \        R4      \        R4      3pV  F  pVP                  V9   g   K  Vx € K  	  R# 5i)zhGenerate a reference to each of the block-level content elements in this
cell, in the order they appear.r"  r#  zw:sdtN)r   Útag)rH   Úblock_item_tagsÚchilds   &  r3   Úiter_block_itemsÚCT_Tc.iter_block_itemsï  s:   é € ô ˜e›9¤b¨£k´2°g³;Ð?ˆÛˆEØ�y‰y˜OÖ+Ø”ó ùs
   ‚4A»
Ac               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   r%  ø  s   € ÷  ñ  �cñ  r2   c                ó   € V P                   # )z?The grid column index at which this ``<w:tc>`` element appears.)rP   rƒ   s   &r3   ÚleftÚ
CT_Tc.left÷  s   € ð ×ÑÐr2   c               ó    € V ^8„  d   QhRRRR/# )r>   Úother_tcrQ   r?   r*   )rA   s   "r3   rB   r%  ü  s   € ÷ 	ñ 	˜eð 	¨ñ 	r2   c                ó¨   € V P                  V4      w  r#rEV P                  P                  V,          P                  V4      pVP	                  WT4       V# )z¥Return top-left `w:tc` element of a new span.

Span is formed by merging the rectangular region defined by using this tc
element and `other_tc` as diagonal corners.
)Ú_span_dimensionsÚ_tblr]   rW   Ú_grow_to)rH   rV  ÚtoprS  Úheightr¥   Útop_tcs   &&     r3   ÚmergeÚCT_Tc.mergeü  sI   € ð $(×#8Ñ#8¸Ó#BÑ ˆ�6Ø—‘×!Ñ! #Õ&×8Ñ8¸Ó>ˆØ�‰˜Ô&Øˆr2   c               ó   € V ^8„  d   QhRR/# ©r>   r?   rQ   r*   )rA   s   "r3   rB   r%    s   € ÷ Oñ O�Eñ Or2   c           	     óT   € \        \        \        R\        R4      ,          4      4      # )zUA new `w:tc` element, containing an empty paragraph as the required EG_BlockLevelElt.z<w:tc %s><w:p/></w:tc>r¼   )r   rQ   r   r
   )r¨   s   &r3   r‚   Ú	CT_Tc.new  s    € ô ”Eœ9Ð%=ÄÈÃÕ%LÓMÓNÐNr2   c               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   r%    s   € ÷ 1ñ 1�sñ 1r2   c                ó<   € V P                   V P                  ,           # )zçThe grid column index that marks the right-side extent of the horizontal span
of this cell.

This is one greater than the index of the right-most column of the span, similar
to how a slice of the cell's columns would be specified.
)rP   rS   rƒ   s   &r3   ÚrightÚCT_Tc.right  s   € ð ×Ñ $§.¡.Õ0Ð0r2   c               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   r%    s   € ÷ "ñ "�Sñ "r2   c                ó    € V P                   e    V P                   \        P                  8X  d   V P                  # V P                  P
                  # )z9The top-most row index in the vertical span of this cell.)r'  r   ÚRESTARTr+  Ú	_tc_abover[  rƒ   s   &r3   r[  Ú	CT_Tc.top  s9   € ð �;‰;Ò $§+¡+´×1AÑ1AÔ"AØ—<‘<ÐØ�~‰~×!Ñ!Ð!r2   c               ó   € V ^8„  d   QhRR/# r¬   r*   )rA   s   "r3   rB   r%    s   € ÷ ñ ˜
ñ r2   c                ó>   € V P                   pVf   R# VP                  # )zCValue of ./w:tcPr/w:vMerge/@val, |None| if w:vMerge is not present.N)r!  Ú
vMerge_valr@  s   & r3   r'  ÚCT_Tc.vMerge  s   € ð �y‰yˆØŠ<ÙØ�‰Ðr2   c               ó   € V ^8„  d   QhRR/# r  r*   )rA   s   "r3   rB   r%  &  s   € ÷  ñ  ˜Jñ  r2   c                	ó2   € V P                  4       pWn        R # rk   )r  ro  rE  s   && r3   r'  rp  %  s   € à×#Ñ#Ó%ˆØŽr2   c               ó   € V ^8„  d   QhRR/# r  r*   )rA   s   "r3   rB   r%  +  s   € ÷ ñ �}ñ r2   c                ó>   € V P                   pVf   R# VP                  # )zDEMU length represented in `./w:tcPr/w:tcW` or |None| if not present.N)r!  r¥   r@  s   & r3   r¥   ÚCT_Tc.width*  s   € ð �y‰yˆØŠ<ÙØ�z‰zÐr2   c               ó   € V ^8„  d   QhRR/# r  r*   )rA   s   "r3   rB   r%  3  s   € ÷ ñ ˜6ñ r2   c                	ó2   € V P                  4       pWn        R # rk   )r  r¥   rE  s   && r3   r¥   ru  2  s   € à×#Ñ#Ó%ˆØŽ
r2   c               ó   € V ^8„  d   QhRR/# ©r>   rV  rQ   r*   )rA   s   "r3   rB   r%  7  s   € ÷ =ñ = eñ =r2   c                ó¬   € V P                   '       dB   VP                   '       d.   \        V P                   VP                   ,           4      V n         R# R# R# )zyAdd the width of `other_tc` to this cell.

Does nothing if either this tc or `other_tc` does not have a specified width.
N)r¥   r   )rH   rV  s   &&r3   Ú_add_width_ofÚCT_Tc._add_width_of7  s5   € ð
 �:�:ˆ:˜(Ÿ.Ÿ.˜.Ü §
¡
¨X¯^©^Õ ;Ó<ˆDŽJñ )‰:r2   Nc               ó$   € V ^8„  d   QhRRRRRR/# )r>   r¥   r@   r\  r]  úCT_Tc | Noner*   )rA   s   "r3   rB   r%  ?  s!   € ÷ 9ñ 9˜cð 9¨3ð 9¸ñ 9r2   c                óÈ   a a€ R VV 3R llpVf   S MTpS P                  WV! V4      4       S^8”  d/   S P                  pVf   Q hVP                  VS^,
          V4       R# R# )z¦Grow this cell to `width` grid columns and `height` rows.

This is accomplished by expanding horizontal spans and creating continuation
cells to form vertical spans.
c               ó   € V ^8„  d   QhRR/# )r>   r]  rQ   r*   )rA   s   "r3   rB   Ú$CT_Tc._grow_to.<locals>.__annotate__F  s   € ÷ 	ñ 	˜uñ 	r2   c                ób   <€ V SJd   \         P                  # S^8X  d   R# \         P                  # ©rì   N)r   r)  rj  )r]  r\  rH   s   &€€r3   ro  Ú"CT_Tc._grow_to.<locals>.vMerge_valF  s@   ø€ ð  Ó%ô ×!Ñ!ðð ˜Q”;ð ðô
 ×%Ñ%ðr2   N)Ú_span_to_widthr(  rZ  )rH   r¥   r\  r]  ro  r,  s   f&f&  r3   rZ  ÚCT_Tc._grow_to?  sf   ù€ ÷	ñ 	ð  š‘¨VˆØ×Ñ˜E©:°fÓ+=Ô>Ø�AŒ:Ø—~‘~ˆHØÒ'Ð'Ð'Ø×Ñ˜e V¨a¥Z°Ö8ñ r2   c               ó    € V ^8„  d   QhRRRR/# )r>   r!  ÚCT_TcPrr?   r*   )rA   s   "r3   rB   r%  V  s   € ÷ ñ  ð ¨Wñ r2   c                ó*   € V P                  ^ V4       V# )z#Override default `._insert_tcPr()`.rw   r@  s   &&r3   Ú_insert_tcPrÚCT_Tc._insert_tcPrV  s   € ð 	�‰�A�tÔØˆr2   c               ó   € V ^8„  d   QhRR/# rý   r*   )rA   s   "r3   rB   r%  ^  s   € ÷ Iñ I˜4ñ Ir2   c                óÊ   € \        V P                  4       4      p\        V4      ^8”  d   R# V^ ,          p\        V\        4      ;'       d    \        VP
                  4      ^ 8H  # )z=True if this cell contains only a single empty `w:p` element.F)ÚlistrO  rš   Ú
isinstancer   Úr_lst)rH   Úblock_itemsÚ	only_items   &  r3   Ú	_is_emptyÚCT_Tc._is_empty]  sU   € ô ˜4×0Ñ0Ó2Ó3ˆÜˆ{Ó˜aÔÙð   •Nˆ	Ü˜)¤TÓ*×HÐH¬s°9·?±?Ó/CÀqÑ/HÐHr2   c               ó   € V ^8„  d   QhRR/# ry  r*   )rA   s   "r3   rB   r%  h  s   € ÷ #ñ #¨ñ #r2   c                óê   € WJ d   R# V P                   '       d   R# VP                  4        V P                  4        F  pVP                  V4       K  	  V P                  V P	                  4       4       R# )zhAppend the content of this cell to `other_tc`.

Leaves this cell with a single empty ``<w:p>`` element.
N)r“  Ú_remove_trailing_empty_prO  Úappendr   )rH   rV  Úblock_elements   && r3   Ú_move_content_toÚCT_Tc._move_content_toh  sX   € ð
 ÓÙØ�>�>ˆ>ÙØ×)Ñ)Ô+à!×2Ñ2Ö4ˆMØ�O‰O˜MÖ*ñ 5ð 	�‰�D—K‘K“MÖ"r2   c               ó   € V ^8„  d   QhRR/# )r>   r?   rµ   r*   )rA   s   "r3   rB   r%  x  s   € ÷ 
ñ 
˜$ñ 
r2   c                	ó   € \        R 4      h)zDuse CT_Tbl.new_tbl() to add a new table, specifying rows and columns)ÚNotImplementedErrorrƒ   s   &r3   Ú_new_tblÚCT_Tc._new_tblx  s   € Ü!ØRó
ð 	
r2   c               ó   € V ^8„  d   QhRR/# ©r>   r?   r~  r*   )rA   s   "r3   rB   r%  ~  s   € ÷ ;ñ ;˜,ñ ;r2   c                óJ   € V P                  R4      pV'       d
   V^ ,          # R# )zwThe `w:tc` element immediately following this one in this row, or |None| if
this is the last `w:tc` element in the row.z./following-sibling::w:tcNrH  )rH   Úfollowing_tcss   & r3   Ú_next_tcÚCT_Tc._next_tc}  s%   € ð Ÿ
™
Ð#>Ó?ˆß#0ˆ}˜QÕÐ:°dÐ:r2   c                óT   € V P                  4       pVf   Q hVP                  V 4       R# )z-Remove this `w:tc` element from the XML tree.N)r\   r0  )rH   Úparent_elements   & r3   Ú_removeÚCT_Tc._remove„  s(   € àŸ™Ó)ˆØÒ)Ð)Ð)Ø×Ñ˜dÖ#r2   c                óØ   € \        V P                  4       4      pVR,          p\        V\        4      '       g   R# Tp\	        VP
                  4      ^ 8”  d   R# V P                  V4       R# )zJRemove last content element from this cell if it's an empty `w:p` element.Néÿÿÿÿ)rŽ  rO  r�  r   rš   r�  r0  )rH   r‘  Úlast_content_elmÚps   &   r3   r—  ÚCT_Tc._remove_trailing_empty_pŠ  sS   € ä˜4×0Ñ0Ó2Ó3ˆØ& r�?ÐÜÐ*¬D×1Ò1ÙØˆÜˆq�w‰w‹<˜!ÔÙØ�‰�AŽr2   c               ó    € V ^8„  d   QhRRRR/# )r>   rV  rQ   r?   ztuple[int, int, int, int]r*   )rA   s   "r3   rB   r%  •  s   € ÷ 5ñ 5¨ð 5Ð3Lñ 5r2   c                ó\  € R R lpR R lpV! W4       V! W4       \        V P                  VP                  4      p\        V P                  VP                  4      p\        V P                  VP                  4      p\        V P
                  VP
                  4      pWEWd,
          Wu,
          3# )z˜Return a (top, left, height, width) 4-tuple specifying the extents of the
merged cell formed by using this tc and `other_tc` as opposite corner
extents.c               ó    € V ^8„  d   QhRRRR/# ©r>   ÚarQ   Úbr*   )rA   s   "r3   rB   Ú,CT_Tc._span_dimensions.<locals>.__annotate__š  s   € ÷ 	Iñ 	I 5ð 	I¨Uñ 	Ir2   c                ó  € V P                   VP                   8X  d'   V P                  VP                  8w  d   \        R 4      hV P                  VP                  8X  d)   V P                  VP                  8w  d   \        R 4      hR# R# ©zrequested span not rectangularN©r[  r*  r	   rS  rf  )r´  rµ  s   &&r3   Úraise_on_inverted_LÚ3CT_Tc._span_dimensions.<locals>.raise_on_inverted_Lš  s_   € Ø�u‰u˜Ÿ™Œ~ !§(¡(¨a¯h©hÔ"6Ü&Ð'GÓHÐHØ�v‰v˜Ÿ™Ô A§G¡G¨q¯w©wÔ$6Ü&Ð'GÓHÐHñ %7Ñr2   c               ó    € V ^8„  d   QhRRRR/# r³  r*   )rA   s   "r3   rB   r¶     s   € ÷ 	Iñ 	I 5ð 	I¨Uñ 	Ir2   c                óš  € V P                   VP                   8  d   W3MW3w  r#VP                   VP                   8  d'   VP                  VP                  8”  d   \        R 4      hV P                  VP                  8  d   W3MW3w  rCVP                  VP                  8  d)   VP                  VP                  8”  d   \        R 4      hR# R# r¸  r¹  )r´  rµ  Útop_mostÚotherÚ	left_mosts   &&   r3   Úraise_on_tee_shapedÚ3CT_Tc._span_dimensions.<locals>.raise_on_tee_shaped   s˜   € Ø()¯©°·±¬˜q™f¸A¸6‰OˆHØ�|‰|˜eŸi™iÔ'¨H¯O©O¸e¿l¹lÔ,JÜ&Ð'GÓHÐHà)*¯©°!·&±&¬ ™v¸q¸fÑˆIØ�~‰~ §
¡
Ô*¨y¯©ÀÇÁÔ/LÜ&Ð'GÓHÐHñ 0MÑ*r2   )Úminr[  rS  Úmaxr*  rf  )rH   rV  rº  rÁ  r[  rS  r*  rf  s   &&      r3   rX  ÚCT_Tc._span_dimensions•  s�   € õ
	Iõ	Iñ 	˜DÔ+Ù˜DÔ+ä�$—(‘(˜HŸL™LÓ)ˆÜ�4—9‘9˜hŸm™mÓ,ˆÜ�T—[‘[ (§/¡/Ó2ˆÜ�D—J‘J §¡Ó/ˆà˜&�,¨­Ð4Ð4r2   c               ó$   € V ^8„  d   QhRRRRRR/# )r>   Ú
grid_widthr@   r]  rQ   r'  r­   r*   )rA   s   "r3   rB   r%  ³  s!   € ÷ ñ ¨ð °eð ÀZñ r2   c                ó|   € V P                  V4       V P                  V8  d   V P                  W4       K$  W0n        R# )aF  Incorporate `w:tc` elements to the right until this cell spans `grid_width`.

Incorporated `w:tc` elements are removed (replaced by gridSpan value).

Raises |ValueError| if `grid_width` cannot be exactly achieved, such as when a
merged cell would drive the span width greater than `grid_width` or if not
enough grid columns are available to make this cell that wide. All content from
incorporated cells is appended to `top_tc`. The val attribute of the vMerge
element on the single remaining cell is set to `vMerge`. If `vMerge` is |None|,
the vMerge element is removed if present.
N)rš  rS   Ú_swallow_next_tcr'  )rH   rÇ  r]  r'  s   &&&&r3   r…  ÚCT_Tc._span_to_width³  s1   € ð 	×Ñ˜fÔ%Ø�n‰n˜zÔ)Ø×!Ñ! *Ö5ØŽr2   c               ó    € V ^8„  d   QhRRRR/# )r>   rÇ  r@   r]  rQ   r*   )rA   s   "r3   rB   r%  Ä  s   € ÷ ñ ¨3ð ¸ñ r2   c                óü   a a€ R VV 3R llpS P                   pV! V4       Vf   Q hVP                  V4       S P                  V4       S ;P                  VP                  ,          un        VP	                  4        R# )aÇ  Extend the horizontal span of this `w:tc` element to incorporate the
following `w:tc` element in the row and then delete that following `w:tc`
element.

Any content in the following `w:tc` element is appended to the content of
`top_tc`. The width of the following `w:tc` element is added to this one, if
present. Raises |InvalidSpanError| if the width of the resulting cell is greater
than `grid_width` or if there is no next `<w:tc>` element in the row.
c               ó   € V ^8„  d   QhRR/# )r>   Únext_tcr~  r*   )rA   s   "r3   rB   Ú,CT_Tc._swallow_next_tc.<locals>.__annotate__Ï  s   € ÷ 	Bñ 	B¨lñ 	Br2   c                ó€   <€ V f   \        R4      hSP                  V P                  ,           S8”  d   \        R4      hR # )Nznot enough grid columnszspan is not rectangular)r	   rS   )rÎ  rÇ  rH   s   &€€r3   Úraise_on_invalid_swallowÚ8CT_Tc._swallow_next_tc.<locals>.raise_on_invalid_swallowÏ  s<   ø€ ØŠÜ&Ð'@ÓAÐAØ�~‰~ × 1Ñ 1Õ1°JÔ>Ü&Ð'@ÓAÐAñ ?r2   N)r¥  rš  r{  rS   r©  )rH   rÇ  r]  rÑ  rÎ  s   ff&  r3   rÉ  ÚCT_Tc._swallow_next_tcÄ  sh   ù€ ÷	Bñ 	Bð —-‘-ˆÙ  Ô)ØÒ"Ð"Ð"Ø× Ñ  Ô(Ø×Ñ˜7Ô#Ø�Š˜'×+Ñ+Õ+�Ø�‰Ör2   c               ó   € V ^8„  d   QhRR/# )r>   r?   r[   r*   )rA   s   "r3   rB   r%  Þ  s   € ÷ Nñ N�fñ Nr2   c                óN   € \        \        V P                  R4      ^ ,          4      # )z+The tbl element this tc element appears in.z./ancestor::w:tbl[position()=1])r   r[   r/  rƒ   s   &r3   rY  Ú
CT_Tc._tblÝ  s    € ô ”F˜DŸJ™JÐ'HÓIÈ!ÕLÓMÐMr2   c               ó   € V ^8„  d   QhRR/# ra  r*   )rA   s   "r3   rB   r%  ã  s   € ÷ Bñ B˜5ñ Br2   c                óL   € V P                   P                  V P                  4      # )zAThe `w:tc` element immediately above this one in its grid column.)Ú	_tr_aboverW   rP   rƒ   s   &r3   rk  ÚCT_Tc._tc_aboveâ  s   € ð �~‰~×/Ñ/°×0@Ñ0@ÓAÐAr2   c               ó   € V ^8„  d   QhRR/# r¢  r*   )rA   s   "r3   rB   r%  è  s   € ÷ <ñ <˜<ñ <r2   c                ó\   € V P                   pVf   R# VP                  V P                  4      # )z=The tc element immediately below this one in its grid column.N)Ú	_tr_belowrW   rP   )rH   Útr_belows   & r3   r(  ÚCT_Tc._tc_belowç  s-   € ð —>‘>ˆØÒÙØ×)Ñ)¨$×*:Ñ*:Ó;Ð;r2   c               ó   € V ^8„  d   QhRR/# ©r>   r?   r5   r*   )rA   s   "r3   rB   r%  ð  s   € ÷ Mñ M�Vñ Mr2   c                óN   € \        \        V P                  R4      ^ ,          4      # )z*The tr element this tc element appears in.z./ancestor::w:tr[position()=1])r   r5   r/  rƒ   s   &r3   r:  Ú	CT_Tc._trï  s    € ô ”F˜DŸJ™JÐ'GÓHÈÕKÓLÐLr2   c               ó   € V ^8„  d   QhRR/# rá  r*   )rA   s   "r3   rB   r%  õ  s   € ÷ ñ ˜6ñ r2   c                ó\   € V P                  R4      pV'       g   \        R4      hV^ ,          # )zThe tr element prior in sequence to the tr this cell appears in.

Raises |ValueError| if called on a cell in the top-most row.
z9./ancestor::w:tr[position()=1]/preceding-sibling::w:tr[1]zno tr above topmost tr in w:tbl)r/  rT   )rH   Ú	tr_abovess   & r3   rÙ  ÚCT_Tc._tr_aboveô  s,   € ð —J‘JÐZÓ[ˆ	ßÜÐ>Ó?Ð?Ø˜�|Ðr2   c               ó   € V ^8„  d   QhRR/# )r>   r?   zCT_Row | Noner*   )rA   s   "r3   rB   r%     s   € ÷ ñ ˜=ñ r2   c                ó¨   € V P                   P                  pVP                  V P                  4      p W^,           ,          #   \         d     R# i ; i)zrThe tr element next in sequence after the tr this cell appears in, or |None|
if this cell appears in the last row.N)rY  r]   r^   r:  Ú
IndexError)rH   r]   r`   s   &  r3   rÝ  ÚCT_Tc._tr_belowÿ  sI   € ð —‘×!Ñ!ˆØ—‘˜dŸh™hÓ'ˆð	Ø 1�*Õ%Ð%øÜô 	Úð	ús   ³A ÁAÁAc               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   r%    s   € ÷ 0ñ 0˜ñ 0r2   c                ó`   € V P                   P                  P                  V P                  4      # )z;The row index of the tr element this tc element appears in.)rY  r]   r^   r:  rƒ   s   &r3   r+  ÚCT_Tc._tr_idx
  s#   € ð �y‰y×Ñ×%Ñ% d§h¡hÓ/Ð/r2   )r'  r¥   rk   )/r+   r,   r-   r.   r/   r0   r   r!  r   r®  r_   r†   r*  r2  rP   rS   r‡   rI  rO  rS  r^  rÑ   r‚   rf  r[  r'  r¥   r{  rZ  rŠ  r“  rš  rŸ  r¥  r©  r—  rX  r…  rÉ  rY  rk  r(  r:  rÙ  rÝ  r+  r1   r*   r2   r3   rQ   rQ   ¥  s]  ‡ Ù$àÓØ*Ó*ØÓØÓØ+Ó+ØÓñ % XÓ.€Dˆ.Ó.Ù�%Ó€AÙ
�GÓ
€Càô
 ó ð
 ò	ð ô	5ó ð	5ð ô5ó ð5ð ×Ñôó ðð ô-ó ð-òð ô ó ð õ	ð ôOó ðOð ô1ó ð1ð ô"ó ð"ð ôó ðð ‡]�]ô ó ð ð ôó ðð ‡\�\ôó ðõ=÷9õ.ð ôIó ðIõ#õ 
ð
 ô;ó ð;ò$ò	õ5õ<õ"ð2 ôNó ðNð ôBó ðBð ô<ó ð<ð ôMó ðMð ôó ðð ôó ðð ô0ó ô0r2   rQ   c                  ó  € ] tR tRt$ RtR]R&   R]R&   R]R&   R	]R
&   R]R&   R]R&   R]R&   R0t]! R]R,          R7      tR]R&   ]! R]R,          R7      t	R]R&   ]! R]R,          R7      t
R]R&   ]! R]R,          R7      tR]R&   A]R  R! l4       t]P                  R" R# l4       t]R$ 4       t]P                  R% R& l4       t]R' 4       t]P                  R( R) l4       t]R* R+ l4       t]P                  R, R- l4       tR.tR/# )1rˆ  i  z5``<w:tcPr>`` element, defining table cell properties.zCallable[[], CT_DecimalNumber]Úget_or_add_gridSpanzCallable[[], CT_TblWidth]Úget_or_add_tcWzCallable[[], CT_VerticalJc]Úget_or_add_vAlignzCallable[[], CT_VMerge]Ú_add_vMergeræ   Ú_remove_gridSpanÚ_remove_vAlignÚ_remove_vMergeúw:tcWú
w:gridSpanúw:vMergeúw:vAlign:r>   NNrÔ   zCT_TblWidth | NoneÚtcWºé   NNúCT_DecimalNumber | NoneÚgridSpan:é   NNzCT_VMerge | Noner'  :é   NNzCT_VerticalJc | NoneÚvAlignc               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   ÚCT_TcPr.__annotate__>  s   € ÷ 7ñ 7˜3ñ 7r2   c                ó>   € V P                   pVf   ^# VP                  # )zcThe integer number of columns this cell spans.

Determined by ./w:gridSpan/@val, it defaults to 1.
)rÿ  r'   )rH   rÿ  s   & r3   rS   ÚCT_TcPr.grid_span=  s!   € ð —=‘=ˆØÒ$ˆqÐ6¨(¯,©,Ð6r2   c               ó   € V ^8„  d   QhRR/# rC  r*   )rA   s   "r3   rB   r  G  s   € ÷ 3ñ 3˜sñ 3r2   c                	ó`   € V P                  4        V^8”  d   WP                  4       n        R# R# rƒ  )rô  rð  r'   r
  s   &&r3   rS   r  F  s)   € à×ÑÔØ�1Œ9Ø-2×$Ñ$Ó&Ö*ñ r2   c                ó>   € V P                   pVf   R# VP                  # )z—Value of `w:val` attribute on  `w:vAlign` child.

Value is |None| if `w:vAlign` child is not present. The `w:val` attribute on
`w:vAlign` is required.
N)r  r'   )rH   r  s   & r3   Ú
vAlign_valÚCT_TcPr.vAlign_valL  s   € ð —‘ˆØŠ>ÙØ�z‰zÐr2   c               ó   € V ^8„  d   QhRR/# )r>   ri   z!WD_CELL_VERTICAL_ALIGNMENT | Noner*   )rA   s   "r3   rB   r  Y  s   € ÷ -ñ -Ð Añ -r2   c                	óZ   € Vf   V P                  4        R # WP                  4       n        R # rk   )rõ  rò  r'   r
  s   &&r3   r
  r  X  s%   € àŠ=Ø×ÑÔ!ÙØ',×ÑÓ Ö$r2   c                ó>   € V P                   pVf   R# VP                  # )z]The value of the ./w:vMerge/@val attribute, or |None| if the w:vMerge element
is not present.N)r'  r'   )rH   r'  s   & r3   ro  ÚCT_TcPr.vMerge_val_  s   € ð —‘ˆØŠ>ÙØ�z‰zÐr2   c               ó   € V ^8„  d   QhRR/# r  r*   )rA   s   "r3   rB   r  i  s   € ÷ +ñ + 
ñ +r2   c                	óZ   € V P                  4        Ve   WP                  4       n        R # R # rk   )rö  ró  r'   r
  s   &&r3   ro  r  h  s(   € à×ÑÔØÒØ%*×ÑÓÖ"ñ r2   c               ó   € V ^8„  d   QhRR/# r  r*   )rA   s   "r3   rB   r  o  s   € ÷ ñ �}ñ r2   c                ó>   € V P                   pVf   R# VP                  # )zJEMU length in `./w:tcW` or |None| if not present or its type is not 'dxa'.N)rû  r¥   )rH   rû  s   & r3   r¥   ÚCT_TcPr.widthn  s   € ð �h‰hˆØŠ;ÙØ�y‰yÐr2   c               ó   € V ^8„  d   QhRR/# r  r*   )rA   s   "r3   rB   r  w  s   € ÷ ñ ˜6ñ r2   c                	ó2   € V P                  4       pWn        R # rk   )rñ  r¥   )rH   ri   rû  s   && r3   r¥   r  v  s   € à×!Ñ!Ó#ˆØŽ	r2   r*   N)ú
w:cnfStyler÷  rø  zw:hMergerù  zw:tcBordersr  zw:noWrapzw:tcMarzw:textDirectionzw:tcFitTextrú  z
w:hideMarkz	w:headersz	w:cellInsz	w:cellDelzw:cellMergezw:tcPrChange)r+   r,   r-   r.   r/   r0   r  r   rû  rÿ  r'  r  r†   rS   r‡   r
  ro  r¥   r1   r*   r2   r3   rˆ  rˆ    sc  ‡ Ù?à7Ó7Ø-Ó-Ø2Ó2Ø(Ó(Ø(Ó(Ø&Ó&Ø&Ó&ð€Hñ( (Ø˜H R�Lô€CÐ	ó ñ )2Ø ¨"¥ô)€HÐ%ó ñ  )Ø˜x¨�|ô €FÐó ñ $-Ø˜x¨�}ô$€FÐ ó ð 	àô7ó ð7ð ×Ñô3ó ð3ð
 ñ	ó ð	ð ×Ñô-ó ð-ð ñó ðð ×Ñô+ó ð+ð
 ôó ðð ‡\�\ôó ôr2   rˆ  c                  óV  € ] tR tRt$ RtR]R&   Rt]! R]R,          R	7      tR
]R&   ]! R]R,          R	7      t	R
]R&   ]! R]R,          R	7      t
R]R&   A]R R l4       t]R R l4       t]R R l4       t]P                  R R l4       t]R 4       t]P                  R R l4       tRtR# )r|   i|  z4``<w:trPr>`` element, defining table row properties.zCallable[[], CT_Height]Úget_or_add_trHeightúw:gridBeforeúw:gridAfterú
w:trHeightrí   rÔ   rþ  Ú	gridAfterrü  Ú
gridBeforerï   zCT_Height | NoneÚtrHeightc               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   ÚCT_TrPr.__annotate__ž  s   € ÷ 9ñ 9˜Cñ 9r2   c                ó>   € V P                   pVf   ^ # VP                  # rE   )r  r'   )rH   r  s   & r3   rF   ÚCT_TrPr.grid_after�  s!   € ð —N‘Nˆ	ØÒ%ˆqÐ8¨9¯=©=Ð8r2   c               ó   € V ^8„  d   QhRR/# r=   r*   )rA   s   "r3   rB   r!  ¤  s   € ÷ ;ñ ;˜Sñ ;r2   c                ó>   € V P                   pVf   ^ # VP                  # rL   )r  r'   )rH   r  s   & r3   rM   ÚCT_TrPr.grid_before£  s!   € ð —_‘_ˆ
ØÒ&ˆqÐ:¨J¯N©NÐ:r2   c               ó   € V ^8„  d   QhRR/# rc   r*   )rA   s   "r3   rB   r!  ª  s   € ÷ <ñ <Ð 9ñ <r2   c                ó>   € V P                   pVf   R# VP                  # )zCReturn the value of `w:trHeight@w:hRule`, or |None| if not present.N)r  r)   ©rH   r  s   & r3   re   ÚCT_TrPr.trHeight_hRule©  s!   € ð —=‘=ˆØÒ'ˆtÐ;¨X¯^©^Ð;r2   c               ó   € V ^8„  d   QhRR/# rh   r*   )rA   s   "r3   rB   r!  °  s   € ÷ ñ Ð$=ñ r2   c                	óZ   € Vf   V P                   f   R # V P                  4       pWn        R # rk   )r  r  r)   ©rH   ri   r  s   && r3   re   r*  ¯  s&   € àŠ=˜TŸ]™]Ò2ÙØ×+Ñ+Ó-ˆØŽr2   c                ó>   € V P                   pVf   R# VP                  # )zAReturn the value of `w:trHeight@w:val`, or |None| if not present.N)r  r'   r)  s   & r3   rn   ÚCT_TrPr.trHeight_val¶  s!   € ð —=‘=ˆØÒ'ˆtÐ9¨X¯\©\Ð9r2   c               ó   € V ^8„  d   QhRR/# rq   r*   )rA   s   "r3   rB   r!  ½  s   € ÷ ñ  -ñ r2   c                	óZ   € Vf   V P                   f   R # V P                  4       pWn        R # rk   )r  r  r'   r-  s   && r3   rn   r/  ¼  s&   € àŠ=˜TŸ]™]Ò2ÙØ×+Ñ+Ó-ˆØŽr2   r*   N)r  zw:divIdr  r  z	w:wBeforezw:wAfterzw:cantSplitr  zw:tblHeaderr  rê   zw:hiddenzw:inszw:delzw:trPrChange)r+   r,   r-   r.   r/   r0   r  r   r  r  r  r†   rF   rM   re   r‡   rn   r1   r*   r2   r3   r|   r|   |  sð   ‡ Ù>à0Ó0ð€Hñ" *3Ø (¨2¥,ô*€IÐ&ó ñ +4Ø 8¨B¥<ô+€JÐ'ó ñ "+Ø ¨"¥ô"€HÐó ð 	àô9ó ð9ð
 ô;ó ð;ð
 ô<ó ð<ð
 ×Ñôó ðð ñ:ó ð:ð
 ×Ñôó ôr2   r|   c                  ó8   € ] tR tRt$ Rt]! R]4      tR]R&   Rt	R# )ÚCT_VerticalJciÄ  z:`w:vAlign` element, specifying vertical alignment of cell.r%   r   r'   r*   N)
r+   r,   r-   r.   r/   r   r   r'   r0   r1   r*   r2   r3   r3  r3  Ä  s   ‡ ÙDá&7ØÐ+ó'€CÐ	#÷ r2   r3  c                  óP   € ] tR tRt$ Rt]! R]]P                  R7      tR]	R&   Rt
R# )	Ú	CT_VMergeiÌ  zG``<w:vMerge>`` element, specifying vertical merging behavior of a cell.r%   )Údefaultr­   r'   r*   N)r+   r,   r-   r.   r/   r   r   r)  r'   r0   r1   r*   r2   r3   r5  r5  Ì  s#   ‡ ÙQá'Ø� 8×#4Ñ#4ô€Cˆ÷ r2   r5  N)=r/   Ú
__future__r   Útypingr   r   r   Údocx.enum.tabler   r   r   Údocx.exceptionsr	   Údocx.oxml.nsr
   r   Údocx.oxml.parserr   Údocx.oxml.sharedr   Údocx.oxml.simpletypesr   r   r   r   r   Údocx.oxml.text.paragraphr   Údocx.oxml.xmlchemyr   r   r   r   r   r   r   Údocx.sharedr   r   r   r   Údocx.enum.textr   r    r!   Údocx.oxml.text.parfmtr"   r$   r5   r[   rŒ   rØ   rà   rŠ   rt   r  rQ   rˆ  r|   r3  r5  r*   r2   r3   Ú<module>rD     s  ðÙ (å "ç 0Ñ 0ç ^Ñ ^Ý ,ß $Ý &Ý -÷õ õ *÷÷ ñ ÷ +Ñ *çÝ2Ý1ß4Ý+ô�ô ô^ˆ_ô ^ôBnˆ_ô nôb	G�ô 	Gô/�Oô /ô	�ô 	ôZ)ˆô Z)ôz�ô ô"�/ô "ô,h0ˆOô h0ôViˆoô iôXEˆoô EôP�Oô ô�ö r2   