4 messages in org.openoffice.fr.progRe: [prog] Pilotage de Calc avec VBSc...
FromSent OnAttachments
Patrice AGUILHONAug 27, 2004 1:18 am 
Laurent GodardAug 27, 2004 1:30 am 
Patrice AGUILHONAug 27, 2004 2:12 am 
Laurent GodardAug 27, 2004 3:00 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] Pilotage de Calc avec VBScript sous WindowsActions...
From:Laurent Godard (list@wanadoo.fr)
Date:Aug 27, 2004 1:30:05 am
List:org.openoffice.fr.prog

Bonjour patrice,

Bienvenue

rem partie qui est en erreur rem TheSize as new com.sun.star.awt.Size rem TheSize.width=1440 rem TheSize.height=1440

comme dit precedemment regarde dans le SDK l'exemple de VBScript tu devrais trouver ton bonheur

la structure nommée .awt.size n'est pas directement accessible depuis VBS

Set objSize= createStruct("com.sun.star.awt.Size")

Function createStruct( strTypeName) Set classSize= objCoreReflection.forName( strTypeName) Dim aStruct classSize.createObject aStruct Set createStruct= aStruct End Function

laurent