System and method for declaring a resource within a markup document
    1.
    发明授权
    System and method for declaring a resource within a markup document 有权
    用于在标记文档中声明资源的系统和方法

    公开(公告)号:US07418659B2

    公开(公告)日:2008-08-26

    申请号:US10377582

    申请日:2003-02-28

    IPC分类号: G06F15/00 G06F17/00

    CPC分类号: G06F8/44 G06F9/44521

    摘要: Described is a system and method for declaring a resource element in markup that is intended to be instantiated lazily only upon use at run-time rather than always at markup load time. In one embodiment, the invention provides a parent resources tag that encloses resource elements that may be any type of markup element. On compile, a specially prepared compiler/parser identifies the Resource tag and creates definitional information sufficient to describe the resource elements in such a manner that the resource elements are defined but not created at run-time when the markup is first loaded, and are created only upon use at run-time. A resource may be defined to be shared or non-shared. If shared, the resource is instantiated only once and that same instance is handed out each time the resource is accessed. If non-shared, a new instance of the resource is always created and handed out on each access of the resource.

    摘要翻译: 描述了一种用于在标记中声明资源元素的系统和方法,该资源元素仅在运行时使用而不是总是在加载加载时才被懒地实例化。 在一个实施例中,本发明提供了包含可以是任何类型的标记元素的资源元素的父资源标签。 在编译时,专门编写的编译器/解析器标识资源标签,并创建足够的描述资源元素的定义信息,方式是定义资源元素,但是在首次加载标记时在运行时不创建资源元素,并创建 仅在运行时使用。 可以将资源定义为共享或非共享。 如果共享,则资源仅被实例化一次,并且每次访问资源时都会发送相同的实例。 如果不共享,则始终创建资源的新实例,并在资源的每次访问中发出。

    System and method for declaring a resource within a markup document
    2.
    发明授权
    System and method for declaring a resource within a markup document 有权
    用于在标记文档中声明资源的系统和方法

    公开(公告)号:US07770160B2

    公开(公告)日:2010-08-03

    申请号:US11028986

    申请日:2005-01-03

    IPC分类号: G06F9/45

    CPC分类号: G06F8/44 G06F9/44521

    摘要: Described is a system and method for declaring a resource element in markup that is intended to be instantiated lazily only upon use at run-time rather than always at markup load time. In one embodiment, the invention provides a parent resources tag that encloses resource elements that may be any type of markup element. On compile, a specially prepared compiler/parser identifies the Resource tag and creates definitional information sufficient to describe the resource elements in such a manner that the resource elements are defined but not created at run-time when the markup is first loaded, and are created only upon use at run-time. A resource may be defined to be shared or non-shared. If shared, the resource is instantiated only once and that same instance is handed out each time the resource is accessed. If non-shared, a new instance of the resource is always created and handed out on each access of the resource.

    摘要翻译: 描述了一种用于在标记中声明资源元素的系统和方法,该资源元素仅在运行时使用而不是总是在加载加载时才被懒地实例化。 在一个实施例中,本发明提供了包含可以是任何类型的标记元素的资源元素的父资源标签。 在编译时,专门编写的编译器/解析器标识资源标签,并创建足够的描述资源元素的定义信息,方式是定义资源元素,但是在首次加载标记时在运行时不创建资源元素,并创建 仅在运行时使用。 可以将资源定义为共享或非共享。 如果共享,则资源仅被实例化一次,并且每次访问资源时都会发送相同的实例。 如果不共享,则始终创建资源的新实例,并在资源的每次访问中发出。

    System and method for compiling markup files
    3.
    发明授权
    System and method for compiling markup files 有权
    用于编译标记文件的系统和方法

    公开(公告)号:US07725884B2

    公开(公告)日:2010-05-25

    申请号:US10715136

    申请日:2003-11-18

    IPC分类号: G06F9/45

    CPC分类号: G06F8/427 G06F8/41

    摘要: The present invention is directed to a method and system for compiling a markup language file into an executable application or library dll. The system may also compile a code-behind file associated with the markup language file. The compiling system may include a parser for parsing the markup language file and providing the compiling system with detailed token information to the compiling system. This token information could be user code snippets or non-code token information such as tags, properties or events in the markup. The compiling system may also include a binary file generator for generating a binary file from the non-code token information, wherein the binary file contains one record for each non-code token. Additionally, the system may include a code generator for generating a language-independent tree of code expressions based on the token information, wherein the code expressions represent the markup language file as a class. A compiler may compile the binary files and code files to create an executable application.

    摘要翻译: 本发明涉及一种用于将标记语言文件编译成可执行应用程序或库DLL的方法和系统。 系统还可以编译与标记语言文件相关联的代码隐藏文件。 编译系统可以包括用于解析标记语言文件的解析器,并向编译系统提供详细的令牌信息给编译系统。 该令牌信息可以是标记中的用户代码片段或非代码令牌信息,例如标签,属性或事件。 编译系统还可以包括用于从非代码令牌信息生成二进制文件的二进制文件生成器,其中二进制文件包含每个非代码令牌的一个记录。 另外,系统可以包括代码生成器,用于基于令牌信息来生成与语言无关的代码表达树,其中代码表达式将标记语言文件表示为类。 编译器可以编译二进制文件和代码文件来创建可执行应用程序。

    System and method for defining and using subclasses declaratively within markup
    4.
    发明授权
    System and method for defining and using subclasses declaratively within markup 有权
    用于在标记中声明性地定义和使用子类的系统和方法

    公开(公告)号:US07120618B2

    公开(公告)日:2006-10-10

    申请号:US10377313

    申请日:2003-02-28

    IPC分类号: G06F17/00 G06N5/00

    摘要: Described is a system, method, and data structure that enables an executable assembly associated with a subclass to be generated from a subclass definition within a markup document. In accordance with the invention, the subclass definition is written based on a schema. The schema may be XML-based. The schema includes a subclass tag for defining a name for the subclass. The name is associated with a type for an object that is instantiated when the executable assembly executes. The schema further includes one or more hints, such as for specifying a programming language to compile the subclass definition, for specifying a superclass from which the subclass derives, for specifying actions to perform when the object becomes instantiated, for creating an event definition and event handler for the subclass, and for specifying a property that becomes a member within the object when the object is instantiated.

    摘要翻译: 描述了一种系统,方法和数据结构,其使得能够从标记文档中的子类定义生成与子类相关联的可执行程序集。 根据本发明,子类定义是基于模式编写的。 该模式可能是基于XML的。 该模式包括用于定义子类名称的子类标签。 该名称与可执行程序集执行时实例化的对象的类型相关联。 该模式还包括一个或多个提示,例如用于指定用于编制子类定义的编程语言,用于指定子类派生的超类,用于指定在实例化对象时执行的动作,以创建事件定义和事件 处理程序,用于指定当对象被实例化时成为对象中成员的属性。

    Method and system for validating access to a group of related elements
    5.
    发明授权
    Method and system for validating access to a group of related elements 有权
    验证访问一组相关元素的方法和系统

    公开(公告)号:US08245049B2

    公开(公告)日:2012-08-14

    申请号:US10867338

    申请日:2004-06-14

    IPC分类号: G06F21/00

    CPC分类号: H04L63/104 H04L63/102

    摘要: A method and system for validating access to a group of related elements are described. The elements within the group access a security context associated with a markup domain when a call is made to an element. An authorized call to an element is enabled such that the markup domain is navigated to a new web page. However, an unauthorized call is prevented so that the navigation to the new web page is not permitted. After the markup domain has been navigated, the security context associated with the markup domain is invalidated. A new security context is generated and associated with the markup domain. The elements associated with the web page navigated from are inaccessible after navigation of the markup domain to the new page. The association of the new security context with the markup domain prevents an unauthorized user from accessing any element that references the previous security context.

    摘要翻译: 描述用于验证对一组相关元素的访问的方法和系统。 当对元素进行调用时,组内的元素访问与标记域相关联的安全上下文。 启用对元素的授权呼叫,使得标记域被导航到新的网页。 然而,防止未经授权的呼叫,使得不允许对新网页的导航。 标记域已导航后,与标记域相关联的安全上下文将无效。 生成新的安全上下文并与标记域相关联。 与导航到网页的网页相关联的元素在标记域导航到新页面后是无法访问的。 新安全上下文与标记域的关联可防止未经授权的用户访问引用先前安全上下文的任何元素。

    Focus scope
    6.
    发明授权
    Focus scope 有权
    对焦范围

    公开(公告)号:US07631272B2

    公开(公告)日:2009-12-08

    申请号:US11272665

    申请日:2005-11-14

    IPC分类号: G06F3/048

    CPC分类号: G06F3/04892

    摘要: Aspects of the subject matter described herein relate to directing focus to elements of a graphical user interface in response to focus events. In aspects, a program may include multiple focus scopes each of which may include elements capable of receiving keyboard input. When an element receives keyboard focus, information regarding the element is updated to indicate that the element has or had keyboard focus. Thereafter, focus scope may be changed to a focus scope other than the one including the element. When changing the focus scope back to the focus scope that includes the element, the information may be used to give the element keyboard focus.

    摘要翻译: 本文描述的主题的方面涉及将焦点引导到响应于焦点事件的图形用户界面的元件。 在方面中,程序可以包括多个聚焦范围,每个焦点范围可以包括能够接收键盘输入的元件。 当元素接收到键盘焦点时,关于元素的信息被更新以指示该元素具有或具有键盘焦点。 此后,可以将焦点范围改变为包括元素的焦点范围。 将焦点范围更改回包含元素的焦点范围时,可以使用该信息给元素键盘焦点。

    Centralized context menus and tooltips
    7.
    发明申请
    Centralized context menus and tooltips 有权
    集中上下文菜单和工具提示

    公开(公告)号:US20070162898A1

    公开(公告)日:2007-07-12

    申请号:US11329706

    申请日:2006-01-11

    IPC分类号: G06F9/44

    CPC分类号: G06F9/4443 G06F8/38 G06F9/451

    摘要: Various technologies and techniques improve the process for creating and displaying context menus and tooltips. Procedures for listening for events, enabling, retrieving and displaying context menus and tooltips reside in a central service model. The developer accesses the central service model and specifies content for a context menu or tooltip. Rich media content such as audio, video, and graphic output can be included in context menus and tooltips. Shapes and effects of displayed content can also be customized.

    摘要翻译: 各种技术和技术改进了创建和显示上下文菜单和工具提示的过程。 监听事件,启用,检索和显示上下文菜单和工具提示的过程驻留在中央服务模型中。 开发人员访问中央服务模型并指定上下文菜单或工具提示的内容。 丰富的媒体内容(如音频,视频和图形输出)可以包含在上下文菜单和工具提示中。 显示内容的形状和效果也可以定制。

    Specifying per theme styles for custom graphical elements
    8.
    发明申请
    Specifying per theme styles for custom graphical elements 审中-公开
    为自定义图形元素指定每个主题样式

    公开(公告)号:US20070113189A1

    公开(公告)日:2007-05-17

    申请号:US11274808

    申请日:2005-11-15

    IPC分类号: G06F17/00

    CPC分类号: G06F9/451

    摘要: Theme changes for a custom graphical element are facilitated by providing a mechanism for storing theme specific data for the custom graphical element, providing a software object, independent of the custom graphical element, that monitors theme change events and, in response to a new theme being selected, the software object causing the custom graphical element to be redrawn according to the new theme. The custom graphical element may be graphical portions of a custom control, or a custom control itself. Switching to a new theme for an integrated graphical unit may be provided by marking for redrawing all of the graphical elements of the integrated graphical unit, traversing the elements, and redrawing each element that is marked. There may be provided a directory of theme files and, in each theme file, theme specific information indicating visual appearance of graphical elements.

    摘要翻译: 通过提供用于存储用于定制图形元素的主题特定数据的机制来促进定制图形元素的主题变化,提供独立于自定义图形元素的软件对象,其监视主题变化事件,并且响应于新的主题 选择,导致根据新主题重新绘制自定义图形元素的软件对象。 自定义图形元素可以是自定义控件或自定义控件本身的图形部分。 可以通过标记来重新绘制集成图形单元的所有图形元素,遍历元素和重新绘制标记的每个元素,来提供集成图形单元的新主题。 可以提供主题文件的目录,并且在每个主题文件中,指示图形元素的视觉外观的主题特定信息。

    System and method for declaring a resource within a markup document
    9.
    发明申请
    System and method for declaring a resource within a markup document 有权
    用于在标记文档中声明资源的系统和方法

    公开(公告)号:US20050119993A1

    公开(公告)日:2005-06-02

    申请号:US11028986

    申请日:2005-01-03

    IPC分类号: G06F7/00 G06F9/45 G06F15/00

    CPC分类号: G06F8/44 G06F9/44521

    摘要: Described is a system and method for declaring a resource element in markup that is intended to be instantiated lazily only upon use at run-time rather than always at markup load time. In one embodiment, the invention provides a parent resources tag that encloses resource elements that may be any type of markup element. On compile, a specially prepared compiler/parser identifies the Resource tag and creates definitional information sufficient to describe the resource elements in such a manner that the resource elements are defined but not created at run-time when the markup is first loaded, and are created only upon use at run-time. A resource may be defined to be shared or non-shared. If shared, the resource is instantiated only once and that same instance is handed out each time the resource is accessed. If non-shared, a new instance of the resource is always created and handed out on each access of the resource.

    摘要翻译: 描述了一种用于在标记中声明资源元素的系统和方法,该资源元素仅在运行时使用而不是总是在加载加载时才被懒地实例化。 在一个实施例中,本发明提供了包含可以是任何类型的标记元素的资源元素的父资源标签。 在编译时,专门编写的编译器/解析器标识资源标签,并创建足够的描述资源元素的定义信息,方式是定义资源元素,但是在首次加载标记时在运行时不创建资源元素,并创建 仅在运行时使用。 可以将资源定义为共享或非共享。 如果共享,则资源仅被实例化一次,并且每次访问资源时都会发送相同的实例。 如果不共享,则始终创建资源的新实例,并在资源的每个访问权限上发出。

    Methods for applying styles to visual aspects of user interface elements
    10.
    发明申请
    Methods for applying styles to visual aspects of user interface elements 审中-公开
    将样式应用于用户界面元素的视觉方面

    公开(公告)号:US20050091584A1

    公开(公告)日:2005-04-28

    申请号:US10692924

    申请日:2003-10-23

    IPC分类号: G06F3/048 G06F9/44 G06F17/00

    摘要: The visual appearance of a user interface element can be specified in a visual style document divorced from its semantic implementation. The visual style document can be used to specify a visual style including a set of sub-elements used for composing composite user interface element. Selected properties of the sub-elements may be exposed as properties of the composite element itself such that values specified for properties of the composite user interface element can be consumed by corresponding properties of the sub-elements. The style document can also be used to specify values for selected visual properties described in a named resource that may be independent of the style document. Changes in functional aspects of selected sub-elements of composite user interface elements can be used to drive changes in properties of the composite user interface element or other sub-elements by triggering commands that the other elements may be responsive to.

    摘要翻译: 用户界面元素的视觉外观可以在与其语义实现离散的视觉样式文档中指定。 视觉样式文档可用于指定视觉样式,包括用于组合复合用户界面元素的一组子元素。 子元素的选定属性可以被公开为复合元素本身的属性,使得为复合用户界面元素的属性指定的值可以被子元素的相应属性消耗。 样式文档也可用于指定可能独立于样式文档的命名资源中描述的所选视觉属性的值。 复合用户界面元素的选定子元素的功能方面的变化可用于通过触发其他元素可能响应的命令来驱动复合用户界面元素或其他子元素的属性的更改。