1 message in org.openoffice.fr.progOuvrir calc dans une form Windows App...
FromSent OnAttachments
Paul VeuveOct 14, 2007 11:29 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:Ouvrir calc dans une form Windows Application DotNetActions...
From:Paul Veuve (vep@cdisa.ch)
Date:Oct 14, 2007 11:29:26 am
List:org.openoffice.fr.prog

Bonjour,

Je cherche à ouvrir calc sur la même base que le code ci-après mais dans la fenêtre de l'application appelante et non dans un nouvelle fenêtre calc.

Est-ce possible ?

Quel est la methode ?.

Code: m_xContext = Bootstrap.bootstrap(); m_xMSFactory = (XMultiServiceFactory)m_xContext.getServiceManager(); m_xComponentLoader = (XComponentLoader)

m_xMSFactory.createInstance("com.sun.star.frame.Desktop"); try { m_xComponent = m_xComponentLoader.loadComponentFromURL ( "file:///C:/tmp/one.ods", "_blank", 0, new PropertyValue[0] ); }

Merce pour votre aide.

Salutations.

------------------------------ Paul Veuve vep@cdisa.ch

------------------------------ CDI CONSEILS ET DEVELOPPEMENTS INDUSTRIELS SA Chemin de la Justice 15 CH-2000 NEUCHATEL

------------------------------ http://www.cdisa.ch

Phone (+41 32) 733 31 31 or (+41 78) 600 31 31

Fax (+41 32) 733 31 32