Bonjour

Peut-être est-il possible d'éditer directement ce champ avec une macro?
Mais je ne sais pas comment faire...

sub testAuteur
  mesInfos = thisComponent.documentInfo
  print mesInfos.Author
  mesInfos.Author = InputBox("Nouveau nom ?")
  print mesInfos.Author
end sub

regarder du coté de
http://api.openoffice.org/docs/common/ref/com/sun/star/document/DocumentInfo.html

tu peux venir sur la liste [email protected] pour tout question relative à l'api de OOo

cordialement

Laurent

--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org
Indesko >> http://www.indesko.com
Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org
Livre "Programmation OpenOffice.org", Eyrolles 2004

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Répondre à