Reference and thanks:
Flying Report: CodeProject-Project RDL-Open Source Report Definition Language
RDL Reference: http://www.microsoft.com/ SQL /technologies/reporting/rdlspec.mspx
PDF generation: Gios PDF. NET library
PDF Reference: Adobe-PDF Developer Center: PDF reference
Requirements:
The original data format in the project needs to be converted into a common data format and various types of documents are generated.
Objectives:
Implements a lightweight RDL Document Processing Framework for easy scalability
Terms:
RDL: Report Definition Language (RDL) is an SQL Server Definition specification based on reports.. Net platform contains the actual application of this language. At the same time, SQLServer can also use this specification to generate reports. However, the author needs to run a mediation program in the project to generate documents. It is naturally a problem to generate custom code for running RDL. The problem has been solved after practice, share your experience. RDL contains the types in all reports. It is actually an XML document. For more information about the architecture, see RDL Reference.
Flying Report: an open-source RDL project implementation
Sequence diagram:
Generate the corresponding file order based on RDL
Design modes used in the project:
Builder (creator ):
Fly Weight (enjoy yuan ):
In the process of PDF generation, some data needs to be stored, shared and used.
For the specific implementation of PDF generation, refer to Gios PDF Library and PDF Reference. This article mainly introduces the processing process of RDL. If you are interested, you can leave a message to obtain the source code for your learning.