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












SourceForge.net Logo
Home » Developing U++ » UppHub » Very Simple Report Generator (Use QTF format)
Re: Very Simple Report Generator (Use QTF format) [message #24200 is a reply to message #24196] Mon, 04 January 2010 14:22 Go to previous messageGo to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Thank's for looking my version of Report Generator.

sergeynikitin wrote on Mon, 04 January 2010 12:29

Didier!. I looked at your code. It seemed to me that you're too complicated. Of course there may be problems which need such a decision.



My example is more complicated only because I added nested groups with header/body/footer
and because my template document is completely filled with TAGs and replacement vars (not a lot of real text to catch on to)

Quote:


I set the goal for their generators are somewhat different:
- Transparency and simplicity of the client code,
- Transparency and understandability document template,
- NOT a universal code for different types of reports
(the scheme and the availability of data groups and totals should be set in the client code, but not in the template)


If the user code manages all the groups and body repetition, the user code will drag in unnecessary complexity. for ex. managing repetition is always necessary so why not doing it once for all ?

Quote:


It is necessary for very simple printed forms (documents, calculations, etc.)


Nesting comes in handy very quickly, and to be honest I need it for my spearfishing app (to print out competition results).

Quote:


I think that for a little more complex forms of documents, this scheme is not suitable.

I think that the QTF format is not designed for storing various information such as schema report, and it would be better to make some QTR format in which to store templates of the report, data schemas and calculation schemes.

To implement the format QTR (in contrast to the QTF) need a template editor and editor of data schemas. This is a problem. May need to take a closer look in the direction RichPara.



Yes I agree. But this way is the long way and it will take a lot of time to go!


Quote:


As for my version, the next step I plan to make a store QTF templates in SQL database, and a set of controls for easy embedding in the application of a simple reports system.


Great !

On my side I'm gonna push in tables and bullets so that it can be usable for almost anything.
At least it will be available while waiting for a better and more complete solution.
( Until now I was generating reports by using RichText or by assembling QTF strings, so when I wanted to change a color or the global appearance it was not easy. And the user code, in this case was VERY complicated !! )





 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BarCode128: string to image (Candidate for upload to Bazaar)
Next Topic: Simple INI parser (15 mb in 4 s, DualCore 2500 Mhz)
Goto Forum:
  


Current Time: Fri Apr 19 11:02:37 CEST 2024

Total time taken to generate the page: 0.03757 seconds