forlano Messages: 1185 Registered: March 2006 Location: Italy
Senior Contributor
Hello,
I have some data that appear as a table and I need to transform in a QTF table. I can feed an ArrayCtrl with my data and get for free the wanted qtf document after the recent .AsQtf() method. But perhaps does exist a not so drastic way.
Is there around some class that produces QTF table with some minimalist tuning (some column need to be bold for example).
forlano Messages: 1185 Registered: March 2006 Location: Italy
Senior Contributor
Attached is the class made by mdelfede.
The first time I tried it I had some problem. I've removed the unnecessary code as Max suggested and realized the package with a silly test case.
The task to create qtf table has always given me some troubble and a lot of trial and error before to get something acceptable.
With this class the task is done immediately.
I would suggest to Max to move the package in bazaar.
forlano Messages: 1185 Registered: March 2006 Location: Italy
Senior Contributor
forlano wrote on Tue, 06 December 2011 17:37
Attached is the class made by mdelfede.
The first time I tried it I had some problem. I've removed the unnecessary code as Max suggested and realized the package with a silly test case.
The task to create qtf table has always given me some troubble and a lot of trial and error before to get something acceptable.
With this class the task is done immediately.
I would suggest to Max to move the package in bazaar.
Luigi
I am using this class with very good result.
I have found a little annoying problem. When the generated table span over two pages the output consists of three page being empty the first one
mdelfede Messages: 1307 Registered: September 2007
Ultimate Contributor
Hi Luigi,
I'm glad you found it useful
I'm using it in my application, because it was quite difficult to remember each time the correct qtf codes.
I have also some empty pages problems, mostly when the current page is completely filled; no problems with tables, indeed....
I'll polist and post the package when I've a bit time for it.
I think it would be nice to make a complete QTF generator with it, but it would need a bit more work.
forlano Messages: 1185 Registered: March 2006 Location: Italy
Senior Contributor
mdelfede wrote on Wed, 21 December 2011 17:58
I'll polist and post the package when I've a bit time for it.
I think it would be nice to make a complete QTF generator with it, but it would need a bit more work.
Many thanks in advance for the next version of this library. I am not in a hurry.
I suspect that most of the report are in a form of table and your class as is now cover most of the work (it is 100% of my output).