ba0.cpp Controllate le estensioni del paragrafo Links
bacnv.cpp Tolti casi particolari su LF_OCCAS ed altri file di ditta git-svn-id: svn://10.65.10.50/trunk@5667 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
42f44f1d9e
commit
185fb663f3
@ -1455,10 +1455,13 @@ bool TMenu_application::choose_editors()
|
|||||||
FOR_EACH_ASSOC_STRING(var, obj, key, str)
|
FOR_EACH_ASSOC_STRING(var, obj, key, str)
|
||||||
{
|
{
|
||||||
TToken_string& row = sheet.row(-1);
|
TToken_string& row = sheet.row(-1);
|
||||||
|
if (strlen(key) <= 3)
|
||||||
|
{
|
||||||
row = key;
|
row = key;
|
||||||
row.lower();
|
row.lower();
|
||||||
row.add(str);
|
row.add(str);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
sheet.rows_array().sort();
|
sheet.rows_array().sort();
|
||||||
|
|
||||||
if (m.run() == K_ENTER)
|
if (m.run() == K_ENTER)
|
||||||
|
@ -1557,17 +1557,12 @@ void TConversione_archivi::convert_cap() const
|
|||||||
|
|
||||||
TString msg;
|
TString msg;
|
||||||
TToken_string com_cap(15, ',');
|
TToken_string com_cap(15, ',');
|
||||||
|
|
||||||
lf.format("%sstd/bacnv16d.txt", __ptprf);
|
lf.format("%sstd/bacnv16d.txt", __ptprf);
|
||||||
TScanner scan16d(lf);
|
TScanner scan16d(lf);
|
||||||
for (line = scan16d.line(); line.not_empty(); line = scan16d.line())
|
for (line = scan16d.line(); line.not_empty(); line = scan16d.line())
|
||||||
{
|
{
|
||||||
const TString16 cod = line.get(0);
|
const TString16 cod = line.get(0);
|
||||||
const int logicnum = atoi(cod);
|
const int logicnum = atoi(cod);
|
||||||
if (_codditta == 0L && logicnum == LF_OCCAS) // Il file degli occasionali non puo' essere comune
|
|
||||||
continue;
|
|
||||||
if (_codditta > 0L && logicnum <= LF_UNLOC) // Una volta iniziata la conversione ditte si possono saltare i files comuni
|
|
||||||
continue;
|
|
||||||
TLocalisamfile* file = NULL;
|
TLocalisamfile* file = NULL;
|
||||||
if (logicnum > 0)
|
if (logicnum > 0)
|
||||||
file = new TLocalisamfile(logicnum);
|
file = new TLocalisamfile(logicnum);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user