2 messages in org.openoffice.fr.prog[prog] VBscript: pb saut de page
FromSent OnAttachments
yannick privateApr 22, 2004 5:22 am 
yannick privateApr 23, 2004 2:49 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] VBscript: pb saut de pageActions...
From:yannick private (nna@hotmail.com)
Date:Apr 23, 2004 2:49:01 am
List:org.openoffice.fr.prog

Bonjour,

que mettre après ce code, qui ouvre un document et insère une ligne, pour obtenir un SAUT DE PAGE??

'ouverture du document

'Create the Desktop Set objDesktop= objServiceManager.createInstance("com.sun.star.frame.Desktop")

'Open a new empty writer document Dim args1() Set objDocument= objDesktop.loadComponentFromURL("private:factory/swriter", "_blank", 0, args1)

'Create a text object Set objText= objDocument.getText

'Create a cursor object Set objCursor= objText.createTextCursor

objText.insertString objCursor, "The first line in the newly created text document." & vbLf, false

Merci

Yannick