Impress and Draw Accessibility
提案
by Andre Fischer (andre.w.fischer@sun.com),
last modification on November 11th 2001
1. Introduction
This paper 述べるs how 文書s of the StarOffice/OpenOffice.org Impress and Draw 使用/適用s can be made accessible by using the UNO Accessibility API (UAA).
It will be shown that making Impress accessible can be (大部分は) 減ずるd to making Draw accessible. This 提案 will therefore first give a short introduction to Impress 文書s and then show that おもに Draw pages have to be made accessible.
2. Impress 文書s
Impress 文書s consist of one 鉱石 more pages. Each page can 含む/封じ込める a number of 反対するs like
- Outliner 反対するs 含む/封じ込める text 組織するd in a hierarchical 名簿(に載せる)/表(にあげる).
- Text 反対するs used e.g. for 肩書を与えるs.
- Graphical 反対するs like lines, polygons, circles, etc.
- OLE 反対するs
Every page of an Impress 文書 is made up of two parts: a 製図/抽選 page and a master page. There is one 製図/抽選 page per 文書 page. Master pages are used to 明示する 構成要素 that is 明白な on more than one page and therefore can be 株d between 製図/抽選 pages. A master page can be used for example to 含む the page number, time, date, or author.
There are six 陳列する,発揮する 方式s for visualizing an Impress 文書:
- 製図/抽選 見解(をとる)
This is the only graphical edit 方式. At any one time there is one 文書 page 明白な on the 審査する. Its 初期の 規模 is chosen so that the whole page fits in the 文書 window.
- 輪郭(を描く) 見解(をとる)
The textual content of all pages 含むing 肩書を与える and outliner 反対するs is 陳列する,発揮するd and can be edited in a hierarchical 名簿(に載せる)/表(にあげる). It gives an overview of the 文書's structure and 申し込む/申し出s an 平易な and 非,不,無-graphical way to create and 修正する the 文書. The 輪郭(を描く) 見解(をとる) is certainly very attractive for 使用者s which create an Impress slide show 経由で an AT 装置.
- Slide 見解(をとる)
陳列する,発揮する of all pages at once. This 見解(をとる) 行為/法令/行動するs as a visual 選択 道具. You can browse the whole 文書 for a 明確な/細部 page and jump from there into the edit 方式.
- 公式文書,認めるs 見解(をとる)
This introduces a third 肉親,親類d of page, the 公式文書,認めるs page. Each 公式文書,認めるs page is associated to one 文書 page. It is divided into two parts. The first 含む/封じ込めるs the 文書 page, the second 含む/封じ込めるs a 名簿(に載せる)/表(にあげる) of 公式文書,認めるs 述べるing the 文書 page. In this 陳列する,発揮する 方式 you can not edit 文書 pages.
- Handout 見解(をとる)
At the first ちらりと見ること 類似の to the slide 見解(をとる), this 方式 puts several--defaults to four--文書 pages の上に one print page. It is used to create a printed 見解/翻訳/版 of the whole 文書. You can neither edit the pages nor can you jump into the edit 方式 from here.
- Slide Show
The slide show 方式 陳列する,発揮するs all 文書 pages 十分な-審査する one slide at a time in a 連続した order. Mouse clicks or 圧力(をかける)ing a 重要な 前進するs to the next page. No editing in this 方式.
Only the first 方式 許すs the graphical modification of the 文書. The second lets you change at least the text (警察などへの)密告,告訴(状). All but the second 含む/封じ込める graphical 代表s of one or more 文書 pages.
As a result we have two different 事例/患者s. All 方式s but the second use draw pages for visualizing the 文書. This 事例/患者 is 扱うd by making the Draw 使用/適用 accessible. Special 扱うing 予定 to the editing 能力 of the 製図/抽選 見解(をとる) is not necessary. The 輪郭(を描く) 見解(をとる) has to be 扱うd 分かれて. The two 事例/患者s are 述べるd in more 詳細(に述べる) in the next two sections.
3. UAA 代表 of Draw Pages
The UAA uses a 始める,決める of interfaces to 申し込む/申し出 a hierarchical 代表 of an 使用/適用 window. In the に引き続いて we will 焦点(を合わせる) on 代表するing one draw page. If there is more than one draw page 明白な on the 審査する then each one of them is 代表するd by a separate sub-tree.
によれば our 文書 代表 指導基準s only those 反対するs on a draw page will be 代表するd, that are 明白な at the time of a query. Both Draw and Impress 規模 new pages so that the whole page fits on the 審査する. Therefore, only an active rescaling or placing of 反対するs outside the page 境界s will result in 反対するs not 存在 代表するd.
However, there is one exception to the 支配する to 代表する only fully or
部分的に/不公平に 明白な 反対するs. If a connector links a 明白な 反対する to one
反対する that is 現在/一般に not 明白な, this 的 反対する will be 含むd
into the UAA 代表. This is necessary to be able to 供給する the
connectors as AccessibleRelation 反対するs.
3.1. 詳細(に述べる)s
All classes that 器具/実施する the draw pages and the 反対するs--形態/調整s and OLE
反対するs--that can be 挿入するd into a draw page have to be 延長するd to
support the Accessible service. Calls to their
getAccessibleContext method will return 言及/関連s to instances
of classes that are 器具/実施するd 独立して from the draw page and 形態/調整
classes. That means that the only modification of 存在するing code is needed
for the support of the XAccessible interface. All other coding
can be done 独立して in another place.
All fully and 部分的に/不公平に 明白な 反対するs on a draw page are 代表するd by
反対するs that support the AccessibleContext service. They
support the 付加 services AccessibleComponent,
AccessibleEditableText, AccessibleRole, and
AccessibleText. Whether or not the
AccessibleAction service will be supported has yet to be
discussed. If a 形態/調整 is linked to other 形態/調整s 経由で connectors then the
AccessibleContext 反対する of the 形態/調整 from which such a link
起こる/始まるs will return a 非,不,無 empty relation 始める,決める when the
getRelationSet method is called.
Each draw page will be 代表するd in a shallow 階層制度. The root node corresponds to the 見解(をとる) that is 責任がある 製図/抽選 a 文書 window. Its children are the 代表s of all 明白な draw pages. The children of each draw page node are the 代表s of the 明白な 形態/調整s on that draw page.
The order of the children of a draw page node depends on the z-order of the 代表するd 形態/調整s, i.e. the order in which they are painted の上に the 審査する: if 形態/調整 A is painted over by 形態/調整 B, then 形態/調整 A comes before 形態/調整 B in the 名簿(に載せる)/表(にあげる) of children.
The UAA 代表s of the different 見解(をとる) 方式s 述べるd above 異なる only in their second 層s: There are a different number of draw pages and the draw pages have different geometries.
3.2. 役割s, 指名するs, and Descriptions
The 仕事 to 割り当てる 役割s, 指名するs, and descriptions to draw 形態/調整s is not a trivial one. There is a multitude of 形態/調整s which leads to the problem of creating meaningful default 指名するs and descriptions.
The 役割s could be taken from a small 始める,決める like '見解(をとる)', 'DrawPage', and '形態/調整' that would have essentially one 役割 per 層. However, this would (判決などを)下す the 役割 やめる useless. It is より望ましい to use a larger 始める,決める of 役割s that gives each type of 形態/調整 its own 役割 and maybe distinguishes even between different 肉親,親類d of 見解(をとる)s. With this an AT can 成し遂げる special 活動/戦闘s on 確かな 役割s. A 形態/調整's 役割 would be やめる 類似の to a 形態/調整's default 指名する but because 役割s are taken from a 直す/買収する,八百長をするd 始める,決める (直す/買収する,八百長をするd in the 環境 of a given 使用/適用) while 指名するs are 解放する/自由な-form strings. 役割s are therefore better ふさわしい to be 過程d automatically than 指名するs.
On the first ちらりと見ること 指名するing the 反対するs may seem to be straightforward. 簡単に use the already 存在するing 指名する せいにする of the 形態/調整s. The problem lies in finding proper default 指名するs. A first and trivial 解答 is to use the 形態/調整's type and append a number.
The same 持つ/拘留するs true with descriptions. One approach can be to use a 形態/調整's type and adorn it with a human readable and, more importantly, 理解できる 代表 of the 形態/調整's 所有物/資産/財産s like fill color, 輪郭(を描く) width, or font.
However good the defaults for 指名する and description will be, they will never come の近くに to those 供給(する)d by the author of a 文書. Therefore, the author should be more 'encouraged' to do so. It would be helpful to have a special accessibility 方式 that would--at appropriate times--pop up a dialog box 問い合わせing 指名するs and descriptions of 形態/調整s that have not yet been given explicit 指名するs or descriptions.
3.3. Special 反対するs
There are a number of 反対するs that can appear on a draw page, that deserve special consideration:
- 活気/アニメーションs are normal 形態/調整s that can change their positions or 外見s. They will be 代表するd like static 形態/調整s. Their 明言する/公表する at the end of the 活気/アニメーション will be exposed. It has yet to be discussed whether to 供給する a 旗 that a 形態/調整 is animated and 付加 (警察などへの)密告,告訴(状) that 述べるs the 活気/アニメーション.
- Special 影響s for changing slides 提起する/ポーズをとる the problem that for a short time two slides can be seen at the same place and that the visibility changes for all their 形態/調整s. The first approach to solve this problem will be to not 代表する 影響s for slide changes at all. At the end of the 影響 the AT will be 知らせるd of a change of the 完全にする window.
- Connectors connect 正確に/まさに two 形態/調整s. They are 代表するd by 入ること/参加(者)s in
the
XAccessibleRelationSet反対する returned by the 反対する from which the 関係 起こる/始まるs.
4. Impress 輪郭(を描く) 見解(をとる)
The Impress 輪郭(を描く) 見解(をとる) is a 比較して simple 文書 visualization and its UAA 代表 is straightforward. It consists of a hierarchical 見解(をとる) of most of the textual (警察などへの)密告,告訴(状) on all slides. Each slide has a 最高の,を越す-level 入ること/参加(者). The text on the slides follows 適切に indented.
The UAA tree will use 反対するs 器具/実施するing
AccessibleEditableText which are nested によれば the
階層制度 of the text in the 輪郭(を描く) 見解(をとる). It will be only those 反対するs be
利用できる that 嘘(をつく) inside the 明白な area.
Entering the 輪郭(を描く) 見解(をとる) creates a preview window that shows a preview of the slide who's text in the 輪郭(を描く) 見解(をとる) 含む/封じ込めるs the cursor. Its content is a 選び出す/独身 draw page and can be 代表するd accordingly. Because the preview is not 直接/まっすぐに editable, there is no need to make the preview window focusable.

