-
公开(公告)号:US08370740B2
公开(公告)日:2013-02-05
申请号:US12046297
申请日:2008-03-11
IPC分类号: G06F17/00
CPC分类号: G06F9/45512 , G06F8/70 , G06F9/541
摘要: The invention enables document level controls to be added to applications which display documents by using an application level add-in. The application level add-in tracks document opening and closing and dynamically constructs the document level control accordingly to ensure that the document level control is active only while the document is open.
摘要翻译: 本发明使得能够将文档级别控制添加到通过使用应用程序级加载项显示文档的应用程序。 应用程序级加载项跟踪文档打开和关闭,并相应地动态构建文档级别控制,以确保文档级别控制仅在文档打开时处于活动状态。
-
公开(公告)号:US20090320007A1
公开(公告)日:2009-12-24
申请号:US12144743
申请日:2008-06-24
IPC分类号: G06F9/45
CPC分类号: G06F9/44521 , G06F8/41 , G06F9/45504
摘要: A system and method for facilitating execution of a computer program in a framework, in which the computer program uses a component external to the framework is provided. The computer program is generated by compiling corresponding source code to produce generated code, extracting metadata corresponding to the external component, and combining the generated code with the metadata. The extracted metadata may be a partial subset of the metadata corresponding to the external component. When the computer program is executed, the combined metadata may be used to invoke or otherwise interact with the external component.
摘要翻译: 提供了一种用于在框架中执行计算机程序的系统和方法,其中计算机程序使用框架外部的组件。 计算机程序是通过编译相应的源代码产生生成的代码,提取与外部组件对应的元数据,并将生成的代码与元数据组合而生成的。 所提取的元数据可以是对应于外部组件的元数据的部分子集。 当执行计算机程序时,可以使用组合的元数据来调用或以其他方式与外部组件交互。
-
公开(公告)号:US20080201700A1
公开(公告)日:2008-08-21
申请号:US11675616
申请日:2007-02-15
申请人: Thomas E. Quinn , Michael Shneerson , David A. Whitechapel , William A. Robertson , Pallavi Vajranabhaiah
发明人: Thomas E. Quinn , Michael Shneerson , David A. Whitechapel , William A. Robertson , Pallavi Vajranabhaiah
IPC分类号: G06F9/44
CPC分类号: G06F8/71 , G06F9/44536
摘要: A method and architecture for increasing version resiliency between a host application that is unmanaged code and managed code is provided. A version resiliency technique specifies that the host application and the managed code communicate via an adapter that implements a protocol to access an object exposed by the host application. The version resiliency technique specifies that when a new version of the host application that impacts an interface exposed by the object of the host application is released, a new version of the adapter that executes within the application domain of the custom code is released. A version of managed code that adheres to the protocol will correctly interact with new versions of the host application that include a new version of the object because a new implementation of the adapter is also provided.
摘要翻译: 提供了一种用于增加非托管代码的主机应用程序和托管代码之间的版本弹性的方法和架构。 版本弹性技术指定主机应用程序和托管代码通过实现协议的适配器进行通信,以访问主机应用程序公开的对象。 版本弹性技术规定,当释放影响主机应用程序对象暴露的接口的主机应用程序的新版本时,将释放在定制代码的应用程序域内执行的适配器的新版本。 托管代码遵循协议的版本将正确地与包含新版本对象的主机应用程序的新版本进行交互,因为还提供了适配器的新实现。
-
公开(公告)号:US20080201691A1
公开(公告)日:2008-08-21
申请号:US11675614
申请日:2007-02-15
IPC分类号: G06F9/44
CPC分类号: G06F8/71
摘要: A method and architecture for increasing version resiliency between a host application that is unmanaged code and custom code that is managed code is provided. A host application exposes an application-level object and a document-level object. A custom code runtime provides a wrapper for the document-level object within the application domain of the custom code runtime. The custom code runtime also provides a mechanism within the application domain of the custom code runtime for providing to custom code a reference to the application-level object directly, rather than through a wrapper. Custom code can then access functionality of the application-level object directly using the reference without having to use a wrapper provided by the custom code runtime.
摘要翻译: 提供了一种用于增加非托管代码的主机应用程序和被管理代码的自定义代码之间的版本弹性的方法和架构。 主机应用程序公开应用程序级对象和文档级对象。 自定义代码运行时为自定义代码运行时的应用程序域中的文档级对象提供了一个包装器。 自定义代码运行时还提供了自定义代码运行时的应用程序域中的一种机制,以便直接向定制代码提供对应用程序级对象的引用,而不是通过包装器。 然后,自定义代码可以直接使用引用访问应用程序级对象的功能,而无需使用自定义代码运行时提供的包装器。
-
公开(公告)号:US08793676B2
公开(公告)日:2014-07-29
申请号:US11675584
申请日:2007-02-15
申请人: Thomas E. Quinn , Richard A. Cook , Michael Shneerson , David A. Whitechapel , William A. Robertson , Pallavi Vajranabhaiah
发明人: Thomas E. Quinn , Richard A. Cook , Michael Shneerson , David A. Whitechapel , William A. Robertson , Pallavi Vajranabhaiah
IPC分类号: G06F9/44
CPC分类号: G06F9/44521
摘要: A method and system for dynamically identifying and loading a version of a runtime for custom code of a host application without modifying the host application is provided. A loading system dynamically identifies the version of the runtime during execution of the host application. The loading system is also dynamically linked into the host application so that its algorithm for identifying the version of the runtime can be modified without modifying the host application. When requested by the host application to load custom code, the loading system identifies a version of the runtime to load, loads the identified version of the runtime, and then requests a load component of the loaded version of the runtime to load the custom code.
摘要翻译: 提供了用于动态地识别和加载主机应用程序的自定义代码的运行时版本而不修改主机应用程序的方法和系统。 加载系统在主机应用程序的执行期间动态地标识运行时的版本。 加载系统也动态链接到主机应用程序中,因此可以修改其用于识别运行时版本的算法,而无需修改主机应用程序。 当主机应用程序请求加载自定义代码时,加载系统识别要加载的运行时版本,加载运行时的标识版本,然后请求加载的运行时版本的加载组件加载自定义代码。
-
公开(公告)号:US20100180264A1
公开(公告)日:2010-07-15
申请号:US12351514
申请日:2009-01-09
申请人: Avner Y. Aharoni , Samuel Y. Ng , Michael Shneerson , Edward T. Maurer , Raja Krishnaswamy , Kevin Halverson , Timothy Y. Ng , Aleksey V. Tsingauz
发明人: Avner Y. Aharoni , Samuel Y. Ng , Michael Shneerson , Edward T. Maurer , Raja Krishnaswamy , Kevin Halverson , Timothy Y. Ng , Aleksey V. Tsingauz
IPC分类号: G06F9/45
摘要: User assemblies can be created by a compiler that can handle more than one type definition during execution. Local copies are created for respective authoritative types in a code library, and the local copies are marked with a local type identifier. An authoritative type identifier (e.g., a globally unique identifier (GUID)) is copied from the authoritative type to the local type, and functions and properties associated with the local type are also copied from the authoritative type. Authoritative types are resolved for requested types when a local assembly references a local type from a compiled user assembly. The local type can be identified by a local type identifier, and an authoritative type can be retrieved from the code library that has a same authoritative type identifier as the requested type. A local copy of the retrieved authoritative type can be copied to the local assembly under compilation. The compiler can then emit user assemblies that comprise merely local types.
摘要翻译: 用户程序集可以由编译器创建,可以在执行期间处理多个类型定义。 在代码库中为各自的权威类型创建本地副本,并且本地副本用本地类型标识符标记。 权威类型标识符(例如,全局唯一标识符(GUID))从权威类型复制到本地类型,并且与本地类型相关联的功能和属性也从权威类型复制。 当本地程序集从编译的用户程序集引用本地类型时,权限类型将被解析为请求的类型。 可以通过本地类型标识符来标识本地类型,并且可以从具有与请求类型相同的权威类型标识符的代码库中检索权威类型。 检索到的权威类型的本地副本可以在编译下复制到本地程序集。 然后,编译器可以发出仅包括本地类型的用户程序集。
-
公开(公告)号:US20090319991A1
公开(公告)日:2009-12-24
申请号:US12143572
申请日:2008-06-20
IPC分类号: G06F9/44
CPC分类号: G06F8/437
摘要: The determination of whether two managed code types are of equivalent types on the basis of a comparison between type identifiers of the managed types. The type identifiers may be independent of an assembly in which the managed types are created, a namespace of the corresponding managed type, or a name of the corresponding managed type. Accordingly, the type equivalence determination may be made to be quite flexible, thereby potentially resulting in better type equivalence determinations in of managed types.
摘要翻译: 基于被管理类型的类型标识符之间的比较,确定两个托管代码类型是否是等效类型。 类型标识符可以独立于其中创建被管理类型的组合,对应的被管理类型的命名空间或相应的被管理类型的名称。 因此,可以使类型等价性确定相当灵活,从而潜在地导致管理类型中更好的类型等价性确定。
-
公开(公告)号:US08201155B2
公开(公告)日:2012-06-12
申请号:US12351514
申请日:2009-01-09
申请人: Avner Y. Aharoni , Samuel Y. Ng , Michael Shneerson , Edward T. Maurer , Raja Krishnaswamy , Kevin Halverson , Timothy Y. Ng , Aleksey V. Tsingauz
发明人: Avner Y. Aharoni , Samuel Y. Ng , Michael Shneerson , Edward T. Maurer , Raja Krishnaswamy , Kevin Halverson , Timothy Y. Ng , Aleksey V. Tsingauz
IPC分类号: G06F9/45
摘要: User assemblies can be created by a compiler that can handle more than one type definition during execution. Local copies are created for respective authoritative types in a code library, and the local copies are marked with a local type identifier. An authoritative type identifier (e.g., a globally unique identifier (GUID)) is copied from the authoritative type to the local type, and functions and properties associated with the local type are also copied from the authoritative type. Authoritative types are resolved for requested types when a local assembly references a local type from a compiled user assembly. The local type can be identified by a local type identifier, and an authoritative type can be retrieved from the code library that has a same authoritative type identifier as the requested type. A local copy of the retrieved authoritative type can be copied to the local assembly under compilation. The compiler can then emit user assemblies that comprise merely local types.
摘要翻译: 用户程序集可以由编译器创建,可以在执行期间处理多个类型定义。 在代码库中为各自的权威类型创建本地副本,并且本地副本用本地类型标识符标记。 权威类型标识符(例如,全局唯一标识符(GUID))从权威类型复制到本地类型,并且与本地类型相关联的功能和属性也从权威类型复制。 当本地程序集从编译的用户程序集引用本地类型时,权限类型将被解析为请求的类型。 可以通过本地类型标识符来标识本地类型,并且可以从具有与请求类型相同的权威类型标识符的代码库中检索权威类型。 检索到的权威类型的本地副本可以在编译下复制到本地程序集。 然后,编译器可以发出仅包括本地类型的用户程序集。
-
公开(公告)号:US08146109B2
公开(公告)日:2012-03-27
申请号:US11675614
申请日:2007-02-15
IPC分类号: G06F9/44
CPC分类号: G06F8/71
摘要: A method and architecture for increasing version resiliency between a host application that is unmanaged code and custom code that is managed code is provided. A host application exposes an application-level object and a document-level object. A custom code runtime provides a wrapper for the document-level object within the application domain of the custom code runtime. The custom code runtime also provides a mechanism within the application domain of the custom code runtime for providing to custom code a reference to the application-level object directly, rather than through a wrapper. Custom code can then access functionality of the application-level object directly using the reference without having to use a wrapper provided by the custom code runtime.
摘要翻译: 提供了一种用于增加非托管代码的主机应用程序和被管理代码的自定义代码之间的版本弹性的方法和架构。 主机应用程序公开应用程序级对象和文档级对象。 自定义代码运行时为自定义代码运行时的应用程序域中的文档级对象提供了一个包装器。 自定义代码运行时还提供了自定义代码运行时的应用程序域中的一种机制,以便直接向定制代码提供对应用程序级对象的引用,而不是通过包装器。 然后,自定义代码可以直接使用引用访问应用程序级对象的功能,而无需使用自定义代码运行时提供的包装器。
-
公开(公告)号:US07735059B2
公开(公告)日:2010-06-08
申请号:US11148620
申请日:2005-06-09
IPC分类号: G06F9/44
CPC分类号: G06F8/20 , G06F9/4488
摘要: Systems and methods for hosting managed code controls within unmanged hosts, such as MICROSOFT Word and Excel. There are two components to the hosting architecture, a wrapper control that implements various interfaces and a container control that hosts the managed code control. A design-time implementation allows for a designer to drag and drop managed code controls onto documents that run in a design component process. A runtime component allows managed code controls to run within hosts under security permissions specified by a policy.
摘要翻译: 托管未受控主机的托管代码控制的系统和方法,如MICROSOFT Word和Excel。 主机架构有两个组件,实现各种接口的包装器控件和托管托管代码控制的容器控件。 设计时实现允许设计者将托管代码控件拖放到在设计组件过程中运行的文档上。 运行时组件允许托管代码控制在主机中以策略指定的安全权限运行。
-
-
-
-
-
-
-
-
-