Patch level : 12.00 1382
Files correlati : cg4.exe Bug : Commento: Ripristinaata stampa liquidazione in fondo al registro
This commit is contained in:
parent
f9c7dea6d8
commit
213b08a83e
@ -1994,8 +1994,8 @@ bool TPrinter::acrobatically_print_pdf(const TFilename& pdf) const
|
|||||||
bool TPrinter::auto_export(const TFilename& n)
|
bool TPrinter::auto_export(const TFilename& n)
|
||||||
{
|
{
|
||||||
TString ext = n.ext();
|
TString ext = n.ext();
|
||||||
if (ext.blank())
|
// if (ext.blank())
|
||||||
return false;
|
// return false;
|
||||||
ext.lower();
|
ext.lower();
|
||||||
|
|
||||||
if (ext == "pdf")
|
if (ext == "pdf")
|
||||||
@ -2007,7 +2007,7 @@ bool TPrinter::auto_export(const TFilename& n)
|
|||||||
if (ext.starts_with("xls"))
|
if (ext.starts_with("xls"))
|
||||||
return _txt.write_xls(n);
|
return _txt.write_xls(n);
|
||||||
|
|
||||||
if (ext == "txt")
|
if (ext == "txt" || ext.blank())
|
||||||
{
|
{
|
||||||
ofstream txt(n);
|
ofstream txt(n);
|
||||||
for (long i = 0; i < _txt.lines(); i++)
|
for (long i = 0; i < _txt.lines(); i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user