[api-dev] Re: Is LineEndName locale dependent?

2011-05-28 Thread Sophie

Hi Andrew,
On 23/05/2011 22:22, Andrew Douglas Pitonyak wrote:


I use English USA locale. Consider the following Calc macro that sets
line starts and line ends based on the name (which I assume is the
correct way to do this). Will this work in other languages such as
German, French, Russian, Polish, Chinese?


It works with a French version, the line and the extremities are drawn 
in red


Kind regards
Sophie

--
-
To unsubscribe send email to dev-unsubscr...@api.openoffice.org
For additional commands send email to sy...@api.openoffice.org
with Subject: help


[api-dev] Re: Is LineEndName locale dependent?

2011-05-25 Thread Bernard Marcelly

Hi,
My reply to [api-dev] seems lost, I send it again with copy to Andrew.
   Bernard

Message de Bernard Marcelly  date 2011-05-24 09:36 :

Hi Andrew,
Your code works with french locale.

If I create by hand such a line, inspection of properties LineEndName and
LineStartName also show the en-US name.

I modified your code using the french name:
oLine.LineStartName = "Double flèche"
This was accepted, and property LineStartName showed "Double Arrow".

Tested with OOo 3.3.0 en-US plus french langpack.

Bernard

Message de Andrew Douglas Pitonyak date 2011-05-23 21:22 :



I use English USA locale. Consider the following Calc macro that sets line
starts and line ends based on the name (which I assume is the correct way to do
this). Will this work in other languages such as German, French, Russian,
Polish, Chinese?






--
-
To unsubscribe send email to dev-unsubscr...@api.openoffice.org
For additional commands send email to sy...@api.openoffice.org
with Subject: help