+
    Qia  c                  s   R t ^ RIHt RtRtRtRtRt^ RIH	t	 ^ RI
t
]
P                  ! R	R
4       ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIH 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  R!]"PX                  4      t,R# )"Custom script for LibreOffice.)annotationsz$Id$z
$Revision$z$Date$zSCopyright (c) 2005-2009 Sun Microsystems Inc.Copyright (c) 2010-2013 The Orca Team.ZLGPL)TYPE_CHECKINGNGtkz3.0)r   )braille)cmdnames)debug)focus_manager)input_event_manager)	guilabels)keybindings)input_event)messages)settings_manager)AXObject)AXTable)AXText)AXUtilities)defaultBrailleGenerator	Utilities
SpellCheckSpeechGenerator)Atspic                  s  a  ] tR t^Dt$ RtR]R&   R]R&   R V 3R lltR R	 ltR
 R ltR R lt	R R lt
R R ltR R ltR R ltR R ltR3R V 3R llltR3R V 3R llltR R ltR V 3R lltR  V 3R! lltR" V 3R# lltR$ V 3R% lltR& V 3R' lltR( V 3R) lltR* V 3R+ lltR, V 3R- lltR. V 3R/ lltR0 V 3R1 lltR2tV ;t# )4Scriptr    r   	utilitiesr   
spellcheckc                    V ^8  d   QhRRRR/# )   appzAtspi.AccessiblereturnNone Zformat   "E/usr/lib/python3.14/site-packages/orca/scripts/apps/soffice/script.py__annotate__Script.__annotate__K   s     I I, I I    c                	sz   < \         SV `  V4       R V n        R V n        R V n        R V n        R V n        R V n        R # N)super__init__*speak_spreadsheet_coordinates_check_button4always_speak_selected_spreadsheet_range_check_buttonskip_blank_cells_check_button#speak_cell_coordinates_check_buttonspeak_cell_headers_check_buttonspeak_cell_span_check_button)selfr!   	__class__   &&r'   r-   ZScript.__init__K   s@    RV7\`AEI*KO0GK,DH)r*   c                   V ^8  d   QhRR/# )r    r"   r   r$   r%   r&   r'   r(   r)   U   s     & &'7 &r*   c                    \        V 4      # )z.Returns the braille generator for this script.r   r4      &r'   get_braille_generatorZScript.get_braille_generatorU   s      %%r*   c               r7   )r    r"   r   r$   r%   r&   r'   r(   r)   Z   s     % %o %r*   c                r8   )z-Returns the speech generator for this script.r   r9   r:   r'   get_speech_generatorZScript.get_speech_generatorZ   s     t$$r*   c               r7   )r    r"   r   r$   r%   r&   r'   r(   r)   _   s        
  r*   c                r8   )z'Returns the spellcheck for this script.r   r9   r:   r'   get_spellcheckZScript.get_spellcheck_   s     $r*   c               r7   )r    r"   r   r$   r%   r&   r'   r(   r)   d   s      y r*   c                r8   )z&Returns the utilities for this script.r   r9   r:   r'   get_utilitiesZScript.get_utilitiesd   s     r*   c               r7   )r    r"   r#   r$   r%   r&   r'   r(   r)   i   s      D r*   c                s   \         P                  P                  V 4       \        P                  ! \        P
                  \        P                  4      V P                  R&   \        P                  ! \        P                  \        P                  R4      V P                  R&   \        P                  ! \        P                  \        P                  R4      V P                  R&   R# )z1Defines the input event handlers for this script.presentInputLineHandlerFZpanBrailleLeftHandlerZpanBrailleRightHandlerN)r   r   setup_input_event_handlersr   ZInputEventHandlerpresent_input_liner   ZPRESENT_INPUT_LINEinput_event_handlerspan_braille_leftZPAN_BRAILLE_LEFTpan_braille_rightZPAN_BRAILLE_RIGHTr9   r:   r'   r@   Z!Script.setup_input_event_handlersi   s     	11$7))))++- 	!!";< ))'')) 	!!"9: ))((** 	!!":;r*   c               r7   )r    r"   zkeybindings.KeyBindingsr$   r%   r&   r'   r(   r)   ~   s      &= r*   c           	     s    \         P                  ! 4       pVP                  \         P                  ! R\         P                  \         P
                  V P                  R,          4      4       V# )z=Returns the application-specific keybindings for this script.Zar?   )r
   ZKeyBindingsaddZ
KeyBindingZDEFAULT_MODIFIER_MASKZORCA_MODIFIER_MASKrB   )r4   Zbindings   & r'   get_app_key_bindingsZScript.get_app_key_bindings~   sY     **,""11..))*CD	F	G r*   c               r7   )r    r"   zGtk.Gridr$   r%   r&   r'   r(   r)      s     B B Br*   c                s	   \         P                  ! 4       pVP                  ^4       \        P                  p\
        P                  ! 4       P                  R4      p\         P                  P                  V4      V n
        V P                  P                  V4       VP                  V P                  ^ ^ ^^4       \        P                  p\
        P                  ! 4       P                  R4      p\         P                  P                  V4      V n        V P                  P                  V4       VP                  V P                  ^ ^^^4       \         P                  ! 4       pVP                  V^ ^^^4       \         P                   ! R\        P"                   R2R7      pVP%                  R4       VP'                  V4       \         P(                  P+                  RR^^4      pVP-                  ^ ^ ^^ 4       VP/                  V4       \         P                  ! 4       pVP/                  V4       \        P0                  p\
        P                  ! 4       P                  R4      p\         P                  P                  V4      V n        V P2                  P                  V4       VP                  V P2                  ^ ^ ^^4       \        P4                  p\
        P                  ! 4       P                  R	4      p\         P                  P                  V4      V n        V P6                  P                  V4       VP                  V P6                  ^ ^^^4       \        P8                  p\
        P                  ! 4       P                  R
4      p\         P                  P                  V4      V n        V P:                  P                  V4       VP                  V P:                  ^ ^^^4       \        P<                  pV P?                  4       PA                  4       p\         P                  P                  V4      V n!        V PB                  P                  V4       VP                  V PB                  ^ ^^^4       V PD                  PG                  4       pVP                  V^ \I        VPK                  4       4      ^^4       VPM                  4        V# )zgReturn a GtkGrid containing the application unique configuration
GUI items for the current application.speakSpreadsheetCoordinates#alwaysSpeakSelectedSpreadsheetRangez<b>z</b>)labelTg      ?speakCellCoordinatesspeakCellSpanspeakCellHeaders)'r   ZGridZset_border_widthr	   Z"SPREADSHEET_SPEAK_CELL_COORDINATESr   get_managerget_settingZCheckButtonZnew_with_mnemonicr.   Z
set_activeZattachZ SPREADSHEET_SPEAK_SELECTED_RANGEr/   ZFrameZLabelZTABLE_NAVIGATIONZset_use_markupZset_label_widgetZ	AlignmentZnewZset_paddingrE   ZTABLE_SPEAK_CELL_COORDINATESr1   ZTABLE_SPEAK_CELL_SPANSr3   ZTABLE_ANNOUNCE_CELL_HEADERr2   ZTABLE_SKIP_BLANK_CELLSget_table_navigatorZget_skip_blank_cellsr0   r   get_app_preferences_guiZlenZget_childrenZshow_all)r4   ZgridrJ   ZvalueZtable_frameZtable_alignmentZ
table_gridr   s   &       r'   rQ   ZScript.get_app_preferences_gui   s    xxzb!<< ,,.::;XYOO--e4 	777BB5IDCCQ1aP:: ,,.::;`aOO--e4 	AAALLUSDMMqRSUVXYZiikKAq!,		#i&@&@%A FGT"$$U+--++Ca;##Aq"a0(XXZ
J'66 ,,.::;QROO--e4 	000;;EB$BBAq!QO00 ,,.::?KOO--e4 	)))44U;$;;Q1aH44 ,,.::;MNOO--e4 	,,,77>$>>1aK00((*??AOO--e4 	***55e<$<<aAqI__<<>
J3t'8'8':#;QBr*   c               r7   )r    r"   zdict[str, bool]r$   r%   r&   r'   r(   r)      s      / r*   c                s   V P                   '       g   Q hV P                  '       g   Q hV P                  '       g   Q hV P                  '       g   Q hV P                  '       g   Q hV P
                  '       g   Q hRV P                   P                  4       RV P                  P                  4       RV P                  P                  4       RV P                  P                  4       RV P                  P                  4       RV P
                  P                  4       /pVP                  V P                  P                  4       4       V# )z7Returns a dictionary with the app-specific preferences.rL   rM   ZskipBlankCellsrK   rH   rI   )
r3   r2   r0   r1   r.   r/   Z
get_activeZupdater   get_preferences_from_gui)r4   ZprefsrF   r'   rR   ZScript.get_preferences_from_gui   s    00000333331111177777>>>>>HHHHH 11<<>44??A22==?"88CCE)??JJL1IITTV
 	T__==?@r*   c               $    V ^8  d   QhRRRRRR/# r    eventzinput_event.InputEvent | None
pan_amountZintr"   boolr$   r%   r&   r'   r(   r)      s(     ; ;,; ; 
	;r*   c                s  < \         P                  ! 4       P                  4       pV P                  4       P	                  4       '       gT   \
        P                  '       d>   V P                  P                  V4      '       g   \        P                  ! V4      '       g   \        SV `1  W4      # \        P                  ! V4      ^,          p^ V8  d    \        P                  ! W4^,
          4       R# V P                  P!                  V4      pVe@   \         P                  ! 4       P#                  RVRR7       \        P$                  ! V4       R# \        SV `1  W4      # )z%Pans the braille display to the left.TNFZnotify_script)r   rN   get_locus_of_focusget_flat_review_presenter	is_activer   ZbeginningIsShowingr   is_spreadsheet_cellr   is_paragraphr,   rC   r   get_line_at_offsetset_caret_offsetZfind_previous_objectset_locus_of_focusZset_caret_offset_to_end)r4   rU   rV   focusZstart_offsetobjr5      &&&   r'   rC   ZScript.pan_braille_left   s    ))+>>@))+5577,,,nn0077**5117+E>>007:|##E!+;<nn11%8?%%'::4TY:Z**3/w'::r*   c               rS   rT   r$   r%   r&   r'   r(   r)     s(     < <,< < 
	<r*   c                s  < \         P                  ! 4       P                  4       pV P                  4       P	                  4       '       gT   \
        P                  '       d>   V P                  P                  V4      '       g   \        P                  ! V4      '       g   \        SV `1  W4      # \        P                  ! V4      ^,          pV\        P                  ! V4      8  d   \        P                   ! W44       R# V P                  P#                  V4      pVe@   \         P                  ! 4       P%                  RVRR7       \        P&                  ! V4       R# \        SV `1  W4      # )z&Pans the braille display to the right.TNFrX   )r   rN   rY   rZ   r[   r   ZendIsShowingr   r\   r   r]   r,   rD   r   r^   Zget_character_countr_   Zfind_next_objectr`   Zset_caret_offset_to_start)r4   rU   rV   ra   Z
end_offsetrb   r5   rc   r'   rD   ZScript.pan_braille_right  s    ))+>>@))+5577&&&nn0077**5117,U??..u5a8
22599##E6nn--e4?%%'::4TY:Z,,S1w(;;r*   c               r   )r    _eventz'input_event.InputEvent'r"   rW   r$   r%   r&   r'   r(   r)   #  s      )A d r*   c                s   \         P                  ! 4       P                  4       pV P                  P	                  V4      '       g"   V P                  \        P                  4       R# \        P                  ! V4      pV'       g/   \        P                  ! V4      ;'       g    \        P                  pV P                  V4       R# )z=Presents the contents of the input line for the current cell.T)r   rN   rY   r   r\   present_messager   ZSPREADSHEET_NOT_IN_Ar   Zget_cell_formular   get_all_textZEMPTY)r4   rd   ra   Ztexts   &&  r'   rA   ZScript.present_input_line#  s     ))+>>@~~11%88  !>!>?''.&&u-??DT"r*   c               s(    V ^8  d   QhRRRRRRRR/# )r    rU   zAtspi.Event | None	old_focuszAtspi.Accessible | None	new_focusr"   rW   r$   r%   r&   r'   r(   r)   2  s8     )K )K!)K +)K +	)K
 
)Kr*   c                sh  < V P                   '       d   \        SV `	  WV4      # V P                  4       P	                  4       '       d   V P                  4       P                  4        V P                  P                  V4      '       dQ   V P                  P                  V4      '       g0   V P                  V4       V P                  P                  RR7       R# W28w  EdG   \        P                  ! V4      '       Ed*   \        P                  ! V4      '       Ed   \        P                  ! 4       P                  4       '       d"   V P                  4       P!                  W4       R# \        P                  ! 4       P#                  4       '       d   \$        P&                  ! V4      pV'       d|   V P(                  P+                  W4R7      pV P-                  WER7       V P                  V4       \$        P.                  ! V4      p\0        P                  ! 4       P3                  W64       R# \        SV `	  WV4      # )zVHandles changes of focus of interest. Returns True if this script did all needed work.T)Zinclude_label)rb   string)voice)Zrun_find_command_onr,   locus_of_focus_changedrZ   r[   Zquitr   Zis_suggestions_itemupdate_braillepresent_suggestion_list_itemr   r]   r   rN   Zlast_event_was_returnZget_typing_echo_presenterZecho_previous_wordZ#last_event_was_paragraph_navigationr   rf   speech_generatorrj   Zspeak_messageZget_caret_offsetr   Zset_last_cursor_position)r4   rU   rg   rh   ri   rj   Zoffsetr5   s   &&&&   r'   rk   ZScript.locus_of_focus_changed2  s    ###71%INN))+5577**,113??..y99??66yAA	*OO88t8L !)))449Q9QR[9\9\"..0FFHH..0CCDT
 #..0TTVV,,Y7 1177I7UE&&v&;''	2#44Y?F!--/HHZw-e	JJr*   c               r   r    rU   zAtspi.Eventr"   rW   r$   r%   r&   r'   r(   r)   ]  s     0 0{ 0t 0r*   c                s   < \         P                  ! VP                  4      '       g+   Rp\        P                  ! \        P
                  VR4       R# \        SV `  V4      # )>Callback for object:state-changed:active accessibility events.z"SOFFICE: Event source lacks parentT)r   
get_parentsourcer   print_message
LEVEL_INFOr,   on_active_changedr4   rU   msgr5      && r'   ru   ZScript.on_active_changed]  sJ     ""5<<006C 0 0#t<w(//r*   c               r   ro   r$   r%   r&   r'   r(   r)   g  s     $; $;+ $;$ $;r*   c                s  <a \         P                  ! 4       pVP                  4       pSP                  V8X  d   R# \        P
                  ! V4      '       d   \        SV `  S4      # SP                  V P                  P                  4       8X  d   \        P                  ! SP                  4      '       dh   \         P                  ! 4       P                  SSP                  R4       V P                  SP                  4       V P                  P                  4        R# V P                  P                  4        R# V P                   P#                  SP                  4      '       dq   \        P                  ! SP                  4      '       gK   \        P                  ! SP                  4      '       g%   Rp\$        P&                  ! SP                  RV4       SP                  V8w  d   \$        P(                  ! VV3R l4      '       gv   Rp\*        P,                  ! \*        P.                  VR4       VP                  R\$        P0                  ! SP                  4      R4       VP                  SSP                  4       \        SV `  S4      # )rp   TFzNSOFFICE: Neither source nor child have focused state. Clearing cache on table.c                "   < V SP                   8H  # r+   rr   ZxrU      &r'   <lambda>Z5Script.on_active_descendant_changed.<locals>.<lambda>  s    QRV[VbVbQbr*   z&SOFFICE: Working around LO bug 161444.N)r   rN   rY   any_datar   r]   r,   on_active_descendant_changedrr   r   get_suggestions_list
is_focusedr`   rl   rm   present_error_detailsr   r\   r   clear_cachefind_ancestorr   rs   rt   rq   )r4   rU   managerra   rw   r5   s   &f   r'   r   Z#Script.on_active_descendant_changedg  s     ++-**,>>U"##E**77>><<4????AA%%ell33))+>>uennV[\##ENN3<<>  557>>--enn==))%..99))%,,77bC  uc:<<5 )?)?Gb)c)c:C 0 0#t< &&tX-@-@-NPUV &&uell;w3E::r*   c               r   ro   r$   r%   r&   r'   r(   r)     s     - -K -D -r*   c                s&  < VP                   R8X  d   R# \        P                  ! VP                  4      '       d   \        P                  ! VP                  4      '       gq   \
        P                  ! VP                  RR4       \        P                  ! VP                  4      '       d)   Rp\        P                  ! \        P                  VR4       V P                  4       P                  4       '       d+   Rp\        P                  ! \        P                  VR4       R# V P                  4       P                  4       '       d+   Rp\        P                  ! \        P                  VR4       R# V P                  P                  \        P                   ! 4       P#                  4       4      '       dV   V P                  P%                  VP                  4      '       g+   Rp\        P                  ! \        P                  VR4       R# \&        SV `Q  V4      # )	z:Callback for object:text-caret-moved accessibility events.TFz8Caret-moved event from object which lacks focused state.zFSOFFICE: Clearing cache was needed due to missing state-changed event.>SOFFICE: Event ignored: Last input event was table navigation.CSOFFICE: Event ignored: Last input event was structural navigation.z8SOFFICE: Event ignored: Source is not cell being edited.i)detail1r   r]   rr   r   r   r   r   rs   rt   rP   'last_input_event_was_navigation_commandget_structural_navigatorr   r\   r   rN   rY   Zis_cell_being_editedr,   on_caret_movedrv   rx   r'   r   ZScript.on_caret_moved  so    ==B##ELL11+:P:PQVQ]Q]:^:^  !&![] %%ell33^##E$4$4c4@##%MMOORC 0 0#t<((*RRTTWC 0 0#t<>>--m.G.G.I.\.\.^__>>66u||DDP##E$4$4c4@w%e,,r*   c               r   ro   r$   r%   r&   r'   r(   r)     s     0 0{ 0t 0r*   c                sb  < V P                   P                  VP                  4      '       d1   \        P                  ! 4       P                  WP                  4       R# \        P                  ! VP                  R4       \        P                  ! 4       p\        P                  ! VP                  4      '       d   VP                  4       w  r4V^ 8  g   V^ 8  d   R# VP                  4       '       d   VP                  WP                  R4       V P                   P                  V4       \        P                  ! VP                  4      pW58X  d"   \        P                   p\        P"                  pM \        P$                  p\        P&                  pV P)                  Wg4       R# \*        SV `Y  V4      # )z>Callback for object:children-changed:add accessibility events.Tzchildren-changed event.F)r   r\   r~   r   rN   r`   r   Zclear_all_cache_nowrr   r   Zis_last_cellZget_last_cell_coordinatesfocus_is_deadZhandle_undo_text_eventZget_row_countr   ZTABLE_ROW_DELETED_FROM_ENDZTABLE_ROW_DELETEDZTABLE_ROW_INSERTED_AT_ENDZTABLE_ROW_INSERTEDre   r,   on_children_added)	r4   rU   r   Z
active_rowZ
active_colZ	row_countZfullZbriefr5   s	   &&      r'   r   ZScript.on_children_added  s1    >>--enn==%%'::5..Q''6OP++-//%,%F%F%H"JA~a$$&&**5,,FNN11%8--ell;I&:: 2299 33  -w(//r*   c               r   ro   r$   r%   r&   r'   r(   r)     s     91 91 91 91r*   c                s  <a SP                   '       g   R# \        P                  ! 4       pVP                  4       '       d   R# VP	                  4       p\
        P                  ! SP                  4      '       dR   \        P                  ! VSP                  4      '       d+   Rp\        P                  ! \        P                  VR4       R# V P                  4       P                  4       '       d)   Rp\        P                  ! \        P                  VR4       V P                  4       P                  4       '       d)   Rp\        P                  ! \        P                  VR4       \
        P                   ! SP                  4      '       g'   \
        P"                  ! SP                  4      '       d`   \        P$                  ! SP                  \
        P&                  4      pV'       d)   \        P                  ! 4       P)                  SVR4       R# \
        P*                  ! SP                  4      '       dt   \,        P                  ! 4       pVP/                  4       '       g   VP1                  4       '       d3   \        P                  ! 4       P)                  SSP                  R4       R# V P2                  P5                  SP                  4      '       Edh   \        P                  ! 4       P7                  4       '       d[   Rp\        P                  ! \        P                  VR4       \        P                  ! 4       P)                  SSP                  R4       R# \
        P*                  ! V4      '       g   \
        P8                  ! V4      '       d   \        P$                  ! VV3R l4      '       d[   Rp\        P                  ! \        P                  VR4       \        P                  ! 4       P)                  SSP                  R4       R# VP)                  R	\        P:                  ! SP                  4      R4       \<        SV `}  S4      # )
z?Callback for object:state-changed:focused accessibility events.TzFSOFFICE: Event ignored: Source is root pane ancestor of current focus.r   r   Fz7SOFFICE: Event believed to be post-editing focus claim.c                ry   r+   rz   r{   r|   r'   r}   Z+Script.on_focused_changed.<locals>.<lambda>  s    1;Lr*   zESOFFICE: Event believed to be post-editing focus claim based on role.N) r   r   rN   Z
in_say_allrY   r   Zis_root_panerr   r   Zis_ancestorr   rs   rt   rP   r   r   Zis_textZis_listr   Zis_combo_boxr`   r]   r   Zlast_event_was_leftZlast_event_was_rightr   is_spreadsheet_tabler   Zis_table_cellrq   r,   on_focused_changed)r4   rU   r   ra   rw   ZcomboboxZinput_managerr5   s   &f     r'   r   ZScript.on_focused_changed  s    }}}++-**,##ELL11h6J6J5RWR^R^6_6_ZC 0 0#t<##%MMOORC 0 0#t<((*RRTTWC 0 0#t<u||,,0C0CELL0Q0Q--ellK<T<TUH))+>>uhPTU##ELL11/;;=M0022m6X6X6Z6Z))+>>uellTYZ>>..u||<<((*88::O##E$4$4c4@))+>>uellTYZ''..+2K2KE2R2R))%1LMMaC''(8(8#tD!--/BB5%,,X]^ **41D1DU\\1RTYZw)%00r*   c               r   ro   r$   r%   r&   r'   r(   r)     s     	2 	2 	2 	2r*   c                s   < \         P                  ! VP                  4      '       d+   Rp\        P                  ! \        P
                  VR4       R# \        SV `  V4      # )z@Callback for object:state-changed:selected accessibility events.,SOFFICE: Ignoring event on unsupported role.T)r   r]   rr   r   rs   rt   r,   on_selected_changedrv   rx   r'   r   ZScript.on_selected_changed  sJ     ##ELL11@C 0 0#t<w*511r*   c               r   ro   r$   r%   r&   r'   r(   r)     s      3  3+  3$  3r*   c                s  < \         P                  ! VP                  4      '       d+   Rp\        P                  ! \        P
                  VR4       R# V P                  P                  VP                  4      '       d   \        P                  ! 4       P                  R4      '       d   R# \        P                  ! 4       P                  R4      '       d(   V P                  P                  VP                  4       R# V P                  P                  VP                  4      '       d   R# V P                  P                  VP                  4       R# VP                  V P                  P                  4       8X  d   \         P                  ! 4       P#                  4       '       d+   Rp\        P                  ! \        P
                  VR4       R# \         P$                  ! VP                  4      '       dg   \         P                  ! 4       P'                  WP(                  R4       V P+                  VP(                  4       V P                  P-                  4        R# V P                  P/                  4        R# \0        SV `e  V4      # )z;Callback for object:selection-changed accessibility events.r   TZonlySpeakDisplayedTextrI   z6SOFFICE: Not presenting because locusOfFocus is windowF)r   r]   rr   r   rs   rt   r   r   r   rN   rO   Zspeak_selected_cell_rangeZ&handle_row_and_column_selection_changeZhandle_cell_selection_changer   r   r   Zfocus_is_active_windowr   r`   r~   rl   rm   r   r,   on_selection_changedrv   rx   r'   r   ZScript.on_selection_changed  s    ##ELL11@C 0 0#t<>>..u||<<++-99:RSS++-99:_``88F~~DDU\\RRNN77E<<4????AA((*AACCN##E$4$4c4@  ''55))+>>unnV[\##ENN3<<>  557w+E22r*   c               r   ro   r$   r%   r&   r'   r(   r)   5  s     	 	 	 	r*   c                s   < \         SV `  V4       V P                  P                  VP                  4      '       g   V P                  P                  4        R# V P                  P                  4        R# )z2Callback for window:activate accessibility events.T)r,   on_window_activatedr   Zis_spell_check_windowrr   
deactivater   r4   rU   r5   r6   r'   r   ZScript.on_window_activated5  sQ     	#E*44U\\BBOO&&(--/r*   c               r   ro   r$   r%   r&   r'   r(   r)   @  s     4 4; 44 4r*   c                sV   < V P                   P                  4        \        SV `  V4      # )z4Callback for window:deactivate accessibility events.)r   r   r,   on_window_deactivatedr   r6   r'   r   ZScript.on_window_deactivated@  s%     	""$w,U33r*   )r/   r0   r1   r2   r3   r.   )Ni    )Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__Z__annotations__r-   r;   r<   r=   r>   r@   rG   rQ   rR   rC   rD   rA   rk   ru   r   r   r   r   r   r   r   r   Z__static_attributes__Z__classcell__)r5   s   @r'   r   r   D   s    ( I I&
%
 

*BH8; ;6< <6)K )KV0 0$; $;L- -B0 0>91 91v	2 	2 3  3D	 	4 4r*   r   )-r   Z
__future__r   Z__id__Z__version__Z__date__Z__copyright__Z__license__Ztypingr   ZgiZrequire_versionZgi.repositoryr   Zorcar   r   r   r   r   r	   r
   r   r   r   Zorca.ax_objectr   Zorca.ax_tabler   Zorca.ax_textr   Zorca.ax_utilitiesr   Zorca.scriptsr   Zbraille_generatorr   Zscript_utilitiesr   r   r   rn   r   r   r   r$   r*   r'   <module>r      s   4 % "9   	   5%        $     ! # !  )   / ' " -#@4W^^ @4r*   