Patch level : 12.0 1254
Files correlati : ve1.exe Commento: la stampa docmenti tagliava spazi nelle descrizioni lunghe
This commit is contained in:
parent
0630d48ddf
commit
4c87758908
@ -2646,7 +2646,8 @@ void TReport_book::define_frame(const TReport_rct& rr)
|
|||||||
long TReport_book::print_section(char type, int level)
|
long TReport_book::print_section(char type, int level)
|
||||||
{
|
{
|
||||||
long h = -3; // Hidden
|
long h = -3; // Hidden
|
||||||
TReport_section* rs = _report->find_section(type, level);
|
TReport_section* rs = _report->find_section(type, level);
|
||||||
|
|
||||||
if (rs != NULL)
|
if (rs != NULL)
|
||||||
h = print_section(*rs);
|
h = print_section(*rs);
|
||||||
return h;
|
return h;
|
||||||
|
@ -2175,14 +2175,14 @@ void TParagraph_string::tokenize()
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (add_now >= start)
|
if (add_now >= start)
|
||||||
{
|
{
|
||||||
const TString& tok = sub(start, add_now);
|
const TString& tok = sub(start, add_now);
|
||||||
tmp.add(tok);
|
tmp.add(tok);
|
||||||
tmp.rtrim(); // Preserva gli spazi iniziali dopo un a capo forzato da \n
|
tmp.rtrim(); // Preserva gli spazi iniziali dopo un a capo forzato da \n
|
||||||
start = add_now + (_str[add_now] <= ' ');
|
start = add_now + (_str[add_now] < ' ');
|
||||||
last_space = start;
|
last_space = start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tmp.rtrim();
|
tmp.rtrim();
|
||||||
TToken_string::operator=(tmp);
|
TToken_string::operator=(tmp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user