14 messages in org.openoffice.fr.prog[prog] Insertion texte dans tableau
FromSent OnAttachments
AlanJun 30, 2009 2:45 am 
Thibault VataireJun 30, 2009 3:47 am 
AlanJul 1, 2009 5:42 am 
Bernard MarcellyJul 2, 2009 2:18 am 
AlanJul 2, 2009 7:29 am 
Bernard MarcellyJul 2, 2009 2:18 pm 
AlanJul 3, 2009 12:29 am 
Thibault VataireJul 3, 2009 1:04 am.odt
AlanJul 6, 2009 12:26 am 
Thibault VataireJul 6, 2009 3:23 am 
AlanJul 6, 2009 6:29 am 
AlanJul 6, 2009 6:42 am 
AlanJul 7, 2009 3:26 am 
Thibault VataireJul 7, 2009 5:10 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:[prog] Insertion texte dans tableauActions...
From:Alan (alan@antsys.fr)
Date:Jun 30, 2009 2:45:56 am
List:org.openoffice.fr.prog

Bonjour,

j'ai un problème de mise en page lors de l'insertion de texte dans un tableau. Dans le code ci-dessous le texte est bien formaté jusqu'à la ligne "cellText = join(splitChamps, index_row - 1)" mais une fois inséré dans le tableau, le gras et les sauts de lignes ne sont plus du tout les mêmes.

For index_row = 1 to nb_row - 1 For index_col = 0 to nb_colonne - 1

Cell = Table.getCellByPosition(index_col,index_row)

dim splitChamps() as string splitChamps = split(listechamps(index_col), "@")

dim cellText as string cellText = join(splitChamps, index_row - 1)

Cell.setString(cellText)

Next index_col Next index_row

Qu'est ce que j'ai mal fait ? Existe-t-il une autre méthode ? Merci d'avance pour vos réponses, solutions ou aide.