3 messages in org.openoffice.fr.prog[prog] RE : [prog] alignement vertica...
FromSent OnAttachments
mpru...@elv.enic.frJul 1, 2004 3:36 am 
michel tanguyJul 1, 2004 1:58 pm 
michel tanguyJul 1, 2004 9:10 pm 
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] RE : [prog] alignement vertical en haut dans un tableauActions...
From:michel tanguy (bugb@club-internet.fr)
Date:Jul 1, 2004 9:10:59 pm
List:org.openoffice.fr.prog

Rebonjour

Oouuppss... Apparamment j'ai eu un petit soucis de saut de ligne lors de l'envoi de mon premier message ... Nouvelle tentative ...

option explicit Sub AlignementDansCelluleA1 Dim oDocument As Object,oCell As Object oDocument=ThisComponent.Sheets.getByName("Feuille1") oCell=oDocument.getCellByPosition(0,0) oCell.VertJustify = com.sun.star.table.CellVertJustify.TOP 'pour info 'oCell.VertJustify = com.sun.star.table.CellVertJustify.BOTTOM 'oCell.VertJustify = com.sun.star.table.CellVertJustify.CENTER 'oCell.HoriJustify = com.sun.star.table.CellHoriJustify.LEFT 'oCell.HoriJustify = com.sun.star.table.CellHoriJustify.RIGHT 'oCell.HoriJustify = com.sun.star.table.CellHoriJustify.CENTER End Sub

Bonne journée michel

-----Message d'origine----- De : michel tanguy [mailto:bugb@club-internet.fr] Envoyé : jeudi 1 juillet 2004 22:59 À : 'pr@fr.openoffice.org' Objet : RE : [prog] alignement vertical en haut dans un tableau

Bonsoir Mélanie

Tu peux essayer

option explicit Sub AlignementDansCelluleA1 Dim oDocument As Object,oCell As Object oDocument=ThisComponent.Sheets.getByName("Feuille1") oCell=oDocument.getCellByPosition(0,0)'cellule A1 oCell.VertJustify = com.sun.star.table.CellVertJustify.TOP 'pour info 'oCell.VertJustify = com.sun.star.table.CellVertJustify.BOTTOM 'oCell.VertJustify = com.sun.star.table.CellVertJustify.CENTER 'oCell.HoriJustify = com.sun.star.table.CellHoriJustify.LEFT 'oCell.HoriJustify = com.sun.star.table.CellHoriJustify.RIGHT 'oCell.HoriJustify = com.sun.star.table.CellHoriJustify.CENTER End Sub

Bonne soirée michel

-----Message d'origine----- De : mpru@elv.enic.fr [mailto:mpru@elv.enic.fr] Envoyé : jeudi 1 juillet 2004 12:37 À : pr@fr.openoffice.org Objet : [prog] alignement vertical en haut dans un tableau

Bonjour,

Comment puis-je dans mon tableau faire en sorte que les cellules ont un alignement vertical en haut. Cette propriété est présente dans la boite de dialogue "format d'un tableau" mais lors de l'enregistrement de ma macro, cette propriété n'est pas enregistrée. Comment puis-je coder cette propriété??

Merci,

Cordialement, Mélanie Prudhon.