ImportByFormatDef (rtl)

De Wiki1000
(Différences entre les versions)
Ligne 1 : Ligne 1 :
 +
 
<source lang="delphi">Procedure IntegrateByFormatDef(const aCodeFormat:string; const aData:TStrings; aRefObject:TitObject; const aLogLevel:FormatLogLevel);</source>
 
<source lang="delphi">Procedure IntegrateByFormatDef(const aCodeFormat:string; const aData:TStrings; aRefObject:TitObject; const aLogLevel:FormatLogLevel);</source>
  
Cette méthode permet d'importer un fichier en utilisant un format.
+
description
  
 
{|class="wikitable"
 
{|class="wikitable"
 
|-
 
|-
 
|aCodeFormat
 
|aCodeFormat
|Code du format à utiliser pour l'import.
+
|
 
|-
 
|-
 
|aData
 
|aData
|Contenu du fichier à importer.
+
|
 
|-
 
|-
 
|aRefObject
 
|aRefObject
|Objet racine tous les objets qui seront créés.
+
|
 
|-
 
|-
 
|aLogLevel
 
|aLogLevel
|Niveau de journalisation.
+
|
 
|}
 
|}
 
Le journal généré se situe dans répertoire [container L1000]/logs
 
 
Trois niveaux de journalisation sont possibles :
 
 
*Format_Log_Level_None
 
:aucune trace
 
*Format_Log_Level_Data_Errors
 
:trace les erreurs d'accès au données (formule erronée...) utile pour la mise au point des nouveaux formats
 
*Format_Log_Level_Verbose
 
:trace l'exploration du fichier / du modèle (trace importante en taille) + Format_Log_Level_Data_Errors
 
  
 
Exemple
 
Exemple
Ligne 40 : Ligne 30 :
 
{{Footer|Développement DSM}}
 
{{Footer|Développement DSM}}
 
[[category:RTL Framework]]
 
[[category:RTL Framework]]
[[Category:RTL Format de fichier]]
 

Version du 27 juin 2011 à 16:24

Procedure IntegrateByFormatDef(const aCodeFormat:string; const aData:TStrings; aRefObject:TitObject; const aLogLevel:FormatLogLevel);

description

aCodeFormat
aData
aRefObject
aLogLevel

Exemple

begin
end;

Voir aussi:

Développement DSMDéveloppement DSM





Whos here now:   Members 0   Guests 0   Bots & Crawlers 1
 
Outils personnels