Hello my friend: User Defined Attributes in OpenOffice.org as below:
userAttrs = oShape.getPropertyValue( "UserDefinedAttributes" ) myAttr = uno.createUnoStruct( "com.sun.star.xml.AttributeData" ) myAttr.Type = "CDATA" myAttr.Value = "test" userAttrs.insertByName( "url", myAttr ) oShape.UserDefinedAttributes = myAttr my question is 1) myAttr.Value maybe a url. example: c:\mystyle.zip or c:\mystyle.css. 2) If the first one was established。 What is the file extension type? Look forward your reply. Best Regards!
