La commande WP Lire corps retourne la partie corps (body) du document 4D Write Pro docWP.
Cet élément peut ensuite être passé aux commandes :
Vous voulez copier le corps d'un document 4D Write Pro dans un autre document 4D Write Pro :
C_OBJET($bodySource;$rangeSource;$tempoc;$bodyTarget;$rangeTarget)
$bodySource:=WP Lire corps([TEMPLATES]WPtemplate)
$rangeSource:=WP Plage texte($bodySource;wk start text;wk end text)
$tempoc:=WP Nouveau($rangeSource)
$bodyTarget:=WP Lire corps([Docs]MyWPDoc)
$rangeTarget:=WP Plage texte($bodyTarget;wk start text;wk end text)
WP INSERER DOCUMENT($rangeTarget;$tempoc;wk replace)