Atspi.Document
Description: Reference for Atspi.Document

### Interface

# AtspiDocument

#### Description

    interface Atspi.Document : GObject.Object

No description available.

#### Prerequisite

In order to implement Document, your type must inherit from`GObject`.

#### Implementations

- AtspiAccessible

#### Instance methods

###### atspi_document_get_attribute_value

Gets the value of a single attribute, if specified for the document as a whole.

deprecated: 2.10

###### atspi_document_get_attributes

Gets all constant attributes for the document as a whole. For attributes that change within the document content, see `atspi_text_get_attribute_run` instead.

deprecated: 2.10

###### atspi_document_get_current_page_number

Gets the current page number of an `AccessibleDocument` object.

###### atspi_document_get_document_attribute_value

Gets the value of a single attribute, if specified for the document as a whole.

###### atspi_document_get_document_attributes

Gets all constant attributes for the document as a whole. For attributes that change within the document content, see `atspi_text_get_attribute_run` instead.

###### atspi_document_get_locale

Gets the locale associated with the document’s content, e.g. the locale for LOCALE_TYPE_MESSAGES.

###### atspi_document_get_page_count

Gets the page count of an `AccessibleDocument` object.

###### atspi_document_get_text_selections

Returns an array of AtspiTextSelections within this document.

since: 2.52

###### atspi_document_set_text_selections

Makes 1 or more selections within this document denoted by the given array of AtspiTextSelections. Any existing physical selection (inside or outside this document) is replaced by the new selections. All objects within the given selection ranges must be descendants of this document. Otherwise FALSE will be returned.

since: 2.52