Le [[https://en.wikipedia.org/wiki/Computer_output_to_laser_disc|COLD]] est le module EzGED chargé d'extraire les données d'un document. ====== DOCUMENTATION ====== *[[cold:lanceur|Lanceurs. ]] *[[cold:apprentissage | Centre d'apprentissage. ]] *[[cold:indexeur | Détails sur le fonctionnement de l'indexeur tous formats. ]] *[[cold:fond_de_page | Fond de page PDF. ]] ====== TUTORIAUX ====== * [[cold:tutoriaux:regex|Expressions rationnelles]] * [[cold:tutoriaux:dates | Date d'échéance ]] Calculer une date d'échéance à partir d'une autre. * [[doc:admin:cold:indexeur#indexation_et_ezged_one|Tutoriel 2]] : Indexation tous formats avec structure de listes (parfois appelée EzGED One). * [[doc:admin:cold:export_xml|Tuto export xml]] : Exporter des enregistrements dans des fichiers xml, à partir d'une requête ou depuis un scénario Cold ====== REFERENCES ====== ===== Scripts (étapes) ===== ^ Nom ^ Description ^ Fichier source ^ | [[cold:scripts:multilineupdate | MAJ multi-lignes ]] | Mise-à-jour de plusieurs lignes sur un champ | multilineupdate.py | ===== Apprentissage : macros ===== ==== Filtre de champ ==== ==== Post formatage ==== * [[cold:reference:coldfldformat:self|@self]] * [[cold:reference:groupname|@]] (variable de capture dans une expression rationnelle) * [[cold:reference:coldfldformat:getinlist|@getinlist]] * [[cold:reference:coldfldformat:getbestinlist|@getbestinlist]] * [[cold:reference:coldfldformat:getfromdatasource|@getfromdatasource]] {{wiki:icons:info.png}} Les macros qui suivent sont également utilisables dans le champ des fonctions avancées. * [[cold:reference:coldfldformat:caststr|@caststr]] * [[cold:reference:coldfldformat:concat|@concat]] * [[cold:reference:coldfldformat:concatdate|@concatdate]] * [[cold:reference:coldfldformat:int2month|@int2month]] * [[cold:reference:coldfldformat:int2day|@int2day]] * [[cold:reference:coldfldformat:keepdigits|@keepdigits]] * [[cold:reference:coldfldformat:monthint|@monthint]] * [[cold:reference:coldfldformat:Smartdate|@Smartdate]] * [[cold:reference:coldfldformat:Smartfloat|@Smartfloat]] {{wiki:icons:info.png}} A ces macros de post formatage s'ajoutent celles définies spécifiquement pour l'instance de EzGED. ==== Fonctions avancées ==== * [[cold:reference:groupname|@]] (variable de capture dans une expression régulière) * [[cold:reference:coldfldextra:fld|@FLD]] (référence à un champ d'analyse COLD) Informations sur le document ou les pages: * [[cold:reference:coldfldextra:nbpagetotal|@nbpagetotal]] * [[cold:reference:coldfldextra:filename|@filename]] * [[cold:reference:coldfldextra:filedate|@filedate]] * [[cold:reference:coldfldextra:page|@page]] * [[cold:reference:coldfldextra:dir|@dir]] * [[cold:reference:coldfldextra:jobid|@jobid]] * [[cold:reference:coldfldextra:docid|@docid]] Récupération de montants: * [[cold:reference:coldfldextra:totalttc|@totalttc]] * [[cold:reference:coldfldextra:totalht|@totalht]] * [[cold:reference:coldfldextra:totaltva|@totaltva]] Récupération de dates: * [[cold:reference:coldfldextra:firstdate|@firstdate]] * [[cold:reference:coldfldextra:firstdateindoc|@firstdateindoc]] * [[cold:reference:coldfldextra:middledate|@middledate]] * [[cold:reference:coldfldextra:lastdate|@lastdate]] * [[cold:reference:coldfldextra:week|@week]] * [[cold:reference:coldfldextra:year|@year]] * [[cold:reference:coldfldextra:dateecheance | @dateecheance ]] Autre: * [[cold:reference:coldfldextra:dss4|@DSS4]] * [[cold:reference:coldfldextra:tag|@TAG]] * [[cold:reference:coldfldextra:olitouch|@OLITOUCH]] * [[cold:reference:coldfldextra:addulacthasar|@adullacthasar]] * [[cold:reference:coldfldextra:adullactsendtdt|@adullactsendtdt]] * [[cold:reference:coldfldextra:adullactobjet|@adullactobjet]] * [[cold:reference:coldfldextra:adullactsigned|@adullactsigned]] * [[cold:reference:coldfldextra:adullactheliosnature|@adullactheliosnature]] * [[cold:reference:coldfldextra:adullactclassniv|@adullactclassniv]] * [[cold:reference:coldfldextra:adullactchorusnumpiece|@adullactchorusnumpiece]] * [[cold:reference:coldfldextra:adullactchorusdatepiece|@adullactchorusdatepiece]] * [[cold:reference:coldfldextra:adullactchorustotalttc|@adullactchorustotalttc]] * [[cold:reference:coldfldextra:adullactchorustotalht|@adullactchorustotalht]] * [[cold:reference:coldfldextra:adullactchorustotaltva|@adullactchorustotaltva]] * [[cold:reference:coldfldextra:adullactsociety|@adullactsociety]] * [[cold:reference:coldfldextra:adullactsocietyid|@adullactsocietyid]] * [[cold:reference:coldfldextra:adullactsocietysiren|@adullactsocietysiren]] * [[cold:reference:coldfldextra:adullactsocietysiret|@adullactsocietysiret]] * [[cold:reference:coldfldextra:adullactsocietynumtva|@adullactsocietynumtva]] * [[cold:reference:coldfldextra:adullactchorusfactid|@adullactchorusfactid]] * [[cold:reference:coldfldextra:adullactchorusengagement|@adullactchorusengagement]] * [[cold:reference:coldfldextra:adullactchorusmarche|@adullactchorusmarche]] * [[cold:reference:coldfldextra:mailfrom|@mailfrom]] //(alias: @mailde)// * [[cold:reference:coldfldextra:mailto|@mailto]] //(alias: @maila)// * [[cold:reference:coldfldextra:mailcc|@mailcc]] * [[cold:reference:coldfldextra:maildate|@maildate]] * [[cold:reference:coldfldextra:mailsubject|@mailsubject]] //(alias: @mailtitle, @mailtitre, @mailsujet)// * [[cold:reference:coldfldextra:after|@after]] * [[cold:reference:coldfldextra:between|@between]] * [[cold:reference:coldfldextra:relativeto|@relativeto]] * [[cold:reference:coldfldextra:cmp_levenshtein|@cmp_levenshtein]] * [[cold:reference:coldfldextra:taux_levenshtein|@taux_levenshtein]] * [[cold:reference:coldfldextra:or|@or]] * [[cold:reference:coldfldextra:condition|@condition]] * [[cold:reference:coldfldextra:alternative|@alternative]] * [[cold:reference:coldfldextra:society|@society]] * [[cold:reference:coldfldextra:societynotwww|@societynotwww]] * [[cold:reference:coldfldextra:separator|@separator]] //(alias: @separateur)// * [[cold:reference:coldfldextra:nom_passeport|@nom_passeport]] * [[cold:reference:coldfldextra:nom_passeport|@nom_passeport]] Il est également possible d'utiliser comme macro des fonctions définies dans le module python coldext_local.py