Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            : Sostituito " " con ' '


git-svn-id: svn://10.65.10.50/trunk@6627 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
cris 1998-05-11 09:46:37 +00:00
parent 1559e8cdbf
commit f7709fe6ab

View File

@ -243,7 +243,7 @@ void TStampaPerCategorie::set_page(int file, int cnt)
riga1.cut(_etlarghezza); riga1.cut(_etlarghezza);
int colonna = ((r-1)*_etlarghezza); int colonna = ((r-1)*_etlarghezza);
TString16 formato; TString16 formato;
formato << '@' << colonna << "g"; formato << '@' << colonna << 'g';
riga1.insert(formato,0); riga1.insert(formato,0);
set_row(i+1,riga1); set_row(i+1,riga1);
} }
@ -258,10 +258,11 @@ void TStampaPerCategorie::set_page(int file, int cnt)
TPrint_section& corpo = _form_per->get_body(); TPrint_section& corpo = _form_per->get_body();
force_setpage(TRUE); force_setpage(TRUE);
corpo.update(); corpo.update();
TString riga1;
for (word i = 0; i < corpo.height(); i++) for (word i = 0; i < corpo.height(); i++)
{ {
TPrintrow& riga = corpo.row(i); TPrintrow& riga = corpo.row(i);
TString256 riga1 = riga.row(); riga1 = riga.row();
set_row(i+1,riga1); set_row(i+1,riga1);
} }
@ -385,6 +386,7 @@ void TStampaPerCategorie::set_page(int file, int cnt)
set_row(1,"@9g@S",FLD(LF_SOGGETTI,SOG_COGNOME)); set_row(1,"@9g@S",FLD(LF_SOGGETTI,SOG_COGNOME));
set_row(2,"@9g@S",FLD(LF_SOGGETTI,SOG_NOME)); set_row(2,"@9g@S",FLD(LF_SOGGETTI,SOG_NOME));
set_row(3,"@9g@ld", FLD(LF_SOGGETTI,SOG_DATANASC)); set_row(3,"@9g@ld", FLD(LF_SOGGETTI,SOG_DATANASC));
set_row(4,"@9g@S", FLD(-ALIAS_COMNAS,COM_DENCOM));
set_row(1,"@35g@S", FLD(LF_SOGGETTI,SOG_DOM_INDIR)); set_row(1,"@35g@S", FLD(LF_SOGGETTI,SOG_DOM_INDIR));
set_row(2,"@35g#a", &_dencom); set_row(2,"@35g#a", &_dencom);
@ -462,13 +464,13 @@ void TStampaPerCategorie::header_sezione(const TString16 codsez, const TString16
TString intestazione(132); TString intestazione(132);
intestazione = "Sezione: "; intestazione = "Sezione: ";
intestazione << codsez; intestazione << codsez;
intestazione << "/"; intestazione << '/';
intestazione << codsot; intestazione << codsot;
intestazione << " "; intestazione << ' ';
intestazione << densez; intestazione << densez;
if ((densot.ok())&& (densot.not_empty())) if ((densot.ok())&& (densot.not_empty()))
{ {
intestazione << "/"; intestazione << '/';
intestazione << densot; intestazione << densot;
} }
if (_stampa80) if (_stampa80)
@ -485,23 +487,24 @@ bool TStampaPerCategorie::preprocess_page(int file, int counter)
if (_tipostampa==sintetico||_tipostampa==completo) if (_tipostampa==sintetico||_tipostampa==completo)
{ {
TString80 nome = recsog.get(SOG_COGNOME); TString80 nome = recsog.get(SOG_COGNOME);
nome << " "; nome << ' ';
nome << recsog.get(SOG_NOME); nome << recsog.get(SOG_NOME);
_cognome_nome = nome; _cognome_nome = nome;
TString256 localita = ""; TString256 localita = "";
localita << current_cursor()->curr(-ALIAS_LCPDOM).get("S6"); localita << current_cursor()->curr(-ALIAS_LCPDOM).get("S6");
if (localita.not_empty() && localita.ok()) if (localita.not_empty() && localita.ok())
{ {
localita << " "; localita << ' ';
localita << current_cursor()->curr(-ALIAS_LCPDOM).get("S0"); localita << current_cursor()->curr(-ALIAS_LCPDOM).get("S0");
localita << " - "; localita << " - ";
} }
else else
{ {
localita = current_cursor()->curr(LF_COMUNI).get(COM_CAPCOM); localita = current_cursor()->curr(LF_COMUNI).get(COM_CAPCOM);
localita << " "; localita << ' ';
} }
localita << current_cursor()->curr(LF_COMUNI).get(COM_DENCOM); localita << current_cursor()->curr(LF_COMUNI).get(COM_DENCOM);
localita << ' ' << current_cursor()->curr(LF_COMUNI).get(COM_PROVCOM);
localita.trim(); localita.trim();
_dencom = localita; _dencom = localita;
// cerco ultima benemerenza // cerco ultima benemerenza