Mini Shell
3
�p5[�� � � @ s
d Z dZdZdZdZdZddlZddlZdd lm Z dd
lm
Z
dZdZd
Z
e je je je je je je je je je je je je je je je jd�e je je j e j!e j"e j#e j$e j%e j&e j'e j(e j)d�e j*e j+e j,e j-e j.e j/e j0e j1e j2e j3e j4e j5e j6d�
d�dddddd�ddde d ed ed d�ddde d ddd�ej7d d!iej8d d"iej9dd#d$�ej:d%d&d$�ej;d'd'd(d)d�ej<d d*iej=d+d,e d- d.e d/ d0�ej>d+d1e d2 d3e d0�ej?d4d5e d6e d7 d0�ej@d d*iejAd8d9e d- d:e d- d0�ejBdd#d$�ejCd4d;e d<e d7 d0�ejDd=d>d$�ejEd?e d@e dAe dB�ejFd?e d@e dAe dB�dCdDdEd$�dFdGdEd$�ejGddHd$�ejHdIdJe dKe dLe d�dMd d#iejId dNiejJdOd*d$�ejKddPd$�ejLd dNiejMdQdQdRe dSe d�ejNd'd'd(d)d�ejOd dTiejPd dUiejQdVdVdVd0�ejRdOdWd$�ejSdXdXdYdZd�ejTd[e d\e d]�ejUd^d_d$�ejVd`d_d$�ejWd8dadbd0�ejXd dciddd deidfd dgiejYd dhiejZd diidjd dkidld dmidnd doidpd dqidrd dsiej[dde d2 dte d0�ej\d8due d2 dve d0�ej]d dwiej^dxdye d@e dAe d�ej_dze d- dze d- d{e d- d0�ej`dOdWd$�ejad|d}e d@e dAe d�ejbd~de d@e dAe d�ejcd�d�d$�ejdd8d�e d- d�e d- d0�ejed�d�e d� d�e d- d0�ejfd�d�e d� d�e d0�ejgd d*iejhd4d;e d<e d7 d0�ejid�d�e d$�ejjd4d�e d<e d/ d0�ejkd�d�e d�e d/ d0�ejld4d�e d�d0�ejmd dNid�d�d�e d- d�d0�ejnd�d�d�d0�ejod�d�d�d�d�d�d�d�d$�ejpd�d8iejqdd�d$�ejrd�d�d�e d�e d�ejsd�d�e d�e d�e d�ejtd�d�e d- d�d0�ejudTdTd$�ejvd"d"d]�ejwd8d�d�d0�iPdd�d�d$�dd�d�d$�dd�d�d$�ej7d d�e
d� iej8d d�iej9d d�e
d� iej;d d�iej=d d�iej>d d�iejAd d�iejCd d�iejDd d�iejEd�e
d$�ejHd e
iejJd d�e
d� iejKd�d�d$�ejMd d�iejNd d�iejOd�d�d$�ejQd d�iejTd d�iejUd d�iejVd d�iejWd�e
d� d�e
d� d$�ej[d�d�d$�ej\d d�iej^d e
iej_d�d�d$�ej`d d�e
d� iejad e
iejbd e
iejcd d�iejdd d�iejed d�iejfd�d�d$�ejhd d�iejxd d�iejid d�e
d� iejjd d�iejkd d�id�d d�iejod d�e
d� id�d d�e
d� iejqd d�iejrd d�iejsd e
iejtd d�iejud d�iejwd d�e
d� ii1dddddd�ddd�ddd�ddd�ddd�ej;d d�iej=d+d�d$�ej>d+d�d$�ejAd8d�d$�ejCd�d�d$�ejHd d�iejMd8d�d$�ejNd d�iejTd8d�d$�ejUd d�iejVd d�iejWd8d�d$�ej\d8d�d$�ej_d d�iejcd�d�d$�ejdd8d�d$�ejed�d�d$�ejfd�d�d$�ejhd�d�d$�ejjd�d�d$�ejkd�d�d$�ejld�d�d$�d�d�d�d$�ejod8d�d$�ejpd�d8iejsd d�iejtd�d�d$�ejwd8d�d$�id�ZyG d�d� d�ez�Z{dS )�z)Manages the formatting settings for Orca.z$Id:$z$Revision:$z$Date:$z-Copyright (c) 2004-2009 Sun Microsystems Inc.ZLGPL� N� )�object_properties)�settingsz'(tutorial and (pause + tutorial) or [])z3(mnemonic and (pause + mnemonic + lineBreak) or [])a# [Text(obj, asString(labelOrName or placeholderText), asString(eol), startOffset, endOffset)] + (invalid and [Region(" " + asString(invalid))]) + (required and [Region(" " + asString(required))]) + (readOnly and [Region(" " + asString(readOnly))]))�invalid�required�readonly�insensitive�checkbox�radiobutton�switch�togglebutton� expansion� nodelevel�nestinglevel�multiselectZ iconindex�
groupindex� clickable�haslongdesc)Zeolr r r r r r
r r r
r r )
r r r r r r
r r r
r r r Zvisited)�speech�braille�sound�prefixz[]zoldAncestors + newAncestorsZtoolbar)�focused� unfocused�
basicWhereAmI�detailedWhereAmI�suffixz:newNodeLevel + unselectedCell + clickable + hasLongDesc + z + descriptionz( + clickable + hasLongDesc + description�defaultz(labelOrName + roleName + availability + z + accelerator + childWidgetzlabelOrName + roleNameZpageSummaryr zQlabelOrName + roleName + pause + (expandedEOCs or unrelatedLabels or description)ZlabelAndNamezClabelOrName + roleName + pause + currentLineText + allTextSelection)r r z,leaving or (roleName + pause + nestingLevel)z7roleName + pause + nestingLevel + pause + displayedTextzClabelAndName + imageDescription + roleName + pause + positionInListzIparentRoleName + pause + labelAndName + pause + selectedItemCount + pausezaparentRoleName + pause + labelAndName + pause + selectedItemCount + pause + selectedItems + pausez<((substring and currentLineText) or labelAndName) + roleNameZcheckedStatezTlabelOrName + roleName + checkedState + required + pause + invalid + availability + z + acceleratorz?namedContainingPanel + labelOrName + roleName + checkedState + z+ + accelerator + required + pause + invalid)r r r zBlabelOrName + roleName + checkedState + required + availability + z' + accelerator + pause + positionInListzkancestors + pause + labelOrName + roleName + checkedState + pause + accelerator + pause + positionInList + �valuez5label + roleName + value + required + availability + z(label + roleName + value + percentage + z + accelerator + requiredZexpandableStatez[labelAndName + roleName + pause + (currentLineText + anyTextSelection or positionInList) + z[label + roleName + pause + name + (currentLineText + anyTextSelection or positionInList) + z;labelOrName + roleName + value + required + availability + z.labelOrName + roleName + value + percentage + z$labelOrName + roleName + descriptionz@expandedEOCs or (labelOrName + (unrelatedLabels or description))zClabel + readOnly + textRole + currentLineText + anyTextSelection + z?label + readOnly + textRole + textContent + anyTextSelection + zMlabel + readOnly + textRole + textContentWithAttributes + anyTextSelection + )r r r ZROLE_DPUB_LANDMARKzleaving or labelOrNamez0labelOrName + currentLineText + allTextSelectionZROLE_DPUB_SECTIONz#leaving or (labelOrName + roleName)z<(expandedEOCs or (labelOrName + unrelatedLabels)) + roleNamez[labelOrName + readOnly + textRole + (currentLineText or placeholderText) + allTextSelectionz{labelOrName + readOnly + textRole + (currentLineText or placeholderText) + allTextSelection + required + pause + invalid + zwlabelOrName + readOnly + textRole + (textContent or placeholderText) + anyTextSelection + required + pause + invalid + z�labelOrName + readOnly + textRole + (textContentWithAttributes or placeholderText) + anyTextSelection + required + pause + invalid + Z
ROLE_FOOTNOTEz"(displayedText or name) + roleNamez$leaving or (labelAndName + roleName)z<labelOrName + roleName + unfocusedDialogCount + availabilityz*displayedText + roleName + expandableStatezGlabel + readOnly + textRole + pause + textContent + anyTextSelection + zUlabel + readOnly + textRole + pause + textContentWithAttributes + anyTextSelection + zlabelAndName + roleNamezlabelAndName + unrelatedLabelsz3label + displayedText + allTextSelection + roleNamezV((substring and currentLineText) or labelAndName) + roleName + pause + unrelatedLabelsz:labelAndName + roleName + availability + noShowingChildrenzClabelAndName + pause + roleName + pause + selectedItemCount + pausez[labelAndName + pause + roleName + pause + selectedItemCount + pause + selectedItems + pausezN(displayedText or name) + roleName + pause + expandableState + availability + z@linkInfo + pause + siteDescription + pause + fileSize + pause + )r r zJleaving or (labelOrName + pause + numberOfChildren + pause + nestingLevel)z[labelOrName + pause + focusedItem + pause + multiselectableState + numberOfChildren + pausez5labelOrName + multiselectableState + numberOfChildrenz�(labelOrName or (displayedText + allTextSelection)) + pause + expandableState + pause + positionInList + pause + listBoxItemWidgetsz�label + roleName + pause + (name or displayedText) + pause + positionInList + pause + expandableState + (nodeLevel or nestingLevel) + pauseZmathZROLE_MATH_ENCLOSEDz!enclosedBase + enclosedEnclosuresZROLE_MATH_FENCEDz8fencedStart + pause + fencedContents + pause + fencedEndzlfractionStart + pause + fractionNumerator + fractionLine + fractionDenominator + pause + fractionEnd + pausez.rootStart + rootBase + pause + rootEnd + pauseZROLE_MATH_MULTISCRIPTzIscriptBase + pause + scriptPrescripts + pause + scriptPostscripts + pauseZROLE_MATH_SCRIPT_SUBSUPERzHscriptBase + pause + scriptSubscript + pause + scriptSuperscript + pauseZROLE_MATH_SCRIPT_UNDEROVERzIscriptBase + pause + scriptUnderscript + pause + scriptOverscript + pauseZROLE_MATH_TABLEzEmathTableStart + pause + mathTableRows + pause + mathTableEnd + pauseZROLE_MATH_TABLE_ROWZmathRowzZ(ancestors or parentRoleName) + pause + labelOrName + roleName + pause + positionInList + zFlabelOrName + menuItemCheckedState + expandableState + availability + zQancestors + pause + labelOrName + pause + accelerator + pause + positionInList + zroleName + unrelatedLabelsz5label + readOnly + currentLineText + anyTextSelectionz8label + readOnly + currentLineText + anyTextSelection + z2labelOrName + roleName + pause + positionInList + zKparentRoleName + pause + labelOrName + roleName + pause + positionInList + zXlabelOrName + readOnly + textRole + textIndentation + currentLineText + allTextSelectionz[labelOrName + readOnly + textRole + textIndentation + currentLineText + allTextSelection + zFlabelOrName + readOnly + textRole + currentLineText + allTextSelectionzIlabelOrName + readOnly + textRole + currentLineText + allTextSelection + z#progressBarIndex + progressBarValuez2progressBarIndex + labelAndName + progressBarValuez;labelAndName + expandableState + roleName + availability + z,labelAndName + expandableState + roleName + Z
radioStatezM(name or label) + pause + radioState + roleName + availability + lineBreak + z/ + accelerator + pause + positionInList + pausezgradioButtonGroup + pause + (name or label) + roleName + pause + radioState + pause + positionInGroup + zClabelOrName + radioState + roleName + availability + positionInListz5labelOrName + radioState + roleName + availability + z + accelerator + positionInListzQancestors + labelOrName + roleName + radioState + accelerator + positionInList + z;labelOrName + currentLineText + allTextSelection + roleNamez>labelOrName + currentLineText + allTextSelection + roleName + zMlabelOrName + roleName + value + required + pause + invalid + availability + �namezYlabelAndName + allTextSelection + roleName + required + pause + invalid + availability + z-label + roleName + name + allTextSelection + z1labelAndName + roleName + value + availability + zlabelAndName + roleName + valueZROLE_SWITCHZswitchStatez6labelOrName + roleName + switchState + availability + z$labelOrName + roleName + switchStatez)leaving or (labelAndName + pause + table)zlabelAndName + pause + tablez�((tableCell2ChildLabel + tableCell2ChildToggle) or cellCheckedState) + pause + (expandableState and (expandableState + pause + numberOfChildren + pause))ztableCellRow + pausez�parentRoleName + pause + columnHeader + pause + rowHeader + pause + roleName + pause + cellCheckedState + pause + (realActiveDescendantDisplayedText or imageDescription + image) + pause + columnAndRow + pause + expandableState + pause + nodeLevel + pausea parentRoleName + pause + columnHeader + pause + rowHeader + pause + roleName + pause + cellCheckedState + pause + (realActiveDescendantDisplayedText or imageDescription + image) + pause + columnAndRow + pause + tableCellRow + pause + expandableState + pause + nodeLevel + pauseZREAL_ROLE_TABLE_CELLz�(tableCell2ChildLabel + tableCell2ChildToggle) or (cellCheckedState + (expandableState and (expandableState + numberOfChildren)))a� (tableCell2ChildLabel + tableCell2ChildToggle) or (newRowHeader + (newColumnHeader or columnHeaderIfToggleAndNoText) + cellCheckedState + (realActiveDescendantDisplayedText or imageDescription + image) + (expandableState and (expandableState + numberOfChildren)) + required + pause + invalid)r z&labelOrName + roleName + availability ZtextContentzOlabel + readOnly + pause + textRole + pause + textContent + anyTextSelection + z]label + readOnly + pause + textRole + pause + textContentWithAttributes + anyTextSelection + zulabelOrName + readOnly + textRole + pause + textIndentation + (currentLineText or placeholderText) + allTextSelectionzxlabelOrName + readOnly + textRole + pause + textIndentation + (currentLineText or placeholderText) + allTextSelection + zjlabelOrName + readOnly + textRole + pause + (textContent or placeholderText) + anyTextSelection + pause + zxlabelOrName + readOnly + textRole + pause + (textContentWithAttributes or placeholderText) + anyTextSelection + pause + zexpandableState or toggleStatezKlabelOrName + roleName + (expandableState or toggleState) + availability + z9labelOrName + roleName + (expandableState or toggleState)zQ(labelOrName or displayedText) + pause + expandableState + pause + positionInListzz(labelOrName or displayedText) + roleName + pause + positionInList + pause + expandableState + (nodeLevel or nestingLevel)a� (includeContext and (ancestors + (rowHeader and [Region(" " + asString(rowHeader))]) + (columnHeader and [Region(" " + asString(columnHeader))]) + (radioButtonGroup and [Region(" " + asString(radioButtonGroup))]) + [Region(" ")]) or [])z3(nodeLevel and [Region(" " + asString(nodeLevel))])z}[Component(obj, asString(label + displayedText + value + roleName + required + invalid))]z((substring and zT) or ([Component(obj, asString(labelAndName + roleName))]))z�[Component(obj, asString(label + displayedText + roleName + (description and space(": ") + description)))]z�) or ([Component(obj, asString(labelAndName + roleName))] + (childWidget and ([Region(" ")] + childWidget))))z[Component(obj, asString(((label + displayedText + imageDescription) or name) + roleName))]z�[Component(obj, asString(labelOrName + roleName), indicator=asString(checkedState))]z�[Component(obj, asString(label + displayedText + roleName + availability) + asString(accelerator), indicator=asString(checkedState))]a% ((comboBoxTextObj and ([Text(comboBoxTextObj[0], asString(label), asString(eol))] + [Region(" " + asString(roleName))])) or [Component(obj, asString(label + name + roleName), label and (len(asString(label)) + 1) or 0)])zi[Component(obj, asString(labelOrName + value + roleName + required))]z2[Component(obj, asString(labelOrName + roleName))]z�[Text(obj, asString(placeholderText), asString(eol), startOffset, endOffset)] + (required and [Region(" " + asString(required))]) + (readOnly and [Region(" " + asString(readOnly))])z�[Component(obj, asString(((label + displayedText) or name) + value + roleName + alertAndDialogCount))]z�[Text(obj, asString(placeholderText), "", startOffset, endOffset)] + [Region(" " + asString(roleName))]zj[Component(obj, asString(labelAndName + value + roleName + required))]z#[Text(obj, asString(labelAndName))]z�[Link(obj, asString(currentLineText) or asString(displayedText) or asString(name))] + (roleName and [Region(" " + asString(roleName))])z�[Component(obj, asString(label + focusedItem + roleName), asString(label) and (len(asString(label)) + 1) or 0)]ah ) or ([Component(obj, asString(label + displayedText + expandableState + roleName + availability) + asString(accelerator))] + (nestingLevel and [Region(" " + asString(nestingLevel))]) + (listBoxItemWidgets and ([Region(" ")] + listBoxItemWidgets))))a ) or ([Component(obj, asString(labelOrName + expandableState))] + (nestingLevel and [Region(" " + asString(nestingLevel))]) + (listBoxItemWidgets and ([Region(" ")] + listBoxItemWidgets))))z}[Component(obj, asString(labelOrName + roleName + availability) + asString(accelerator))]zV[Component(obj, asString(labelOrName + roleName))]z�[Component(obj, asString(labelOrName + expandableState + availability) + asString(accelerator), indicator=asString(menuItemCheckedState))]z�(progressBarValue and [Component(obj, asString(labelAndName + progressBarValue + roleName + progressBarIndex))]) or []zz[Component(obj, asString((labelAndName or description) + expandableState + roleName))]z�[Component(obj, asString((labelOrName or description) + roleName), indicator=asString(radioState))]z�[Component(obj, asString((labelOrName or description) + roleName + availability) + asString(accelerator), indicator=asString(radioState))]z�[Component(obj, asString(labelOrName or description) + asString(accelerator), indicator=asString(radioState))]ZasPageTabOrScrollPanezs[Component(obj, asString(labelOrName + value + roleName + required + invalid))]z�[Text(obj, asString(label), asString(eol))] + (required and [Region(" " + asString(required))] or []) + (readOnly and [Region(" " + asString(readOnly))] or [])z�[Component(obj, asString((labelOrName or description) + roleName), indicator=asString(switchState))]z) or tableCellRow)z[((tableCell2ChildToggle + tableCell2ChildLabel) or (substring and aH ) or (cellCheckedState + (columnHeaderIfToggleAndNoText and [Region(" "), Component(obj, asString(columnHeaderIfToggleAndNoText))]) + ((realActiveDescendantDisplayedText and [Component(obj, asString(realActiveDescendantDisplayedText))]) or (imageDescription and [Region(" "), Component(obj, asString(imageDescription))])) + (realActiveDescendantRoleName and [Component(obj, (realActiveDescendantDisplayedText and " " or "") + asString(realActiveDescendantRoleName))]) + (expandableState and [Region(" " + asString(expandableState))]) + (required and [Region(" " + asString(required))])) or ([Component(obj,"")]))zH[Component(obj, asString(roleName))]z[Text(obj)]z�[Component(obj, asString((labelOrName or description) + expandableState + roleName), indicator=asString(toggleState))]z�) or ([Component(obj, asString(labelOrName + expandableState))] + (nestingLevel and [Region(" " + asString(nestingLevel))])))zclickable + hasLongDescZroleNamezroleName + positionInSetz;roleName + checkedState + required + invalid + availabilityz6roleName + checkedState + availability + positionInSetZ
percentagez9roleName + percentage + required + invalid + availabilityz7roleName + readOnly + required + invalid + availabilityzroleName + expandableStatez)roleName + visitedState + expandableStatezroleName + multiselectableStatez*roleName + expandableState + positionInSetz9roleName + expandableState + availability + positionInSetZprogressBarValuezroleName + progressBarValuez)roleName + expandableState + availabilityz4roleName + radioState + availability + positionInSetzroleName + percentagez9roleName + availability + percentage + required + invalidz$roleName + percentage + availabilityz%roleName + switchState + availabilityz:roleName + (expandableState or toggleState) + availability)�stringsr r r c @ s<