![System and Method for Automatic Stylesheet Inference](/abs-image/US/2008/08/07/US20080189600A1/abs.jpg.150x150.jpg)
基本信息:
- 专利标题: System and Method for Automatic Stylesheet Inference
- 专利标题(中):自动样式表推理的系统和方法
- 申请号:US11672166 申请日:2007-02-07
- 公开(公告)号:US20080189600A1 公开(公告)日:2008-08-07
- 发明人: Tessa Lau , John J. Turek , Hui Su , Tian Shu Wang
- 申请人: Tessa Lau , John J. Turek , Hui Su , Tian Shu Wang
- 申请人地址: US NY YORKTOWN
- 专利权人: IBM
- 当前专利权人: IBM
- 当前专利权人地址: US NY YORKTOWN
- 主分类号: G06F17/28
- IPC分类号: G06F17/28
摘要:
A method is provided for automatically applying named styles to existing documents including word processing documents. The existing document is scanned and parsed into style regions of uniform style. The style attributes of each uniform style region are identified, and these identified style attributes are used to create style groups containing style regions having identical or substantially identical style attributes. These style attributes can be expressed in set or vector form. Named styles are then associated with the identified style group by either comparing the style attributes of a given style group to the attributes of a pre-defined named style or by extracting a named style from the style group. Once associated with a named style, the style regions within a given style group can be modified to be consistent with the named style associated with the style group. In addition, subsequent changes to the style attributes in a given style region are made by changing the attributes of the named style associated with the style group containing that style region.
摘要(中):
提供了一种自动将命名样式应用于包括文字处理文档的现有文档的方法。 现有文档被扫描并分析成均匀样式的风格区域。 识别每个统一样式区域的样式属性,并且这些识别的样式属性用于创建包含具有相同或基本相同样式属性的样式区域的样式组。 这些样式属性可以用set或vector形式表示。 通过将给定样式组的样式属性与预定义的命名样式的属性进行比较,或者从样式组中提取命名样式,将命名的样式与识别的样式组相关联。 一旦与命名样式相关联,给定样式组中的样式区域可以修改为与与样式组相关联的命名样式一致。 此外,通过更改与包含该样式区域的样式组相关联的命名样式的属性,可以对给定样式区域中的样式属性进行后续更改。
公开/授权文献:
- US08595615B2 System and method for automatic stylesheet inference 公开/授权日:2013-11-26