8 messages in org.openoffice.fr.progRe: [prog] Ecrire du texte dans une s...
FromSent OnAttachments
Tony GALMICHEJun 18, 2004 8:23 am 
Bernard MarcellyJun 19, 2004 1:01 am 
Agnès SimonetJun 19, 2004 1:56 am 
BobJun 19, 2004 2:33 am 
Tony GALMICHEJun 20, 2004 9:39 am 
Tony GALMICHEJun 20, 2004 9:40 am 
Agnès SimonetJun 21, 2004 10:08 am 
Tony GALMICHEJun 21, 2004 10:25 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] Ecrire du texte dans une section particulièreActions...
From:Tony GALMICHE (tony@tiscali.fr)
Date:Jun 20, 2004 9:39:55 am
List:org.openoffice.fr.prog

Bonjour Bernard,

Bernard Marcelly a écrit :

Après une recherche dans l'API et quelques essais j'ai une solution.

Supposons que oCursor est un curseur déjà créé sur le texte (oDoc.Text)

oCursor.gotoRange(oSection.Anchor.End, false) oDoc.Text.insertString(oCursor, "toto et tutu", FALSE)

Merci beaucoup, c'est exactement ce qu'il me manquait pour arriver à terminer le programme pour Bob, pour exporter des fichiers OOo dans Spip.

Bon week-end.

Tony