Method and system for selectively enforcing presentation themes
First Claim
1. In a computing environment comprising a user interface, the user interface comprising an element, the element comprising a property, a method for searching for a value to provide to the property, the method comprising:
- searching for a default property sheet that is designated as important and that includes at least one rule that provides a value to the property;
finding a default property sheet that includes a plurality of rules and implementing a rule-order independence to prevent ambiguity as to which rule applies, wherein the rule-order independence is only implemented when more than one rule is present in the default property sheet;
searching for an in-line rule that provides a value to the property;
when no in-line rule is found that provides a value to the property, searching for a non-default property sheet that includes a rule that provides a value to the property;
when no non-default property sheet is found that Includes a rule that provides a value to the property, searching for a default property sheet that is not designated as important and that includes a rule that provides a value to the property;
when a rule that provides a value to the property is not found, applying a default value to the property to provide a value to the property, andproviding a value to the property upon finding a rule that provides the value to the property therein defining the value provided for a user of the user interface;
wherein sources of rules that provide values to the property are prioritized from a highest priority to a lowest priority in that a rule from a rule source with the highest priority is applied to provide the value to the property while rules from lower priority rule sources are ignored.
2 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is a theme property sheet system that supports presentation themes by coordinating values provided to elements used in a user interface. When an interface user expresses a preference for a particular presentation theme, that theme'"'"'s property sheet is given precedence over other mechanisms for setting property values. By appropriately setting these values in the interface, the theme property sheet enhances the coherence of the interface. The theme property sheet allows an interface designer to add new presentation elements to a user interface without being concerned about presentation themes. The default for each property as set by the designer is overridden, when necessary, by the theme sheet. In a few particular cases, an application designer needs to override even the user'"'"'s theme preferences. A mechanism is provided to support these exceptional cases.
-
Citations
32 Claims
-
1. In a computing environment comprising a user interface, the user interface comprising an element, the element comprising a property, a method for searching for a value to provide to the property, the method comprising:
-
searching for a default property sheet that is designated as important and that includes at least one rule that provides a value to the property; finding a default property sheet that includes a plurality of rules and implementing a rule-order independence to prevent ambiguity as to which rule applies, wherein the rule-order independence is only implemented when more than one rule is present in the default property sheet; searching for an in-line rule that provides a value to the property; when no in-line rule is found that provides a value to the property, searching for a non-default property sheet that includes a rule that provides a value to the property; when no non-default property sheet is found that Includes a rule that provides a value to the property, searching for a default property sheet that is not designated as important and that includes a rule that provides a value to the property; when a rule that provides a value to the property is not found, applying a default value to the property to provide a value to the property, and providing a value to the property upon finding a rule that provides the value to the property therein defining the value provided for a user of the user interface; wherein sources of rules that provide values to the property are prioritized from a highest priority to a lowest priority in that a rule from a rule source with the highest priority is applied to provide the value to the property while rules from lower priority rule sources are ignored. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable medium containing computer-executable instructions for performing a method for searching for a value to provide to a property of an element of a user interface, the method comprising:
-
searching for a default property sheet that is designated as important and that includes at least one rule that provides a value to the property; finding a default property sheet that includes a plurality of rules and implementing a rule-order independence to prevent ambiguity as to which rule applies in a given situation, wherein the rule-order independence is only implemented when more than one rule is present in the default property sheet; causing a theme sheet to be designated as important and gain priority over the default property sheet wherein values for a size of a font or a type of the font provided by the theme sheet override values provided by the default property sheet; searching for an in-line rule that provides a value to the property; when no in-line rule is found that provides a value to the property, searching for a non-default property sheet that includes a rule that provides a value to the property; when no non-default property sheet is found that includes a rule that provides a value to the property, searching for a default property sheet that is not designated as important and that includes a rule that provides a value to the property; when a rule that provides a value to the property is not found, applying a default value to the property to provide a value to the property, and providing a value to the property upon finding a rule that provides the value to the property therein defining the value provided for a user of the user interface.
-
-
11. In a computing enviromnent comprising a user interface, the user interface comprising an element, the element comprising a property, a method for providing a value to the property, the method comprising:
-
finding a default property sheet designated as important and including rules that provides a value to the property; implementing a rule-order independence to prevent ambiguity as to which rule applies, wherein the rule-order independence is only implemented when more than one rule is present in the default property sheet; causing a theme sheet to be designate as important and gain priority over the default property sheet wherein values for a size of a font or a type of the font provided by the theme sheet override values provided by the default property sheet; searching for an in line rule to provide a value to the property; if the in-line rule exists to provide a value to the property, then applying the in-line rule to provide a value to the property; else if a non-default property sheet includes a rule to provide a value to the property, then applying the non-default property sheet rule to provide a value to the property; else if a default property sheet is not designated as important and includes a rule to provide a value to the property, then applying the rule of the non-important default property sheet to provide a value to the property; and else if a rule that provides a value to the property does not exist, then applying a default value to the property to provide a value to the property, and providing a value to the property upon finding a rule to provide a value to the property therein defining the value provided for a user of the user interface. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer-readable medium containing computer-executable instructions for performing a method for providing a value to a property of an element of a user interface, the method comprising:
-
finding a default property sheet designated as important and including rules that provide a value to the property; implementing a rule-order independence to prevent ambiguity as to which rule applies in a given situation; causing a theme sheet to be designated as important and gain priority over the default property sheet wherein values for a size of a font or a type of the font provided by the theme sheet override values provided by the default property sheet; searching for an in line rule to provide a value to the property; if the in-line rule exists to provide a value to the property, then applying the in-line rule to provide a value to the property; else if a non-default property sheet includes a rule to provide a value to the property, then applying the non-default property sheet rule to provide a value to the property; else if a default property sheet is not designated as important but includes rules to provide a value to the property, then implementing the rule-order independence to prevent ambiguity as to which rule applies in a given situation when more than one rule is present in the property sheet to provide a value to the property and applying one of the rules of the non-important default property sheet to provide a value to the property; else if a rule that provides a value to the property does not exist then applying a default value to the property to provide a value to the property; and providing a value to the property when a rule to provide a value to the property exists therein defining the value provided for a user of the user interface.
-
-
24. In a computing environment comprising a user interface, the user interface comprising an element, the element comprising a property, a method for providing a value to the property, the method comprising:
-
applying a more specific rule of a default property sheet to provide a value to the property wherein a non-default property sheet is designated as important and includes a rule to provide a value to the property, and wherein the default property sheet includes at least two rules to provide a value to the property, and wherein the default property sheet at least two rules are more specific than the nondefault property sheet rule, therein implementing a rule-order independence to prevent ambiguity as to which rule applies in a given situation to provide a value to the property; and providing the value to the property therein defining the value provided for a user of the user interface. - View Dependent Claims (25, 26, 27, 28, 29, 30, 31)
-
-
32. A computer-readable medium containing computer-executable instructions for performing a method for providing a value to a property of an element of a user interface, the method comprising:
-
applying a more specific rule from a default property sheet to provide a value to the property wherein a non-default property sheet is designated as important and includes a rule to provide a value to the property, and wherein the default property sheet includes at least two rules to provide a value to the property, and wherein the default property sheet rules are more specific than the non-default property sheet rule, therein implementing a rule-order independence to prevent ambiguity as to which rule applies in a given situation to provide a value to the property; and providing the value to the property therein defining the value provided for a user of the user interface.
-
Specification