incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandro Colorado <...@oooes.org>
Subject Re: Custom Attributes on Shapes ( Writer)?
Date Sun, 03 Jun 2012 11:07:23 GMT
On Sun, Jun 3, 2012 at 5:33 AM, jianlizhao <jianlizhao6@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!
>
>

Mime
View raw message