function check_GALATEO_version(lo_versione_required : longint;mbox_caption : string;bo_halt_if_wrong : boolean) : boolean;

function set_universal_callback(setup_proc : setup_procedure_type;
chkm : {$ifdef PROVA}cl_check_memory_allocation{$else}pointer{$endif}) : boolean;

function GAL_browse_files(father : TForm;str_default_print_path : shortstring;var str_filename : shortstring) : boolean;
function GAL_browse_files_TField(father : TForm;str_default_print_path : shortstring;ff : TField) : boolean;

function GAL_open(father : TForm;str_db_alias : shortstring;str_caption,str_default_path : shortstring;
str_filename : string) : longint;

function GAL_get_print_style_anteprima(bo_anteprima : boolean) : longint;
// rende lo style per l'anteprima (SI/NO)

procedure GAL_close(i_job : longint);
function GAL_print(i_job : longint;lo_print_style : longint) : boolean;
function GAL_open_and_print_method(father : TForm;str_db_alias : shortstring;
str_caption,str_default_path,str_filename : shortstring;setup_method : setup_method_type;
lo_print_style : longint;i_numero_stampe : longint = 1;
str_runtime_load_filenames : string = '') : boolean;
function GAL_open_and_print_proc(father : TForm;str_db_alias : shortstring;
str_caption,str_default_path,str_filename : shortstring;setup_proc : setup_procedure_type;
lo_print_style : longint;i_numero_stampe : longint = 1;
str_runtime_load_filenames : string = '') : boolean;
// i_numero_stampe è il numero di distinte stampe che si vogliono eseguire; non è il numero di copie
// per ciascuna stampa sarà richiamata la SETUP_PROC, che dovrà dare indicazioni sulla stampa da eseguire

function GAL_genera_parm_protetto(str_parm : string) : string; // il parametro non avrà problemi anche se contiene virgole o altri caratteri speciali

function GAL_get_last_error(i_job : longint) : shortstring;

function GAL_set_textvar_value(i_job : longint;str_name,str_value : shortstring;bo_must_exist : boolean) : boolean;
function GAL_set_string_value(i_job : longint;str_name,str_value : ansistring;bo_must_exist : boolean) : boolean;
function GAL_set_asciizvar_value(i_job : longint;str_name : shortstring;lp_value : pchar;bo_must_exist : boolean) : boolean;
function GAL_set_textvar_listvalue(i_job : longint;str_name : shortstring;
tstr_list : TStrings;str_if_void : str_default_parm_type;bo_must_exist : boolean) : boolean;
function GAL_set_longint_value(i_job : longint;str_name : ansistring;lo_value : longint;bo_must_exist : boolean) : boolean;
function GAL_set_double_value(i_job : longint;str_name : ansistring;do_value : double;bo_must_exist : boolean) : boolean;

function GAL_set_option(i_job,i_page : longint;str_section : shortstring;i_option,i_value : longint) : boolean;
function GAL_set_obj_option(i_job : longint;str_obj_name : shortstring;i_option : longint;
lo_value : longint;bo_must_exist : boolean) : boolean;

function GAL_get_option(i_job,i_page : longint;str_section : shortstring;
lo_option : longint;var lo_value : longint) : boolean;
function GAL_get_obj_option(i_job : longint;str_obj_name : shortstring;
lo_option : longint;var lo_value : longint;bo_must_exist : boolean) : boolean;

function GAL_exists_section(i_job : longint;str_section : shortstring;var i_pagina_logica : longint) : boolean;
function GAL_exists_obj(i_job : longint;str_name : shortstring) : boolean;
function GAL_exists_parm(i_job : longint;str_name : shortstring) : boolean;

//function GAL_find_full_filename(str_default_path : string;var str_filename : string) : boolean;
function GAL_edit_report(father : TForm;str_default_print_path,str_report : string) : boolean;

function GAL_get_version : longint;
function GAL_get_version_signature(bo_one_line_only : boolean) : shortstring;

function GAL_get_descrizione(str_filename : ansistring) : ansistring;
function GAL_get_descrizione_path(str_filename : ansistring;str_default_path : ansistring;pt_bo_exists : GAL_boolean_punt = NIL) : ansistring;

aggiornato il 23/01/2010

home

scrivimi, se ti va