You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Антон Борисов <an...@gmail.com> on 2013/03/05 01:37:46 UTC

UserDefinedAttributes

While developing Draw Addon i'm having problem:
In Draw when i create Shape it have property UserDefinedAttributes contains
XNameContainer, when i create Shape using XMultiServiceFactory his
XPropertySet getPropertyValue("UserDefinedAttributes") returns
Any[Type[void], null]  What i'm doing wrong? How to instantiate this
property?

-- 
Борисов Антон

Re: UserDefinedAttributes

Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi Антон,

On Tue, Mar 05, 2013 at 04:37:46AM +0400, Антон Борисов wrote:
> While developing Draw Addon i'm having problem:
> In Draw when i create Shape it have property UserDefinedAttributes contains
> XNameContainer, when i create Shape using XMultiServiceFactory his
> XPropertySet getPropertyValue("UserDefinedAttributes") returns
> Any[Type[void], null]  What i'm doing wrong? How to instantiate this
> property?

First, you have to add the shape to the draw page.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina