摘要:
An improved system and method for displaying a user interface object using an associated style is provided. To this end, an application may include style declarations that may associate a style resource with a user interface object. The style resource may define property values that may be selectively applied to a user interface object, may specify a visual representation for the user interface object, such as a visual subtree, and may specify additional property values to be conditionally applied to a user interface object. A styling engine may be provided for applying a style resource to a user interface object. A visual representation of the user interface objects with the applied property values may be generated and then a display representation may be rendered for presentation on a user interface display.
摘要:
An improved system and method for displaying a user interface object using an associated style is provided. To this end, an application may include style declarations that may associate a style resource with a user interface object. The style resource may define property values that may be selectively applied to a user interface object, may specify a visual representation for the user interface object, such as a visual subtree, and may specify additional property values to be conditionally applied to a user interface object. A styling engine may be provided for applying a style resource to a user interface object. A visual representation of the user interface objects with the applied property values may be generated and then a display representation may be rendered for presentation on a user interface display.
摘要:
Presentation of accessible content is in accordance with a grid established by rules independent of the content. Different rules establish different grids utilizable with the same content, thereby enabling proper formatting across a wide range of devices and displays. The rules provide for fixed size and auto sized column widths and row heights. Additionally, the rules provide for column widths and row heights size based on fractional weighting of the remaining space after the fixed size and auto sized grid members are accounted for. The grid establishes a coordinate system onto which content is “hung” by aligning an aspect of the content with a coordinate point. Content is hung by reference to its beginning, its end, its center point, or, alternatively, content can be specified to be stretched to fit the width of the column and the height of the row with which it is associated.
摘要:
Various embodiments provide a grid positioning system which allows grid lines to be established based upon either an implicit grid or an explicit grid. Further, at least some embodiments provide a grid positioning system which allows a repeating mechanism to be employed which is ideally suited to adapt to different screen or display resolutions. Further, various embodiments provide a language which defines a grid unit that can be utilized to allow positioning in relation to grid lines.
摘要:
A user interface event is received by way of a user interface. A software component adapted to process the user interface event may be pushed onto a memory stack, and the user interface event may be processed using the software component on the stack, or with a software component that is not on the stack. The software component on the stack, if used, may then be popped from the memory stack. In addition, a plurality of software components may be pushed onto the memory stack, and in that case, at least one of the components may be selected to process the user interface event. The user interface event is processed using at least one of the plurality of software components, and one or more of the plurality of software components are popped from the memory stack.
摘要:
A method for checking spelling in a word processor integrates spell checking with the editing process. During idle periods of the word processor, the spell checker scans an open document, and maintains a table of spelling status data, including codes to identify checked, unchecked, or edited ranges of characters. Spelling errors can be highlighted during an editing session. Spelling status data is maintained with the document so that spell checked portions of the document do not need to be re-checked.
摘要:
Content can be flowed through one or more containers that can be laid out analogously to printed material. Content is flowed into the first specified container until that container is “full” of content. Subsequent content is then flowed through subsequent containers, each of which is individually identified, and whose ordering is specified independently of their position and visual presentation. Multiple independent sources of content can be flowed through multiple independent collections of containers. Each container can format the content presented within it independently from other containers, and each container can comprise script, or other programmatic constructs, which can operate on, and modify, the content flowed into such a container. To provide for the rich layouts, content containers can be nested inside one another such that multiple layers, or levels, of the layout can be edited independently of one another.
摘要:
Presentation of accessible content is in accordance with a grid established by rules independent of the content. Different rules establish different grids utilizable with the same content, thereby enabling proper formatting across a wide range of devices and displays. The rules provide for fixed size and auto sized column widths and row heights. Additionally, the rules provide for column widths and row heights size based on fractional weighting of the remaining space after the fixed size and auto sized grid members are accounted for. The grid establishes a coordinate system onto which content is “hung” by aligning an aspect of the content with a coordinate point. Content is hung by reference to its beginning, its end, its center point, or, alternatively, content can be specified to be stretched to fit the width of the column and the height of the row with which it is associated.
摘要:
An API and method for processing a user interface event is provided. The user interface event may take place in any environment of a software application, and may result from any type of user or software action. An embodiment also provides a framework for customizing the processing of a user interface event without the need to maintain accountability of computer states. In the method, an application process user interface event is processed using an operating system process. A user interface event is received by the application process by way of a user interface. A software component adapted to process the user interface event is pushed onto a memory stack by the operating system process. The operating system process processes the user interface event using the software component, and pops the software component from the memory stack.
摘要:
A system and process for capturing and rendering ink is described. An ink canvas object may contain none, one, or more objects or elements and may specify the z-order of the objects or elements. The ink canvas object may host a variety of objects or elements and, therefore, provide ink functionality to the objects or elements, even though the objects or elements themselves may not have ink functionality.