12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460 |
- {
- * AXAttributeConstants.h
- * HIServices
- *
- * Created by John Louch on Wed Feb 25 2004.
- * Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
- *
- }
- { Pascal Translation: Gale R Paeper, <[email protected]>, 2006 }
- {
- Modified for use with Free Pascal
- Version 200
- Please report any bugs to <[email protected]>
- }
- {$mode macpas}
- {$packenum 1}
- {$macro on}
- {$inline on}
- {$CALLING MWPASCAL}
- unit AXAttributeConstants;
- interface
- {$setc UNIVERSAL_INTERFACES_VERSION := $0342}
- {$setc GAP_INTERFACES_VERSION := $0200}
- {$ifc not defined USE_CFSTR_CONSTANT_MACROS}
- {$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
- {$endc}
- {$ifc defined CPUPOWERPC and defined CPUI386}
- {$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
- {$endc}
- {$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
- {$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
- {$endc}
- {$ifc not defined __ppc__ and defined CPUPOWERPC}
- {$setc __ppc__ := 1}
- {$elsec}
- {$setc __ppc__ := 0}
- {$endc}
- {$ifc not defined __i386__ and defined CPUI386}
- {$setc __i386__ := 1}
- {$elsec}
- {$setc __i386__ := 0}
- {$endc}
- {$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
- {$error Conflicting definitions for __ppc__ and __i386__}
- {$endc}
- {$ifc defined __ppc__ and __ppc__}
- {$setc TARGET_CPU_PPC := TRUE}
- {$setc TARGET_CPU_X86 := FALSE}
- {$elifc defined __i386__ and __i386__}
- {$setc TARGET_CPU_PPC := FALSE}
- {$setc TARGET_CPU_X86 := TRUE}
- {$elsec}
- {$error Neither __ppc__ nor __i386__ is defined.}
- {$endc}
- {$setc TARGET_CPU_PPC_64 := FALSE}
- {$ifc defined FPC_BIG_ENDIAN}
- {$setc TARGET_RT_BIG_ENDIAN := TRUE}
- {$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
- {$elifc defined FPC_LITTLE_ENDIAN}
- {$setc TARGET_RT_BIG_ENDIAN := FALSE}
- {$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
- {$elsec}
- {$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
- {$endc}
- {$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
- {$setc CALL_NOT_IN_CARBON := FALSE}
- {$setc OLDROUTINENAMES := FALSE}
- {$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
- {$setc OPAQUE_UPP_TYPES := TRUE}
- {$setc OTCARBONAPPLICATION := TRUE}
- {$setc OTKERNEL := FALSE}
- {$setc PM_USE_SESSION_APIS := TRUE}
- {$setc TARGET_API_MAC_CARBON := TRUE}
- {$setc TARGET_API_MAC_OS8 := FALSE}
- {$setc TARGET_API_MAC_OSX := TRUE}
- {$setc TARGET_CARBON := TRUE}
- {$setc TARGET_CPU_68K := FALSE}
- {$setc TARGET_CPU_MIPS := FALSE}
- {$setc TARGET_CPU_SPARC := FALSE}
- {$setc TARGET_OS_MAC := TRUE}
- {$setc TARGET_OS_UNIX := FALSE}
- {$setc TARGET_OS_WIN32 := FALSE}
- {$setc TARGET_RT_MAC_68881 := FALSE}
- {$setc TARGET_RT_MAC_CFM := FALSE}
- {$setc TARGET_RT_MAC_MACHO := TRUE}
- {$setc TYPED_FUNCTION_POINTERS := TRUE}
- {$setc TYPE_BOOL := FALSE}
- {$setc TYPE_EXTENDED := FALSE}
- {$setc TYPE_LONGLONG := TRUE}
- uses MacTypes;
- {$ALIGN POWER}
- {ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ}
- { Attributes }
- {ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ}
- {
- Quick reference:
-
- // informational attributes
- kAXRoleAttribute
- kAXSubroleAttribute
- kAXRoleDescriptionAttribute
- kAXTitleAttribute
- kAXDescriptionAttribute
- kAXHelpAttribute
-
- // hierarchy or relationship attributes
- kAXParentAttribute
- kAXChildrenAttribute
- kAXSelectedChildrenAttribute
- kAXVisibleChildrenAttribute
- kAXWindowAttribute
- kAXTopLevelUIElementAttribute
- kAXTitleUIElementAttribute
- kAXServesAsTitleForUIElementsAttribute
- kAXLinkedUIElementsAttribute
-
- // visual state attributes
- kAXEnabledAttribute
- kAXFocusedAttribute
- kAXPositionAttribute
- kAXSizeAttribute
-
- // value attributes
- kAXValueAttribute
- kAXMinValueAttribute
- kAXMaxValueAttribute
- kAXValueIncrementAttribute
- kAXValueWrapsAttribute
- kAXAllowedValuesAttribute
-
- // text-specific attributes
- kAXSelectedTextAttribute
- kAXSelectedTextRangeAttribute
- kAXVisibleCharacterRangeAttribute
- kAXNumberOfCharactersAttribute
- kAXSharedTextUIElementsAttribute
- kAXSharedCharacterRangeAttribute
-
- // window, sheet, or drawer-specific attributes
- kAXMainAttribute
- kAXMinimizedAttribute
- kAXCloseButtonAttribute
- kAXZoomButtonAttribute
- kAXMinimizeButtonAttribute
- kAXToolbarButtonAttribute
- kAXProxyAttribute
- kAXGrowAreaAttribute
- kAXModalAttribute
- kAXDefaultButtonAttribute
- kAXCancelButtonAttribute
-
- // menu or menu item-specific attributes
- kAXMenuItemCmdCharAttribute
- kAXMenuItemCmdVirtualKeyAttribute
- kAXMenuItemCmdGlyphAttribute
- kAXMenuItemCmdModifiersAttribute
- kAXMenuItemMarkCharAttribute
- kAXMenuItemPrimaryUIElementAttribute
-
- // application element-specific attributes
- kAXMenuBarAttribute
- kAXWindowsAttribute
- kAXFrontmostAttribute
- kAXHiddenAttribute
- kAXMainWindowAttribute
- kAXFocusedWindowAttribute
- kAXFocusedUIElementAttribute
-
- // date/time-specific attributes
- kAXHourFieldAttribute
- kAXMinuteFieldAttribute
- kAXSecondFieldAttribute
- kAXAMPMFieldAttribute
- kAXDayFieldAttribute
- kAXMonthFieldAttribute
- kAXYearFieldAttribute
-
- // table, outline, or browser-specific attributes
- kAXRowsAttribute
- kAXVisibleRowsAttribute
- kAXSelectedRowsAttribute
- kAXColumnsAttribute
- kAXVisibleColumnsAttribute
- kAXSelectedColumnsAttribute
- kAXSortDirectionAttribute
- kAXColumnHeaderUIElementsAttribute
- kAXIndexAttribute
- kAXDisclosingAttribute
- kAXDisclosedRowsAttribute
- kAXDisclosedByRowAttribute
-
- // matte-specific attributes
- kAXMatteHoleAttribute
- kAXMatteContentUIElementAttribute
-
- // ruler-specific attributes
- kAXMarkerUIElementsAttribute
- kAXUnitsAttribute
- kAXUnitDescriptionAttribute
- kAXMarkerTypeAttribute
- kAXMarkerTypeDescriptionAttribute
-
- // miscellaneous or role-specific attributes
- kAXHorizontalScrollBarAttribute
- kAXVerticalScrollBarAttribute
- kAXOrientationAttribute
- kAXHeaderAttribute
- kAXEditedAttribute
- kAXTabsAttribute
- kAXOverflowButtonAttribute
- kAXFilenameAttribute
- kAXExpandedAttribute
- kAXSelectedAttribute
- kAXSplittersAttribute
- kAXContentsAttribute
- kAXNextContentsAttribute
- kAXPreviousContentsAttribute
- kAXDocumentAttribute
- kAXIncrementorAttribute
- kAXDecrementButtonAttribute
- kAXIncrementButtonAttribute
- kAXColumnTitleAttribute
- kAXURLAttribute
- kAXLabelUIElementsAttribute
- kAXLabelValueAttribute
- kAXShownMenuUIElementAttribute
- kAXIsApplicationRunningAttribute
- kAXFocusedApplicationAttribute
- }
- {
- kAXRoleAttribute
-
- Identifies the basic type of an element.
-
- Value: A CFStringRef of one of the role strings defined in this header, or a new
- role string of your own invention. The string should not be localized, and it does
- not need to be human-readable. Instead of inventing new role strings, see if a
- custom element can be identified by an existing role string and a new subrole. See
- kAXSubroleAttribute.
-
- Writable? No.
-
- Required for all elements. Even in the worst case scenario where an element cannot
- figure out what its basic type is, it can still supply the value kAXUnknownRole.
-
- Carbon Accessorization Notes: If your HIObjectClass or Carbon Event handler provides
- the kAXRoleAttribute, it must also provide the kAXRoleDescriptionAttribute.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXRoleAttribute CFSTRP('AXRole')}
- {$endc}
- {
- kAXSubroleAttribute
-
- More specifically identifies the type of an element beyond the basic type provided
- by kAXRoleAttribute.
-
- Value: A CFStringRef of one of the subrole strings defined in this header, or a new
- subrole string of your own invention. The string should not be localized, and it does
- not need to be human-readable.
-
- Writable? No.
-
- Required only when an element's kAXRoleAttribute alone doesn't provide an assistive
- application with enough information to convey the meaning of this element to the user.
-
- An example element that offers the kAXSubroleAttribute is a window's close box. Its
- kAXRoleAttribute value is kAXButtonRole and its kAXSubroleAttribute is
- kAXCloseButtonSubrole. It is of role kAXButtonRole because it offers no additional
- actions or attributes above and beyond what other kAXButtonRole elements provide; it
- was given a subrole in order to allow an assistive app to communicate the close box's
- semantic difference to the user.
-
- Carbon Accessorization Notes: If your HIObjectClass or Carbon Event handler provides
- the kAXSubroleAttribute, it must also provide the kAXRoleDescriptionAttribute.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSubroleAttribute CFSTRP('AXSubrole')}
- {$endc}
- {
- kAXRoleDescriptionAttribute
-
- A localized, human-readable string that an assistive application can present to the user
- as an explanation of an element's basic type or purpose. Examples would be "push button"
- or "secure text field". The string's language should match the language of the app that
- the element lives within. The string should be all lower-case and contain no punctuation.
-
- Two elements with the same kAXRoleAttribute and kAXSubroleAttribute should have the
- same kAXRoleDescriptionAttribute.
-
- Value: A localized, human-readable CFStringRef.
-
- Writable? No.
-
- Required for all elements. Even in the worst case scenario where an element cannot
- figure out what its basic type is, it can still supply the value "unknown".
-
- Carbon Accessorization Notes: The HIObjectClass or Carbon Event handler that provides
- the AXRole and/or AXSubrole for an element is the one that must also handle the
- AXRoleDescription attribute. If an HIObjectClass or Carbon Event handler does not
- provide either the AXRole or AXSubrole, it must not provide the AXRoleDescription.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXRoleDescriptionAttribute CFSTRP('AXRoleDescription')}
- {$endc}
- {
- kAXHelpAttribute
-
- A localized, human-readable CFStringRef that offers help content for an element.
- This is often the same information that would be provided in a help tag for the element.
-
- Value: A localized, human-readable CFStringRef.
-
- Writable? No.
-
- Recommended for any element that has help data available.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXHelpAttribute CFSTRP('AXHelp')}
- {$endc}
- {
- kAXTitleAttribute
-
- The localized, human-readable string that is displayed as part of the element's
- normal visual interface. For example, a OK button's kAXTitleElement is the string
- "OK", and a menu item's kAXTitleElement is the text of the menu item.
-
- Value: A localized, human-readable CFStringRef.
-
- Writable? No.
-
- Required if the element draws a string as part of its normal visual interface.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXTitleAttribute CFSTRP('AXTitle')}
- {$endc}
- {
- kAXValueAttribute
-
- A catch-all attribute that represents a user modifiable setting of an element. For
- example, the contents of an editable text field, the position of a scroll bar thumb,
- and whether a check box is checked are all communicated by the kAXValueAttribute of
- their respective elements.
-
- Value: Varies, but will always be the same type for a given kind of element. Each
- role that offers kAXValueAttribute will specify the type of data that will be used
- for its value.
-
- Writable? Generally yes. However, it does not need to be writable if some other form
- of direct manipulation is more appropriate for causing a value change. For example,
- a kAXScrollBar's kAXValueAttribute is writable because it allows an efficient way
- for the user to get to a specific position in the element being scrolled. By
- contrast, a kAXCheckBox's kAXValueAttribute is not settable because underlying
- functionality of the check box widget relies on it being clicked on; therefore, it
- changes its own kAXValueAttribute appropriately in response to the kAXPressAction.
-
- Required for many user manipulatable elements, or those whose value state conveys
- important information.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXValueAttribute CFSTRP('AXValue')}
- {$endc}
- {
- kAXMinValueAttribute
-
- Only used in conjunction with kAXValueAttribute and kAXMaxValueAttribute, this
- attribute represents the minimum value that an element can display. This is useful
- for things like sliders and scroll bars, where the user needs to have an understanding
- of how much the kAXValueAttribute can vary.
-
- Value: Same data type as the element's kAXValueAttribute.
-
- Writable? No.
-
- Required for many user maniipulatable elements. See kAXValueAttribute for more
- details.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMinValueAttribute CFSTRP('AXMinValue')}
- {$endc}
- {
- kAXMaxValueAttribute
-
- Only used in conjunction with kAXValueAttribute and kAXMinValueAttribute, this
- attribute represents the maximum value that an element can display. This is useful
- for things like sliders and scroll bars, where the user needs to have an understanding
- of how much the kAXValueAttribute can vary.
-
- Value: Same data type as the element's kAXValueAttribute.
-
- Writable? No.
-
- Required for many user maniipulatable elements. See kAXValueAttribute for more
- details.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMaxValueAttribute CFSTRP('AXMaxValue')}
- {$endc}
- {
- kAXValueIncrementAttribute
-
- Only used in conjunction with kAXValueAttribute, this attribute represents the amount
- a value will change in one action on the given element. In particular, it is used on
- elements of role kAXIncrementorRole in order to give the user an idea of how much its
- value will change with a single click on the up or down arrow.
-
- Value: Same data type as the element's kAXValueAttribute.
-
- Writable? No.
-
- Recommended for kAXIncrementorRole and other similar elements.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXValueIncrementAttribute CFSTRP('AXValueIncrement')}
- {$endc}
- {
- kAXAllowedValuesAttribute
-
- An array of the allowed values for a slider or other widget that displays
- a large value range, but which can only be set to a small subset of values
- within that range.
-
- Value: A CFArrayRef of whatever type the element uses for its kAXValueAttribute.
-
- Writable? No.
-
- Recommended for sliders or other elements that can only be set to a small
- set of values.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXAllowedValuesAttribute CFSTRP('AXAllowedValues')}
- {$endc}
- {
- kAXEnabledAttribute
-
- Indicates whether the element can be interacted with by the user. For example,
- a disabled push button's kAXEnabledAttribute will be false.
-
- Value: A CFBooleanRef. True means enabled, false means disabled.
-
- Writable? No.
-
- Required for all views, menus, and menu items. Not required for windows.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXEnabledAttribute CFSTRP('AXEnabled')}
- {$endc}
- {
- kAXFocusedAttribute
-
- Indicates whether the element is the current keyboard focus. It should be writable
- for any element that can accept keyboard focus, though you can only set the value
- of kAXFocusedAttribute to true. You cannot unfocus an element by setting the value
- to false. Only one element in a window's entire accessibility hierarchy should be
- marked as focused.
-
- Value: A CFBooleanRef. True means focused, false means not focused.
-
- Writable? Yes, for any focusable element. No in all other cases.
-
- Required for any focusable element. Not required for other elements, though it is
- often offered for non-focusable elements in a read-only fashion.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXFocusedAttribute CFSTRP('AXFocused')}
- {$endc}
- {
- kAXParentAttribute
-
- Indicates the element's container element in the visual element hierarchy. A push
- button's kAXParentElement might be a window element or a group. A sheet's
- kAXParentElement will be a window element. A window's kAXParentElement will be the
- application element. A menu item's kAXParentElement will be a menu element.
-
- Value: An AXUIElementRef.
-
- Writable? No.
-
- Required for every element except the application. Everything else in the visual
- element hierarchy must have a parent.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXParentAttribute CFSTRP('AXParent')}
- {$endc}
- {
- kAXChildrenAttribute
-
- Indicates the sub elements of a given element in the visual element hierarchy. A tab
- group's kAXChildrenAttribute is an array of tab radio button elements. A window's
- kAXChildrenAttribute is an array of the first-order views elements within the window.
- A menu's kAXChildrenAttribute is an array of the menu item elements.
-
- A given element may only be in the child array of one other element. If an element is
- in the child array of some other element, the element's kAXParentAttribute must be
- the other element.
-
- Value: A CFArrayRef of AXUIElementRefs.
-
- Writable? No.
-
- Required for elements that contain sub elements.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXChildrenAttribute CFSTRP('AXChildren')}
- {$endc}
- {
- kAXSelectedChildrenAttribute
-
- Indicates the selected sub elements of a given element in the visual element hierarchy.
- This is a the subset of the element's kAXChildrenAttribute that are selected. This is
- commonly used in lists so an assistive app can know which list item are selected.
-
- Value: A CFArrayRef of AXUIElementRefs.
-
- Writable? Only if there is no other way to manipulate the set of selected elements via
- accessibilty attributes or actions. Even if other ways exist, this attribute can be
- writable as a convenience to assistive applications and their users. If
- kAXSelectedChildrenAttribute is writable, a write request with a value of an empty
- array should deselect all selected children.
-
- Required for elements that contain selectable sub elements.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSelectedChildrenAttribute CFSTRP('AXSelectedChildren')}
- {$endc}
- {
- kAXVisibleChildrenAttribute
-
- Indicates the visible sub elements of a given element in the visual element hierarchy.
- This is a the subset of the element's kAXChildrenAttribute that a sighted user can
- see on the screen. In a list element, kAXVisibleChildrenAttribute would be an array
- of child elements that are currently scrolled into view.
-
- Value: A CFArrayRef of AXUIElementRefs.
-
- Writable? No.
-
- Recommended for elements whose child elements can be occluded or scrolled out of view.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXVisibleChildrenAttribute CFSTRP('AXVisibleChildren')}
- {$endc}
- {
- kAXWindowAttribute
-
- A short cut for traversing an element's parent hierarchy until an element of role
- kAXWindowRole is found. Note that the value for kAXWindowAttribute should not be
- an element of role kAXSheetRole or kAXDrawerRole; instead, the value should be the
- element of kAXWindowRole that the sheet or drawer is attached to.
-
- Value: an AXUIElementRef of role kAXWindowRole.
-
- Writable? No.
-
- Required for any element that has an element of role kAXWindowRole somewhere
- in its parent chain.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXWindowAttribute CFSTRP('AXWindow')}
- {$endc}
- {
- kAXTopLevelUIElementAttribute
-
- This is very much like the kAXWindowAttribute, except that the value of this
- attribute can be an element with role kAXSheetRole or kAXDrawerRole. It is
- a short cut for traversing an element's parent hierarchy until an element of
- role kAXWindowRole, kAXSheetRole, or kAXDrawerRole is found.
-
- Value: An AXUIElementRef of role kAXWindowRole, kAXSheetRole, or kAXDrawerRole.
-
- Writable? No.
-
- Required for any element that has an appropriate element somewhere in its
- parent chain.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXTopLevelUIElementAttribute CFSTRP('AXTopLevelUIElement')}
- {$endc}
- {
- kAXPositionAttribute
-
- The global screen position of the top-left corner of an element.
-
- Value: An AXValueRef with type kAXValueCGPointType. 0,0 is the top-left
- corner of the screen that displays the menu bar. The value of the horizontal
- axis increases to the right. The value of the vertical axis increases
- downward. Units are pixels.
-
- Writable? Generally no. However, some elements that can be moved by the user
- through direct manipulation (like windows) should offer a writable position
- attribute.
-
- Required for all elements that are visible on the screen, which is virtually
- all elements.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXPositionAttribute CFSTRP('AXPosition')}
- {$endc}
- {
- kAXSizeAttribute
-
- The vertical and horizontal dimensions of the element.
-
- Value: An AXValueRef with type kAXValueCGSizeType. Units are pixels.
-
- Writable? Generally no. However, some elements that can be resized by the user
- through direct manipulation (like windows) should offer a writable size attribute.
-
- Required for all elements that are visible on the screen, which is virtually
- all elements.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSizeAttribute CFSTRP('AXSize')}
- {$endc}
- {
- kAXOrientationAttribute
-
- An indiciation of whether an element is drawn and/or interacted with in a
- vertical or horizontal manner. Elements such as scroll bars and sliders offer
- the kAXOrientationAttribute.
-
- Value: kAXHorizontalOrientationValue, kAXVerticalOrientationValue, or rarely
- kAXUnknownOrientationValue.
-
- Writable? No.
-
- Required for scroll bars, sliders, or other elements whose semantic or
- associative meaning changes based on their orientation.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXOrientationAttribute CFSTRP('AXOrientation')}
- {$endc}
- {
- kAXDescriptionAttribute
-
- An indication of an element's purpose, in a way that is slightly more specific
- than the kAXRoleDescriptionAttribute, but which is less wordy than the
- kAXHelpAttribute. In English, the description should typically be a concatenation
- of a usage adjective with the element's role description. For example, the
- description of a slider in a font panel might be "font size slider". The string
- should be all lower-case and contain no punctuation.
-
- Value: A localized, human-readable CFStringRef.
-
- Writable? No.
-
- Recommended for all elements because it gives the user a concise indication of
- an element's purpose.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXDescriptionAttribute CFSTRP('AXDescription')}
- {$endc}
- // old name
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXDescription CFSTRP('AXDescription')}
- {$endc}
- {
- kAXSelectedTextAttribute
-
- The selected text of an editable text element.
-
- Value: A CFStringRef with the currently selected text of the element.
-
- Writable? No.
-
- Required for all editable text elements.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSelectedTextAttribute CFSTRP('AXSelectedText')}
- {$endc}
- {
- kAXSelectedTextRangeAttribute
-
- The range of characters (not bytes) that defines the current selection of an
- editable text element.
-
- Value: An AXValueRef of type kAXValueCFRange.
-
- Writable? Yes.
-
- Required for all editable text elements.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSelectedTextRangeAttribute CFSTRP('AXSelectedTextRange')}
- {$endc}
- {
- kAXVisibleCharacterRangeAttribute
-
- The range of characters (not bytes) that are scrolled into view in the editable
- text element.
-
- Value: An AXValueRef of type kAXValueCFRange.
-
- Writable? No.
-
- Required for elements of role kAXTextAreaRole. Not required for any other
- elements, including those of role kAXTextFieldRole.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXVisibleCharacterRangeAttribute CFSTRP('AXVisibleCharacterRange')}
- {$endc}
- {
- kAXNumberOfCharactersAttribute
-
- The total number of characters (not bytes) in an editable text element.
-
- Value: CFNumberRef
-
- Writable? No.
-
- Required for editable text elements.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXNumberOfCharactersAttribute CFSTRP('AXNumberOfCharacters')}
- {$endc}
- {
- kAXSharedTextUIElementsAttribute
-
- Value: CFArrayRef of AXUIElementRefs
-
- Writable? No.
-
- Optional?
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSharedTextUIElementsAttribute CFSTRP('AXSharedTextUIElements')}
- {$endc}
- {
- kAXSharedCharacterRangeAttribute
-
- Value: AXValueRef of type kAXValueCFRangeType
-
- Writable? No.
-
- Optional?
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSharedCharacterRangeAttribute CFSTRP('AXSharedCharacterRange')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXInsertionPointLineNumberAttribute CFSTRP('AXInsertionPointLineNumber')}
- {$endc}
- {
- kAXMainAttribute
-
- Whether a window is the main document window of an application. For an active
- app, the main window is the single active document window. For an inactive app,
- the main window is the single document window which would be active if the app
- were active. Main does not necessarily imply that the window has key focus.
-
- Value: A CFBooleanRef. True means the window is main. False means it is not.
-
- Writable? Yes.
-
- Required for all window elements.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMainAttribute CFSTRP('AXMain')}
- {$endc}
- {
- kAXMinimizedAttribute
-
- Whether a window is currently minimized to the dock.
-
- Value: A CFBooleanRef. True means minimized.
-
- Writable? Yes.
-
- Required for all window elements that can be minimized.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMinimizedAttribute CFSTRP('AXMinimized')}
- {$endc}
- {
- kAXCloseButtonAttribute
-
- A convenience attribute so assistive apps can quickly access a window's close
- button element.
-
- Value: An AXUIElementRef of the window's close button element.
-
- Writable? No.
-
- Required for all window elements that have a close button.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXCloseButtonAttribute CFSTRP('AXCloseButton')}
- {$endc}
- {
- kAXZoomButtonAttribute
-
- A convenience attribute so assistive apps can quickly access a window's zoom
- button element.
-
- Value: An AXUIElementRef of the window's zoom button element.
-
- Writable? No.
-
- Required for all window elements that have a zoom button.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXZoomButtonAttribute CFSTRP('AXZoomButton')}
- {$endc}
- {
- kAXMinimizeButtonAttribute
-
- A convenience attribute so assistive apps can quickly access a window's minimize
- button element.
-
- Value: An AXUIElementRef of the window's minimize button element.
-
- Writable? No.
-
- Required for all window elements that have a minimize button.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMinimizeButtonAttribute CFSTRP('AXMinimizeButton')}
- {$endc}
- {
- kAXToolbarButtonAttribute
-
- A convenience attribute so assistive apps can quickly access a window's toolbar
- button element.
-
- Value: An AXUIElementRef of the window's toolbar button element.
-
- Writable? No.
-
- Required for all window elements that have a toolbar button.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXToolbarButtonAttribute CFSTRP('AXToolbarButton')}
- {$endc}
- {
- kAXProxyAttribute
-
- A convenience attribute so assistive apps can quickly access a window's document
- proxy element.
-
- Value: An AXUIElementRef of the window's document proxy element.
-
- Writable? No.
-
- Required for all window elements that have a document proxy.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXProxyAttribute CFSTRP('AXProxy')}
- {$endc}
- {
- kAXGrowAreaAttribute
-
- A convenience attribute so assistive apps can quickly access a window's grow
- area element.
-
- Value: An AXUIElementRef of the window's grow area element.
-
- Writable? No.
-
- Required for all window elements that have a grow area.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXGrowAreaAttribute CFSTRP('AXGrowArea')}
- {$endc}
- {
- kAXModalAttribute
-
- Whether a window is modal.
-
- Value: A CFBooleanRef. True means the window is modal.
-
- Writable? No.
-
- Required for all window elements.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXModalAttribute CFSTRP('AXModal')}
- {$endc}
- {
- kAXDefaultButtonAttribute
-
- A convenience attribute so assistive apps can quickly access a window's default
- button element, if any.
-
- Value: An AXUIElementRef of the window's default button element.
-
- Writable? No.
-
- Required for all window elements that have a default button.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXDefaultButtonAttribute CFSTRP('AXDefaultButton')}
- {$endc}
- {
- kAXCancelButtonAttribute
-
- A convenience attribute so assistive apps can quickly access a window's cancel
- button element, if any.
-
- Value: An AXUIElementRef of the window's cancel button element.
-
- Writable? No.
-
- Required for all window elements that have a cancel button.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXCancelButtonAttribute CFSTRP('AXCancelButton')}
- {$endc}
- // menu-specific attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMenuItemCmdCharAttribute CFSTRP('AXMenuItemCmdChar')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMenuItemCmdVirtualKeyAttribute CFSTRP('AXMenuItemCmdVirtualKey')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMenuItemCmdGlyphAttribute CFSTRP('AXMenuItemCmdGlyph')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMenuItemCmdModifiersAttribute CFSTRP('AXMenuItemCmdModifiers')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMenuItemMarkCharAttribute CFSTRP('AXMenuItemMarkChar')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMenuItemPrimaryUIElementAttribute CFSTRP('AXMenuItemPrimaryUIElement')}
- {$endc}
- // application-specific attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMenuBarAttribute CFSTRP('AXMenuBar')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXWindowsAttribute CFSTRP('AXWindows')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXFrontmostAttribute CFSTRP('AXFrontmost')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXHiddenAttribute CFSTRP('AXHidden')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMainWindowAttribute CFSTRP('AXMainWindow')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXFocusedWindowAttribute CFSTRP('AXFocusedWindow')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXFocusedUIElementAttribute CFSTRP('AXFocusedUIElement')}
- {$endc}
- {
- kAXHeaderAttribute
-
- A convenience attribute whose value is an element that is a header for another
- element. For example, an outline element has a header attribute whose value is
- a element of role AXGroup that contains the header buttons for each column.
- Used for things like tables, outlines, columns, etc.
-
- Value: An AXUIElementRef whose role varies.
-
- Writable? No.
-
- Recommended for elements that have header elements contained within them that an
- assistive application might want convenient access to.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXHeaderAttribute CFSTRP('AXHeader')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXEditedAttribute CFSTRP('AXEdited')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXValueWrapsAttribute CFSTRP('AXValueWraps')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXTabsAttribute CFSTRP('AXTabs')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXTitleUIElementAttribute CFSTRP('AXTitleUIElement')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXHorizontalScrollBarAttribute CFSTRP('AXHorizontalScrollBar')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXVerticalScrollBarAttribute CFSTRP('AXVerticalScrollBar')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXOverflowButtonAttribute CFSTRP('AXOverflowButton')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXFilenameAttribute CFSTRP('AXFilename')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXExpandedAttribute CFSTRP('AXExpanded')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSelectedAttribute CFSTRP('AXSelected')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSplittersAttribute CFSTRP('AXSplitters')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXNextContentsAttribute CFSTRP('AXNextContents')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXDocumentAttribute CFSTRP('AXDocument')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXDecrementButtonAttribute CFSTRP('AXDecrementButton')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXIncrementButtonAttribute CFSTRP('AXIncrementButton')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXPreviousContentsAttribute CFSTRP('AXPreviousContents')}
- {$endc}
- {
- kAXContentsAttribute
-
- A convenience attribute so assistive apps can find interesting child elements
- of a given element, while at the same time avoiding non-interesting child
- elements. For example, the contents of a scroll area are the children that get
- scrolled, and not the horizontal and/or vertical scroll bars. The contents of
- a tab group does not include the tabs themselves.
-
- Value: A CFArrayRef of AXUIElementRefs.
-
- Writable? No.
-
- Recommended for elements that have children that act upon or are separate from
- other children.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXContentsAttribute CFSTRP('AXContents')}
- {$endc}
- {
- kAXIncrementorAttribute
-
- Convenience attribute that yields the incrementor of a time field or date
- field element.
-
- Value: A AXUIElementRef of role kAXIncrementorRole.
-
- Writable? No.
-
- Required for time field and date field elements that display an incrementor.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXIncrementorAttribute CFSTRP('AXIncrementor')}
- {$endc}
- {
- kAXHourFieldAttribute
-
- Convenience attribute that yields the hour field of a time field element.
-
- Value: A AXUIElementRef of role kAXTextFieldRole that is used to edit the
- hours in a time field element.
-
- Writable? No.
-
- Required for time field elements that display hours.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXHourFieldAttribute CFSTRP('AXHourField')}
- {$endc}
- {
- kAXMinuteFieldAttribute
-
- Convenience attribute that yields the minute field of a time field element.
-
- Value: A AXUIElementRef of role kAXTextFieldRole that is used to edit the
- minutes in a time field element.
-
- Writable? No.
-
- Required for time field elements that display minutes.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMinuteFieldAttribute CFSTRP('AXMinuteField')}
- {$endc}
- {
- kAXSecondFieldAttribute
-
- Convenience attribute that yields the seconds field of a time field element.
-
- Value: A AXUIElementRef of role kAXTextFieldRole that is used to edit the
- seconds in a time field element.
-
- Writable? No.
-
- Required for time field elements that display seconds.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSecondFieldAttribute CFSTRP('AXSecondField')}
- {$endc}
- {
- kAXAMPMFieldAttribute
-
- Convenience attribute that yields the AM/PM field of a time field element.
-
- Value: A AXUIElementRef of role kAXTextFieldRole that is used to edit the
- AM/PM setting in a time field element.
-
- Writable? No.
-
- Required for time field elements that displays an AM/PM setting.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXAMPMFieldAttribute CFSTRP('AXAMPMField')}
- {$endc}
- {
- kAXDayFieldAttribute
-
- Convenience attribute that yields the day field of a date field element.
-
- Value: A AXUIElementRef of role kAXTextFieldRole that is used to edit the
- day in a date field element.
-
- Writable? No.
-
- Required for date field elements that display days.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXDayFieldAttribute CFSTRP('AXDayField')}
- {$endc}
- {
- kAXMonthFieldAttribute
-
- Convenience attribute that yields the month field of a date field element.
-
- Value: A AXUIElementRef of role kAXTextFieldRole that is used to edit the
- month in a date field element.
-
- Writable? No.
-
- Required for date field elements that display months.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMonthFieldAttribute CFSTRP('AXMonthField')}
- {$endc}
- {
- kAXYearFieldAttribute
-
- Convenience attribute that yields the year field of a date field element.
-
- Value: A AXUIElementRef of role kAXTextFieldRole that is used to edit the
- year in a date field element.
-
- Writable? No.
-
- Required for date field elements that display years.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXYearFieldAttribute CFSTRP('AXYearField')}
- {$endc}
- {
- kAXColumnTitleAttribute
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXColumnTitleAttribute CFSTRP('AXColumnTitles')}
- {$endc}
- {
- kAXURLAttribute
-
- Value: A CFURLRef.
-
- Writable? No.
-
- Required for elements that represent a disk or network item.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXURLAttribute CFSTRP('AXURL')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXLabelUIElementsAttribute CFSTRP('AXLabelUIElements')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXLabelValueAttribute CFSTRP('AXLabelValue')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXShownMenuUIElementAttribute CFSTRP('AXShownMenuUIElement')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXServesAsTitleForUIElementsAttribute CFSTRP('AXServesAsTitleForUIElements')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXLinkedUIElementsAttribute CFSTRP('AXLinkedUIElements')}
- {$endc}
- // table/outline view attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXRowsAttribute CFSTRP('AXRows')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXVisibleRowsAttribute CFSTRP('AXVisibleRows')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSelectedRowsAttribute CFSTRP('AXSelectedRows')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXColumnsAttribute CFSTRP('AXColumns')}
- {$endc}
- {
- kAXVisibleColumnsAttribute
-
- Indicates the visible column sub-elements of a kAXBrowserRole element.
- This is the subset of a browser's kAXColumnsAttribute where each column in the
- array is one that is currently scrolled into view within the browser. It does
- not include any columns that are currently scrolled out of view.
-
- Value: A CFArrayRef of AXUIElementRefs representing the columns of a browser.
- The columns will be grandchild elements of the browser, and will generally be
- of role kAXScrollArea.
-
- Writable? No.
-
- Required for all browser elements.
- }
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXVisibleColumnsAttribute CFSTRP('AXVisibleColumns')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSelectedColumnsAttribute CFSTRP('AXSelectedColumns')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSortDirectionAttribute CFSTRP('AXSortDirection')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXColumnHeaderUIElementsAttribute CFSTRP('AXColumnHeaderUIElements')}
- {$endc}
- // row/column attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXIndexAttribute CFSTRP('AXIndex')}
- {$endc}
- // outline attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXDisclosingAttribute CFSTRP('AXDisclosing')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXDisclosedRowsAttribute CFSTRP('AXDisclosedRows')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXDisclosedByRowAttribute CFSTRP('AXDisclosedByRow')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXDisclosureLevelAttribute CFSTRP('AXDisclosureLevel')}
- {$endc}
- // matte attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMatteHoleAttribute CFSTRP('AXMatteHole')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMatteContentUIElementAttribute CFSTRP('AXMatteContentUIElement')}
- {$endc}
- // ruler attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMarkerUIElementsAttribute CFSTRP('AXMarkerUIElements')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXUnitsAttribute CFSTRP('AXUnits')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXUnitDescriptionAttribute CFSTRP('AXUnitDescription')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMarkerTypeAttribute CFSTRP('AXMarkerType')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXMarkerTypeDescriptionAttribute CFSTRP('AXMarkerTypeDescription')}
- {$endc}
- // Dock attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXIsApplicationRunningAttribute CFSTRP('AXIsApplicationRunning')}
- {$endc}
- // search field attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXSearchButtonAttribute CFSTRP('AXSearchButton')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXClearButtonAttribute CFSTRP('AXClearButton')}
- {$endc}
- // system-wide attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXFocusedApplicationAttribute CFSTRP('AXFocusedApplication')}
- {$endc}
- // obsolete/unknown attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXTextAttribute CFSTRP('AXText')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXVisibleTextAttribute CFSTRP('AXVisibleText')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXIsEditableAttribute CFSTRP('AXIsEditable')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXColumnTitlesAttribute CFSTRP('AXColumnTitles')}
- {$endc}
- {ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ}
- { Parameterized Attributes }
- {ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ}
- // Text Suite Parameterized Attributes
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXLineForIndexParameterizedAttribute CFSTRP('AXLineForIndex')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXRangeForLineParameterizedAttribute CFSTRP('AXRangeForLine')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXStringForRangeParameterizedAttribute CFSTRP('AXStringForRange')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXRangeForPositionParameterizedAttribute CFSTRP('AXRangeForPosition')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXRangeForIndexParameterizedAttribute CFSTRP('AXRangeForIndex')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXBoundsForRangeParameterizedAttribute CFSTRP('AXBoundsForRange')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXRTFForRangeParameterizedAttribute CFSTRP('AXRTFForRange')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXAttributedStringForRangeParameterizedAttribute CFSTRP('AXAttributedStringForRange')}
- {$endc}
- {$ifc USE_CFSTR_CONSTANT_MACROS}
- {$definec kAXStyleRangeForIndexParameterizedAttribute CFSTRP('AXStyleRangeForIndex')}
- {$endc}
- end.
|