Font Size: a A A

Word Document Services Research And Implementation Based On OOXML

Posted on:2015-03-11Degree:MasterType:Thesis
Country:ChinaCandidate:J L YaoFull Text:PDF
GTID:2268330425988115Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Most large enterprises and institutions have their own documents standards, and always build their own systems of document generation, and most of the existing systems use word processing software to operate document in manual operation mode. In addition, the traditional word processing software can handle only one document at the same time. With the development and population of XML technology, Office Open XML (OOXML) become a common standard. Based OOXML, Java and some programming languages provide rich APIs for document operation. This paper researched the OOXML-based Word Document Generation Mechanism and implemented an online document auto-generation system which enable concurrency. The main research and implementation work is as follows:(1). Design Template Tags:Template document defines the document layout and style information which won’t change during the process of document generation as well as the static data part. It is the info provided by the template tags that guide the document engine to operate the data component, render and generate the document, and this guidance is the essence of template-driven. While the OOXML-based document is applied, the template tags system is uncorrelated to OOXML tags and built with the thought of style and data separation.(2). The Architecture of Document Generation Engine:taking template and data as the inputs of engine, researched the implement technologies and methods of the engine’s core function, such as:template parsing, data loading, document rendering and document generation, and made every work stage independent. It is working by independent stages that ensure the operability and can improve the efficiency by scheduling each stage.(3). Concurrent Processing:deployed as a Web service to the B/S structured system, concurrent processing is the key to the document generation system availability. Researched a cluster-based load balancing methods to optimize the process of concurrent requests.(4). Experiment Verification:configured a small cluster of Apache-Tomcat architecture, combined to the document generation scene of test in the Management System of Software Test Reuse, performed a series of experiments to test the performance of document generation engine with concurrent requests, and analysised the availability of document generation engine.
Keywords/Search Tags:Document Generation, Office Open XML, Template Engine, Concurrency, Template Tags
PDF Full Text Request
Related items