计算机工程与应用 ›› 2021, Vol. 57 ›› Issue (2): 273-278.DOI: 10.3778/j.issn.1002-8331.1909-0340

• 工程与应用 • 上一篇    

流式文档排版效果自动化测试方法

左阔,李宁,田英爱,侯霞   

  1. 1.北京信息科技大学 网络文化与数字文化传播重点实验室,北京 100101
    2.北京信息科技大学 计算机学院,北京 100101
  • 出版日期:2021-01-15 发布日期:2021-01-14

Automatic Testing Method for Typesetting Effect of Reflowable Document

ZUO Kuo, LI Ning, TIAN Ying’ai, HOU Xia   

  1. 1.Beijing Key Laboratory of Internet Culture and Digital Dissemination Research, Beijing Information Science and Technology University, Beijing 100101, China
    2.Computer School, Beijing Information Science and Technology University, Beijing 100101, China
  • Online:2021-01-15 Published:2021-01-14

摘要:

为提高流式文档格式的标准符合性和兼容性测试效率,面向基于XML的流式文档,提出了一种排版效果自动化测试方法。结合流式文档特点和图像分析技术,通过逆向关联分析和排版格式分析实现对流式文档的排版效果分析,通过统计和层次分析法构建评价模型,对分析结果进行评价,给出量化的测试结果。相比人工测试可以大幅提高测试的自动化程度和准确率,对于文档格式标准的研制以及提高文字处理软件的质量均有重要的作用。

关键词: 自动化测试, 文档格式, 标准符合性测试, 兼容性测试, 版面效果分析

Abstract:

In order to improve the efficiency of standard conformity and compatibility testing for XML based reflowable document formats, an automatic test method of typesetting effect is proposed, which combines the document characteristics and image analysis technology. Firstly, reverse association analysis and typesetting format analysis are applied to analyze the typesetting effect. Then, an evaluation model is built on statistical analysis and AHP to evaluate the results of analysis and get the quantitative test results. Compared with manual testing, it can greatly increase automation and improve the accuracy of test. Thus, it is essential to the development of document format standards and to the quality of word processing software.

Key words: automatic testing, document format, standard conformity testing, compatibility testing, typesetting effect analysis