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]

Reply via email to