2 messages in org.openoffice.fr.progRe: [prog][writer][macro] - Nombre de...
FromSent OnAttachments
Jérôme GUENVERMay 22, 2006 1:32 am 
Laurent GodardMay 22, 2006 8:40 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][writer][macro] - Nombre de pageActions...
From:Laurent Godard (lgod@indesko.com)
Date:May 22, 2006 8:40:39 am
List:org.openoffice.fr.prog

Bonjour Jerome

Je cherche a récuperer le nombre de pages d'un document writer et également me positionner sur une certaine page grâce à des macros.

Est ce que quelqu'un a une idée sur comment réaliser ceci ?

regarde du coté du ViewCursor http://api.openoffice.org/docs/common/ref/com/sun/star/text/XTextViewCursorSupplier.html#getViewCursor

oViewCursor = oDocument.getCurrentController().ViewCursor livre page 232

Laurent