%PDF- %PDF-
Direktori : /lib/python3/dist-packages/orca/__pycache__/ |
Current File : //lib/python3/dist-packages/orca/__pycache__/ax_text.cpython-312.pyc |
� g f� � � � d Z dZdZdZdZdZddlZ ej dd � dd lm Z ddl mZ dd lm Z ddlmZ G d� d� Zy)a� Utilities for obtaining information about accessible text. These utilities are app-type- and toolkit-agnostic. Utilities that might have different implementations or results depending on the type of app (e.g. terminal, chat, web) or toolkit (e.g. Qt, Gtk) should be in script_utilities.py file(s). N.B. There are currently utilities that should never have custom implementations that live in script_utilities.py files. These will be moved over time. z$Id$z $Revision$z$Date$zGCopyright (c) 2024 Igalia, S.L.Copyright (c) 2024 GNOME Foundation Inc.�LGPL� N�Atspiz2.0)r � )�debug)�AXObject)�AXUtilitiesc �n � e Zd ZdZed7d�� Zed� � Zed7d�� Zed7d�� Zed� � Z ed7d�� Z ed7d �� Zed � � Zed7d�� Z ed7d�� Zed � � Zed7d�� Zed� � Zed7d�� Zed� � Zed7d�� Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Zed� � Z ed� � Z!ed � � Z"ed!� � Z#ed"� � Z$ed#� � Z%ed$� � Z&ed8d%�� Z'ed&� � Z(ed7d'�� Z)ed9d(�� Z*ed)� � Z+ed7d*�� Z,ed+� � Z-ed,� � Z.ed-� � Z/ed.� � Z0ed/� � Z1ed0� � Z2ed7d1�� Z3ed2� � Z4ed3� � Z5ed4� � Z6ed5� � Z7ed6� � Z8y):�AXTextz:Utilities for obtaining information about accessible text.Nc �� � t j | � }|sy|�t j | � }d|cxk r|k s.n d|� d�}t j t j |d� y t j j | |t j j � }|j j d d � }d|� d�| d |� d|j � d|j"