Method and apparatus for document transformation based on attribute
grammars and attribute couplings
    1.
    发明授权
    Method and apparatus for document transformation based on attribute grammars and attribute couplings 失效
    基于属性语法和属性耦合的文档转换方法和装置

    公开(公告)号:US5491628A

    公开(公告)日:1996-02-13

    申请号:US165785

    申请日:1993-12-10

    IPC分类号: G06F17/21 G06F17/22 G06F17/27

    摘要: A method and apparatus are provided for converting a first document to a second document. The first document is in a first extended attribute grammar, while the second document is in a second extended attribute grammar. An extended attribute coupling grammar couples the first and second extended attribute grammars. The first document is converted to a first tree, which is partially copied to a first copy. The first copy is completed by evaluating it's attribute with respect to the extended attribute coupling grammar. The first copy is then a partially attributed tree of the second document. The partially attributed tree is completed to form a second tree based on the second extended attribute grammar. The second tree is then converted to the second document.

    摘要翻译: 提供了一种用于将第一文档转换为第二文档的方法和装置。 第一个文档是第一个扩展属性语法,而第二个文档是第二个扩展属性语法。 扩展属性耦合语法耦合第一和第二扩展属性语法。 第一个文档被转换为第一个树,它被部分复制到第一个副本。 通过对扩展属性耦合语法的属性进行评估来完成第一个副本。 第一个副本是第二个文档的部分归属的树。 基于第二个扩展属性语法完成部分归属的树的形成第二个树。 然后将第二个树转换为第二个文档。

    Method and apparatus for specifying layout processing of structured
documents
    2.
    发明授权
    Method and apparatus for specifying layout processing of structured documents 失效
    用于指定结构化文档的布局处理的方法和装置

    公开(公告)号:US5438512A

    公开(公告)日:1995-08-01

    申请号:US139686

    申请日:1993-10-22

    摘要: A method and apparatus are provided for specifying layout processing of logically structured documents, that is, specific logical structures, in computer document handling systems. The method and apparatus allow the specification of the generic logical structure of the structured document in terms of relational attribute grammars. According to the invention, these relational attributes have a binary relationship. The generic layout structure for a class of structural documents is also represented in terms of relational attribute grammars. Coordination grammars, also represented in terms of relational attribute grammars, link the elements of the generic logical structure to the generic layout structure. By coordinating the generic layout and generic logical structures, many solutions are available. Preferential specifications are developed to resolve any potential ambiguities between the many solutions, and to select a preferred solution. The specific logical structure is then generated into a specific layout structure using the preferential specifications to resolve any ambiguities occurring as a result of the coordination.

    摘要翻译: 提供了一种用于指定逻辑结构化文档(即,计算机文档处理系统中的特定逻辑结构)的布局处理的方法和装置。 该方法和装置允许根据关系属性语法来指定结构化文档的通用逻辑结构。 根据本发明,这些关系属性具有二进制关系。 一类结构性文档的通用布局结构也用关系属性语法表示。 协调语法也用关系属性语法表示,将通用逻辑结构的元素链接到通用布局结构。 通过协调通用布局和通用逻辑结构,可以使用许多解决方案。 开发优先规范以解决许多解决方案之间的任何潜在歧义,并选择首选解决方案。 然后,使用优选规范将特定逻辑结构生成为特定的布局结构,以解决由于协调而发生的任何歧义。