PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2025 → Export memo texte WDMAP
Export memo texte WDMAP
Iniciado por isa_loyer, 12,jun. 2019 12:21 - 2 respuestas
Publicado el 12,junio 2019 - 12:21
Bonjour,
Lorsque j'utilise WDMAP pour exporter des champs de type Memo texte, je récupére aussi le formatage du texte du type '{\rtf1\ansi\ansicpg1252\deff0\deflang1036{\fonttbl{\f0\fswiss\fprq2\fcharset0 Microsoft Sans Serif;}} {\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\f0\fs18' ....
Comment faire pour ne récupérer que le texte brut (ie sans formatage.
Merci par avance.
Publicado el 12,junio 2019 - 17:01
Bonjour, ce que tu décris est du RTF (texte formaté). Pour le lire sans ce formatage, il faut utiliser la fonction RTFVersTexte().

Bonne journée
Miembro registrado
1.330 mensajes
Publicado el 12,junio 2019 - 17:08
Salut Isabelle,

Visiblement c'est du RTF, donc utilise RTFVersTexte()

https://doc.pcsoft.fr/fr-FR/?3025032

Bon Dev
Cordialement

--
http://www.concept4u2.com