On Sun, Jun 3, 2012 at 5:33 AM, jianlizhao <jianlizh...@hotmail.com> wrote:
> 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?

I haven't verify it, but my guess it would be odg. Or OpenOffice Draw.
Which is an SVG-like format.


>
>
> Look forward  your reply.
> Best Regards!
>
>

Reply via email to