Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

RepGen - Very simple Report Generator (Short description)

[en] [ru]

class RepGen

RepGen - Simple Report Generation Class

 

 

Short Description.

 

It work very simple:

RepGen write QTF report by QTF template.

If RepGen found ##-variables in template it replace by real values.

 

Work of RepGen controlled by Some CallBacks, wich is individual for each report type.

 

For each type of reports can be several various templates, that your users can select before executing the report.

 

Tutorial

 

Now in more detail.

 

RepGen can generate a report based on qtf-template. In other words, for the creation of the final report like this type:

 

AddressBookXML2+RepGen

Test report

(Use UWord for Edit)

 

"Simple table"

Name

Surname

Address

E-mail

Petr

Petrov

Moscow

petr@petrovich.ru

Ivan

Ivanov

Ekaterinburg

ivan@ivanovich.ru

Sidor

Sidorov

Kazan

sidor@sidorov.ru

TOTAL 3 ADDRESSES

 

 

 

The template for this report should be like this:

 

AddressBookXML2+RepGen

Test report

(Use UWord for Edit)

 

"Simple table"

Name

Surname

Address

E-mail

##BT ##NAME

##SURNAME

##ADDRESS

##EMAIL ##ET

TOTAL ##TOTAL ADDRESSES

 

 

 

To deal with this template to create an object of type RepGen.

 

Then you need to create several callbacks, which will set the logic of this report and actually implement the substitution of real data.

 

Additionally you must provide an GUI interface choose the right template. But that is another story, as a result of choice in RepGen object should get the content qtf-template.

 

Reference here

 

ChangeLog here

 

This article in Russian

Do you want to contribute?