Thanks for the example which led me to the solution.
The key is to use exactly the right name.
In the call to oDoc.createInstance  I was using 
"com.sun.star.text.textfield.PageNumber" when I should have used 
"com.sun.star.text.TextField.PageNumber".
I was misled by the Developers Guide sec 8.3.5 pages 591/592 which spells 
textfield all in lower case.

Thanks for your help
Dave 




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

Reply via email to