1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 The ATK interface which represents the toplevel container for document content.
7 <!-- ##### SECTION Long_Description ##### -->
9 The AtkDocument interface should be supported by any object whose content is a
10 representation or view of a document. The AtkDocument interface should appear
11 on the toplevel container for the document content; however AtkDocument
12 instances may be nested (i.e. an AtkDocument may be a descendant of another
13 AtkDocument) in those cases where one document contains "embedded content"
14 which can reasonably be considered a document in its own right.
17 <!-- ##### SECTION See_Also ##### -->
22 <!-- ##### SECTION Stability_Level ##### -->
25 <!-- ##### SECTION Image ##### -->
28 <!-- ##### STRUCT AtkDocument ##### -->
30 The AtkDocument structure does not contain any fields.
36 <!-- ##### SIGNAL AtkDocument::load-complete ##### -->
38 The 'load-complete' signal is emitted when a pending load of a static
39 document has completed. This signal is to be expected by ATK clients
40 if and when AtkDocument implementors expose ATK_STATE_BUSY. If the state
41 of an AtkObject which implements AtkDocument does not include ATK_STATE_BUSY,
42 it should be safe for clients to assume that the AtkDocument's static contents
43 are fully loaded into the container. (Dynamic document contents should
44 be exposed via other signals.)
47 @atkdocument: the object which received the signal.
49 <!-- ##### SIGNAL AtkDocument::load-stopped ##### -->
51 The 'load-stopped' signal is emitted when a pending load of document contents
52 is cancelled, paused, or otherwise interrupted by the user or application
53 logic. It should not however be
54 emitted while waiting for a resource (for instance while blocking on a file or
55 network read) unless a user-significant timeout has occurred.
58 @atkdocument: the object which received the signal.
60 <!-- ##### SIGNAL AtkDocument::reload ##### -->
62 The 'reload' signal is emitted when the contents of a document is refreshed
63 from its source. Once 'reload' has been emitted, a matching 'load-complete'
64 or 'load-stopped' signal should follow, which clients may await before
65 interrogating ATK for the latest document content.
68 @atkdocument: the object which received the signal.
70 <!-- ##### FUNCTION atk_document_get_document_type ##### -->
79 <!-- ##### FUNCTION atk_document_get_document ##### -->
88 <!-- ##### FUNCTION atk_document_get_attribute_value ##### -->
98 <!-- ##### FUNCTION atk_document_set_attribute_value ##### -->
109 <!-- ##### FUNCTION atk_document_get_attributes ##### -->
118 <!-- ##### FUNCTION atk_document_get_locale ##### -->