2005-03-17 14:20:42 +00:00
|
|
|
#include <applicat.h>
|
2005-09-16 14:52:59 +00:00
|
|
|
#include <automask.h>
|
2005-03-17 14:20:42 +00:00
|
|
|
#include <reprint.h>
|
|
|
|
|
|
|
|
#include "ca1.h"
|
|
|
|
#include "calib02.h"
|
|
|
|
|
|
|
|
|
|
|
|
class TPrint_ca : public TSkeleton_application
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void main_loop();
|
|
|
|
};
|
|
|
|
|
|
|
|
void TPrint_ca::main_loop()
|
|
|
|
{
|
|
|
|
TFilename path;
|
|
|
|
while (select_custom_file(path, "rep", "ca1100"))
|
|
|
|
{
|
|
|
|
TReport_book book;
|
|
|
|
TAnal_report rep;
|
|
|
|
rep.load(path);
|
|
|
|
book.add(rep);
|
|
|
|
book.print_or_preview();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
int ca1100(int argc, char* argv[])
|
|
|
|
{
|
|
|
|
TPrint_ca a;
|
|
|
|
a.run(argc, argv, TR("Stampa anagrafiche"));
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|