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:
parent
1559e8cdbf
commit
f7709fe6ab
@ -243,7 +243,7 @@ void TStampaPerCategorie::set_page(int file, int cnt)
|
||||
riga1.cut(_etlarghezza);
|
||||
int colonna = ((r-1)*_etlarghezza);
|
||||
TString16 formato;
|
||||
formato << '@' << colonna << "g";
|
||||
formato << '@' << colonna << 'g';
|
||||
riga1.insert(formato,0);
|
||||
set_row(i+1,riga1);
|
||||
}
|
||||
@ -258,10 +258,11 @@ void TStampaPerCategorie::set_page(int file, int cnt)
|
||||
TPrint_section& corpo = _form_per->get_body();
|
||||
force_setpage(TRUE);
|
||||
corpo.update();
|
||||
TString riga1;
|
||||
for (word i = 0; i < corpo.height(); i++)
|
||||
{
|
||||
TPrintrow& riga = corpo.row(i);
|
||||
TString256 riga1 = riga.row();
|
||||
riga1 = riga.row();
|
||||
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(2,"@9g@S",FLD(LF_SOGGETTI,SOG_NOME));
|
||||
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(2,"@35g#a", &_dencom);
|
||||
@ -462,13 +464,13 @@ void TStampaPerCategorie::header_sezione(const TString16 codsez, const TString16
|
||||
TString intestazione(132);
|
||||
intestazione = "Sezione: ";
|
||||
intestazione << codsez;
|
||||
intestazione << "/";
|
||||
intestazione << '/';
|
||||
intestazione << codsot;
|
||||
intestazione << " ";
|
||||
intestazione << ' ';
|
||||
intestazione << densez;
|
||||
if ((densot.ok())&& (densot.not_empty()))
|
||||
{
|
||||
intestazione << "/";
|
||||
intestazione << '/';
|
||||
intestazione << densot;
|
||||
}
|
||||
if (_stampa80)
|
||||
@ -485,23 +487,24 @@ bool TStampaPerCategorie::preprocess_page(int file, int counter)
|
||||
if (_tipostampa==sintetico||_tipostampa==completo)
|
||||
{
|
||||
TString80 nome = recsog.get(SOG_COGNOME);
|
||||
nome << " ";
|
||||
nome << ' ';
|
||||
nome << recsog.get(SOG_NOME);
|
||||
_cognome_nome = nome;
|
||||
TString256 localita = "";
|
||||
localita << current_cursor()->curr(-ALIAS_LCPDOM).get("S6");
|
||||
if (localita.not_empty() && localita.ok())
|
||||
{
|
||||
localita << " ";
|
||||
localita << ' ';
|
||||
localita << current_cursor()->curr(-ALIAS_LCPDOM).get("S0");
|
||||
localita << " - ";
|
||||
}
|
||||
else
|
||||
{
|
||||
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_PROVCOM);
|
||||
localita.trim();
|
||||
_dencom = localita;
|
||||
// cerco ultima benemerenza
|
||||
|
Loading…
x
Reference in New Issue
Block a user