Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
pyatspi /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
Accessibility.py
11.3
KB
-rw-r--r--
action.py
4.85
KB
-rw-r--r--
appevent.py
3.66
KB
-rw-r--r--
application.py
2.78
KB
-rw-r--r--
atspienum.py
1.39
KB
-rw-r--r--
collection.py
3.96
KB
-rw-r--r--
component.py
8.74
KB
-rw-r--r--
constants.py
4.79
KB
-rw-r--r--
deviceevent.py
9.48
KB
-rw-r--r--
document.py
3.6
KB
-rw-r--r--
editabletext.py
5.02
KB
-rw-r--r--
hypertext.py
2.76
KB
-rw-r--r--
image.py
5.01
KB
-rw-r--r--
__init__.py
993
B
-rw-r--r--
interface.py
980
B
-rw-r--r--
registry.py
19.42
KB
-rw-r--r--
role.py
13.54
KB
-rw-r--r--
selection.py
5.63
KB
-rw-r--r--
state.py
5.35
KB
-rw-r--r--
tablecell.py
3.08
KB
-rw-r--r--
table.py
15.77
KB
-rw-r--r--
text.py
32.07
KB
-rw-r--r--
utils.py
13.99
KB
-rw-r--r--
value.py
2.8
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : document.py
#Copyright (C) 2008 Codethink Ltd #Copyright (C) 2010 Novell, Inc. #This library is free software; you can redistribute it and/or #modify it under the terms of the GNU Lesser General Public #License version 2 as published by the Free Software Foundation. #This program is distributed in the hope that it will be useful, #but WITHOUT ANY WARRANTY; without even the implied warranty of #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #GNU General Public License for more details. #You should have received a copy of the GNU Lesser General Public License #along with this program; if not, write to the Free Software #Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. from gi.repository import Atspi from pyatspi.utils import * from pyatspi.interface import * __all__ = [ "Document", ] #------------------------------------------------------------------------------ class Document(interface): """ Primarily a 'tagging' interface which indicates the start of document content in the Accessibility hierarchy. Accessible objects below the node implementing Document are normally assumed to be part of the document content. Attributes of Document are those attributes associated with the document as a whole. Objects that implement Document are normally expected to implement Collection as well. """ def getAttributeValue(self, key): """ Gets the value of a single attribute, if specified for the document as a whole. @param : attributename a string indicating the name of a specific attribute (name-value pair) being queried. @return a string corresponding to the value of the specified attribute, or an empty string if the attribute is unspecified for the object. """ return Atspi.Document.get_document_attribute_value(self.obj, key) def getAttributes(self): """ Gets all attributes specified for a document as a whole. For attributes which change within the document content, see Accessibility::Text::getAttributes instead. @return an AttributeSet containing the attributes of the document, as name-value pairs. """ ret = Atspi.Document.get_document_attributes(self.obj) return [key + ':' + value for key, value in ret.items()] def getLocale(self): """ Gets the locale associated with the document's content. e.g. the locale for LOCALE_TYPE_MESSAGES. @return a string compliant with the POSIX standard for locale description. """ return Atspi.Document.get_locale(self.obj) def getCurrentPageNumber(self): """ Gets the current page number associated with the document. @return a integer with the current page number. -1 if error or unknown. """ return Atspi.Document.get_current_page_number(self.obj) def getPageCount(self): """ Gets the page count of the document. @return a integer with the page count of the document. -1 if error or unknown. """ return Atspi.Document.get_page_count(self.obj) #END----------------------------------------------------------------------------
Close