{oapdf_gg}
Preface: As a customer of the project needs to be converted into PDF documents WORD format, so it stands written in this tutorial needs analysis: customer's projects to B / S structure mainly to provide a WORD document in the background automatically converted to PDF, after the actual test, if the articles WORD document 100 pages If the conversion takes about 20 minutes or so (Environment: CPU is a Pentium M 1.6G, 512M memory), CPU occupancy rate of the entire near-95% ~ 100%, the results tell the customer, the customer is proposed: after work to the client automatically convert PDF, at the same time if the user confirm that you want to view the PDF documents, without conversion, to provide choice to customers, is now converted into PDF, or after work on the client server, automatic conversion. project function: needs analysis by the two functions to write Firstfor: B / S structure of the background conversion, to be submitted to the customer to choose second for: Windows service automatically converted into WORD document PDF these two categories: the core of the conversion process is implemented using threads, but the first function is a WORD document, the second function for the conversion of all outstanding WORD documents. analysis to the present: we begin the actual conversion! |