Patch level : AT

Files correlati     : at3.exe
Ricompilazione Demo : [ ]
Commento            : sistemata stampa totali molto grandi


git-svn-id: svn://10.65.10.50/trunk@11251 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
cris 2003-06-19 12:57:18 +00:00
parent c7e7016b40
commit 90e754349c
2 changed files with 8 additions and 8 deletions

View File

@ -421,7 +421,7 @@ void TStatSogxEta::stampa_sezione(TString16 codsez, TString16 codsot)
{
rigatotali.aggiorna_valore(j,riga[j]);
valore = "";
valore.format("%8d",riga[j].integer());
valore.format("%8s",riga[j].string(8,0));
rigastampa.overwrite((const char*)valore, pos);
pos=pos+10;
if (totalefascia != ZERO)
@ -444,7 +444,7 @@ void TStatSogxEta::stampa_sezione(TString16 codsez, TString16 codsot)
if (totalefascia != ZERO)
{
valore = "";
valore.format("%8d",totalefascia.integer());
valore.format("%8s",totalefascia.string(8,0));
rigastampa.overwrite((const char*)valore, pos);
pos=pos+10;
if (totalegenerale != ZERO)
@ -476,7 +476,7 @@ void TStatSogxEta::stampa_sezione(TString16 codsez, TString16 codsot)
{
totale+=rigatotali[i];
valore = "";
valore.format("%8d",rigatotali[i].integer());
valore.format("%8s",rigatotali[i].string(8,0));
rigastampa.overwrite((const char*)valore, pos);
pos=pos+16;
if (totalegenerale != ZERO)
@ -489,7 +489,7 @@ void TStatSogxEta::stampa_sezione(TString16 codsez, TString16 codsot)
pos = pos+6;
}
valore = "";
valore.format("%8d",totale.integer());
valore.format("%8s",totale.string(8,0));
rigastampa.overwrite((const char*)valore, pos);
row.put((const char*) rigastampa);
printer().print(row);

View File

@ -501,12 +501,12 @@ void TMensileDonxGr::stampa_sezione(TString16 codsez, TString16 codsot)
rigatotali.aggiorna_valore(i,riga[i]);
totalemese+=riga[i];
valore = "";
valore.format("%8d",riga[i].integer());
valore.format("%8s",riga[i].string(8,0));
rigastampa.overwrite((const char*)valore, pos);
pos = pos+8;
}
valore = "";
valore.format("%8d",totalemese.integer());
valore.format("%8s",totalemese.string(8,0));
rigastampa.overwrite((const char*)valore, pos+4);
row.put((const char*) rigastampa);
printer().print(row);
@ -528,12 +528,12 @@ void TMensileDonxGr::stampa_sezione(TString16 codsez, TString16 codsot)
{
totalemese+=rigatotali[i];
valore = "";
valore.format("%8d",rigatotali[i].integer());
valore.format("%8s",rigatotali[i].string(8,0));
rigastampa.overwrite((const char*)valore, pos);
pos = pos+8;
}
valore = "";
valore.format("%8d",totalemese.integer());
valore.format("%8s",totalemese.string(8,0));
rigastampa.overwrite((const char*)valore, pos+4);
row.put((const char*) rigastampa);
printer().print(row);