Patch level : 12.0 1086

Files correlati     : nopatch
Commento        :

Aggiunte funzioni ai report

Immagini da oggetti esterni
sintassi da mettere nel prescript del campo immagine :
<Id oggetto>
<nome del campo oggetti esterni>
<chiave>
<file>
GOLEM
#THIS !

Logo della ditta
sintassi da mettere nel prescript del campo immagine :
LOGO
#THIS !

L'Id dell'immagine deve essere LOGO
This commit is contained in:
Alessandro Bonazzi 2021-10-08 22:30:54 +02:00
parent 3e8927c381
commit 61beca0f38
2 changed files with 17 additions and 0 deletions

View File

@ -376,6 +376,22 @@ const char * get_system_dir(TSystem_dirs what)
return dir;
}
const char * standard_path_list()
{
TToken_string & pl = get_tmp_string(128);
pl.add("custom"); // c:/campo32/custom
if (prefix_valid())
{
TFilename n;
n = firm2dir(prefix().get_codditta()); n.add("custom");
pl.add(n); // f:/campo32/dati/00001A/custom
n = firm2dir(-1); n.add("custom");
pl.add(n); // f:/campo32/dati/custom
}
return pl;
}
bool sirio_codesigning(const TFilename& filename, bool verify)
{
// const char * const default_sign = R"("C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64\signtool.exe" sign /a /s MY /n "Sirio Informatica e Sistemi SPA" /fd sha256 /tr http://timestamp.digicert.com /v)";

View File

@ -79,6 +79,7 @@ int count_files(const char* dir, bool subdirs);
int list_files(const char* mask, TString_array& result);
bool input_filename(TFilename& file);
const char * get_system_dir(TSystem_dirs what);
const char * standard_path_list();
const char* encode(const char* data);
const char* decode(const char* data);