1 message in org.openoffice.fr.progRe: barrer d'un croix une cellule
FromSent OnAttachments
aladdinJul 25, 2007 12:47 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: barrer d'un croix une celluleActions...
From:aladdin (alad@altern.org)
Date:Jul 25, 2007 12:47:06 am
List:org.openoffice.fr.prog

Bonjour,

Je tente de trouver la propriété, fonction, méthode ou l'objet qui permet de faire une croix (un grand X qui barre l'intérieur d'une cellule) dans une cellule.

Un petit exemple ;-)

Option Explicit

Sub Main Dim maCellule As Object

'http://api.openoffice.org/docs/common/ref/com/sun/star/table/BorderLine.html Dim maLigne as new com.sun.star.table.BorderLine

maCellule = thisComponent.Sheets(0).getCellRangeByName("A1")

'Ligne en noir maLigne.Color = RGB(0,0,0) 'Taille ligne 1/100 mm maLigne.OuterLineWidth = 60

'http://api.openoffice.org/docs/common/ref/com/sun/star/table/CellProperties.html maCellule.DiagonalBLTR = maLigne '/ maCellule.DiagonalTLBR = maLigne '\

End Sub