Paolo Mantovani wrote:
>
> Jonathan Kaye ha scritto:
>> Hi all,
>> Thanks to the excellent advice I've received I now have (I believe) a
>> working and bug free macro. One difficult (for me) piece of it was a
>> macro called "cutspace" which scans a string until it finds either a
>> fullstop or a
Hi Andreas & Paolo,
Thanks a lot. Now I've three methods!
Regards,
Cor
Andreas Saeger wrote (15-2-2008 12:35)
Just found a Basic library:
--
"The Year of 3" -2008- "Het jaar van 3"
Cor Nouws
Arnhem - Netherlands - nl.OpenOffice.org - marketing contact
Oliver Specht - Sun Germany - ham02 - Hamburg wrote (15-2-2008 13:38)
the XAutoTextGroup has a method getTitles() that returns the full names
of all entries of the group in the same order as the getElementNames()
does for the short names.
Thanks Oliver!
--
"The Year of 3" -2008- "Het jaar v
Cor Nouws wrote:
Hi,
Am I right if the API only supports the short name of autotext and not
the full name?
The short name is Shortcut in the UI, and retrieved via ElementNames
of the autotextcategory in the API.
The full name is Name in the UI.
Hi,
the XAutoTextGroup has a method getTitles
Just found a Basic library:
REM * BASIC *
Option Explicit
Sub test_CurrentLocaleItem
Dim sVal$, srv, loc, oLI
GlobalScope.BasicLibraries.loadLibrary("myTools")
sVal = getOOoSetupValue("/org.openoffice.Setup/L10N","ooLocale")
srv = createUnoService("com.sun.star.i18n.Loca
Hi Cor,
Cor Nouws ha scritto:
> Hi,
>
> I know how to get the OOoLocale and DecimalSeparatorAsLocale [1], but
> I'm looking for the decimal separator itself.
> I know I should get XLocaleData, but the dev guide [2] says "No further
> functionality is discussed." Cannot find it elsewhere.
The fol
Since you try with Basic:
Option Explicit
REM (dot and comma) or (comma and dot) in most cases:
Dim sThousandSeparator$, sDecimalSeparator$
Sub setSeparators()
Dim sTest$
'get thousands- and decimal separators from constant test value:
sTest = format(1234567.8, "Standard")
Jonathan Kaye ha scritto:
> Hi all,
> Thanks to the excellent advice I've received I now have (I believe) a
> working and bug free macro. One difficult (for me) piece of it was a macro
> called "cutspace" which scans a string until it finds either a fullstop or
> a space (let's call it a chunk) an
Hi,
Am I right if the API only supports the short name of autotext and not
the full name?
The short name is Shortcut in the UI, and retrieved via ElementNames of
the autotextcategory in the API.
The full name is Name in the UI.
Thanks,
Cor
--
"The Year of 3" -2008- "Het jaar van 3"
Cor N