Hello,

If you want to use enum names, perhaps this will help you:

http://www.oooforum.org/forum/viewtopic.phtml?t=11922

--
Noelson


----- Original Message ----- 
From: "Bernard Marcelly" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, February 27, 2008 10:19 AM
Subject: Re: [api-dev] Enums and COM/Automation


> Message de Dmitry Teslenko  date 2008-02-27 13:39 :
> > Hello!
> >
> > How can one use enums through COM/Automation interface?
> > Is there 1) any constructor for enum members(just like
> > Bridge_GetStruct for structs, that I've been recently advised to
use)
> > or 2) is there a way to evaluate member values?
>
> Hi,
> the simplest way to find the value is to use a simple Basic program.
> Example :
>
> Sub Main
>    print com.sun.star.sheet.Border.LEFT
> End Sub
>
> You must respect upper and lowercase for the enum.
>
> ______
> Bernard
>
> --------------------------------------------------------------------
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.21.1/1300 - Release Date:
26/2/2008 19:50
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to