On 10/23/09 11:47, Etienne Gaudrain wrote:
After a few more attempts, its seems that:

xMasterPropSet.setPropertyValue("Content", "Toto")

works perfectly fine.
So this is the use of "Name" as a property that is not allowed in setPropertyValue.

Each UNO object implementing XPropertySet has its own rules what kinds of property names (and corresponding values) it supports. It might well be that a com.sun.star.text.FieldMaster.User does not support a "Name" property, but I do not know (offapi/com/sun/star/text/fieldmaster/User.idl says that it inherits from offapi/com/sun/star/text/TextFieldMaster.idl, which only has an optional Name property, so that might give a clue). d...@api.openoffice.org would be the right mailing list for such questions.

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@udk.openoffice.org
For additional commands, e-mail: dev-h...@udk.openoffice.org

Reply via email to