[api-dev] Where is the path to OpenOffice.org installation

2010-06-25 Thread xiaofeng08
Hi, OO folks,
I am a novice to linux and OO.
I tried to OpenOffice.org development plugin for Eclipse by following the
instruction on http://wiki.services.openoffice.org/wiki/JavaEclipseTuto.

The OpenOffice.org plugin was successfully installed but got problem when tried 
to
configure it.
In Eclipse, "Window > Preferences"...menu,  select the "OpenOffice.org plugin > 
SDK
Configuration" item,
see a dialog asking me to provide path to available SDK and avaliable 
OpenOffice.org
installations.

I am confused about the linux file system, I luckily type in the correct SDK 
path:
/opt/openoffice.org/basis3.2/sdk

The problem is I don't know what path is to my OpenOffice.org installation.
I tried several like
/usr/lib/openoffice.org/ure/bin
/usr/bin/openoffice.org
/usr/bin/
.
but none of these is right.
My openoffice.org can successfully run  on my fedora.
So, can any body give me a  hint which path I should fill in here.

Thanks.

Following are paths on my computer listed by command: locate 
openoffice.org|grep bin

# locate office.org | grep bin

/opt/openoffice.org/basis3.2/program/gengal.bin
/opt/openoffice.org/basis3.2/program/gnome-open-url.bin
/opt/openoffice.org/basis3.2/program/legacy_binfilters.rdb
/opt/openoffice.org/basis3.2/program/libbindetli.so
/opt/openoffice.org/basis3.2/program/libindex_data.so
/opt/openoffice.org/basis3.2/program/liblegacy_binfiltersli.so
/opt/openoffice.org/basis3.2/program/python.bin
/opt/openoffice.org/basis3.2/program/spadmin.bin
/opt/openoffice.org/basis3.2/program/testtool.bin
/opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/binhex.py
/opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/idlelib/keybindingDialog.py
/opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/lib-dynload/binascii.so
/opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binascii.py
/opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binhex.py
/opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binop.py
/opt/openoffice.org/basis3.2/sdk/bin
/opt/openoffice.org/basis3.2/sdk/bin/autodoc
/opt/openoffice.org/basis3.2/sdk/bin/cppumaker
/opt/openoffice.org/basis3.2/sdk/bin/idlc
/opt/openoffice.org/basis3.2/sdk/bin/idlcpp
/opt/openoffice.org/basis3.2/sdk/bin/javamaker
/opt/openoffice.org/basis3.2/sdk/bin/regcompare
/opt/openoffice.org/basis3.2/sdk/bin/uno-skeletonmaker
/opt/openoffice.org/basis3.2/sdk/bin/unoapploader
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/drawing/XShapeCombiner-xref.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/drawing/XShapeCombiner.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableControlModel-xref.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableControlModel.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDataAwareControlModel-xref.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDataAwareControlModel.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseCheckBox-xref.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseCheckBox.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseComboBox-xref.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseComboBox.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseDateField-xref.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseDateField.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseFormattedField-xref.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseFormattedField.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseListBox-xref.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseListBox.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseNumericField-xref.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseNumericField.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseRadioButton-xref.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseRadioButton.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseTextField-xref.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseTextField.html
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseTimeField-xref.html
/opt/openoffi

Re: [api-dev] Tabs in openoffice extension dialogs

2010-06-25 Thread Mathias Bauer

On 06/24/2010 06:48 AM, Akila Wajirasena wrote:


Thanks Cor,
By the way is there any plan to add this in the future?



Yes.

Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "nospamfor...@gmx.de".
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] XSlideshowListener dispose()

2010-06-25 Thread Mathias Bauer

Hi Cameron,

On 06/23/2010 08:47 PM, Cameron Flint wrote:

Hello,

I have a class which implements XSlideshowListener, and attempts to override
the disposing() (from the XEventListener superclass) in order to set a flag
to ensure that I don't try to remove it a second time if the target
slideshow has already been disposed. However, I never seem to get this call.
Consequently, my cleanup routine which calls
XSlideShowController.removeSlideshowListener() receives a
NullPointerException since the slideshow has already terminated, unbeknown
to my listener.

It would seem that a listener registered on a slideshow should be notified
when that slideshow disposes, or am I mistaken?


No, you are right. When an object is disposed, it will notify all 
registered event listeners. So if an object obviously was disposed, but 
you didn't receive a notification, the reasons that I could imagine are


- your registration failed or was not carried out at all
- your class derives from another one that implements the disposing() 
method and you accidently used a wrong method declaration

- your listener was removed already before the slide show was disposed

Did you receive any slide show events? Have you made shure that the 
listener wasn't removed before the slide show was disposed?


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "nospamfor...@gmx.de".
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] Where is the path to OpenOffice.org installation

2010-06-25 Thread Konstantin Tokarev
Hi!
>From your output I guess you have 2 copies of OpenOffice.org: 3.1 from your 
>Linux distribution and 3.2 official. You should decide which one you'd like to 
>use



25.06.10, 11:13, xiaofen...@iscas.ac.cn:

> Hi, OO folks,
>  I am a novice to linux and OO.
>  I tried to OpenOffice.org development plugin for Eclipse by following the
>  instruction on http://wiki.services.openoffice.org/wiki/JavaEclipseTuto.
>  
>  The OpenOffice.org plugin was successfully installed but got problem when 
> tried to
>  configure it.
>  In Eclipse, "Window > Preferences"...menu,  select the "OpenOffice.org 
> plugin > SDK
>  Configuration" item,
>  see a dialog asking me to provide path to available SDK and avaliable 
> OpenOffice.org
>  installations.
>  
>  I am confused about the linux file system, I luckily type in the correct SDK 
> path:
>  /opt/openoffice.org/basis3.2/sdk
>  
>  The problem is I don't know what path is to my OpenOffice.org installation.
>  I tried several like
>  /usr/lib/openoffice.org/ure/bin
>  /usr/bin/openoffice.org
>  /usr/bin/
>  .
>  but none of these is right.
>  My openoffice.org can successfully run  on my fedora.
>  So, can any body give me a  hint which path I should fill in here.
>  
>  Thanks.
>  
>  Following are paths on my computer listed by command: locate 
> openoffice.org|grep bin
>  
>  # locate office.org | grep bin
>  
>  /opt/openoffice.org/basis3.2/program/gengal.bin
>  /opt/openoffice.org/basis3.2/program/gnome-open-url.bin
>  /opt/openoffice.org/basis3.2/program/legacy_binfilters.rdb
>  /opt/openoffice.org/basis3.2/program/libbindetli.so
>  /opt/openoffice.org/basis3.2/program/libindex_data.so
>  /opt/openoffice.org/basis3.2/program/liblegacy_binfiltersli.so
>  /opt/openoffice.org/basis3.2/program/python.bin
>  /opt/openoffice.org/basis3.2/program/spadmin.bin
>  /opt/openoffice.org/basis3.2/program/testtool.bin
>  /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/binhex.py
>  
> /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/idlelib/keybindingDialog.py
>  
> /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/lib-dynload/binascii.so
>  
> /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binascii.py
>  
> /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binhex.py
>  /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binop.py
>  /opt/openoffice.org/basis3.2/sdk/bin
>  /opt/openoffice.org/basis3.2/sdk/bin/autodoc
>  /opt/openoffice.org/basis3.2/sdk/bin/cppumaker
>  /opt/openoffice.org/basis3.2/sdk/bin/idlc
>  /opt/openoffice.org/basis3.2/sdk/bin/idlcpp
>  /opt/openoffice.org/basis3.2/sdk/bin/javamaker
>  /opt/openoffice.org/basis3.2/sdk/bin/regcompare
>  /opt/openoffice.org/basis3.2/sdk/bin/uno-skeletonmaker
>  /opt/openoffice.org/basis3.2/sdk/bin/unoapploader
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/drawing/XShapeCombiner-xref.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/drawing/XShapeCombiner.html
>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableControlModel-xref.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableControlModel.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDataAwareControlModel-xref.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDataAwareControlModel.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseCheckBox-xref.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseCheckBox.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseComboBox-xref.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseComboBox.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseDateField-xref.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseDateField.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseFormattedField-xref.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseFormattedField.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseListBox-xref.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseListBox.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseNumericField-xref.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseNumericField.html
>  
> /opt/openoffice.org/basis3.2/sdk/docs/common/r

Re: [api-dev] Where is the path to OpenOffice.org installation

2010-06-25 Thread Johnny Rosenberg
25.06.10, 11:13, xiaofen...@iscas.ac.cn:
>> Hi, OO folks,
>>  I am a novice to linux and OO.
>>  I tried to OpenOffice.org development plugin for Eclipse by following the
>>  instruction on http://wiki.services.openoffice.org/wiki/JavaEclipseTuto.
>>
>>  The OpenOffice.org plugin was successfully installed but got problem when 
>> tried to
>>  configure it.
>>  In Eclipse, "Window > Preferences"...menu,  select the "OpenOffice.org 
>> plugin > SDK
>>  Configuration" item,
>>  see a dialog asking me to provide path to available SDK and avaliable 
>> OpenOffice.org
>>  installations.
>>
>>  I am confused about the linux file system, I luckily type in the correct 
>> SDK path:
>>  /opt/openoffice.org/basis3.2/sdk
>>
>>  The problem is I don't know what path is to my OpenOffice.org installation.
>>  I tried several like
>>  /usr/lib/openoffice.org/ure/bin
>>  /usr/bin/openoffice.org
>>  /usr/bin/
>>  .
>>  but none of these is right.
>>  My openoffice.org can successfully run  on my fedora.
>>  So, can any body give me a  hint which path I should fill in here.
>>
>>  Thanks.
>>
>>  Following are paths on my computer listed by command: locate 
>> openoffice.org|grep bin
>>
>>  # locate office.org | grep bin
>>
>>  /opt/openoffice.org/basis3.2/program/gengal.bin
>>  /opt/openoffice.org/basis3.2/program/gnome-open-url.bin
>>  /opt/openoffice.org/basis3.2/program/legacy_binfilters.rdb
>>  /opt/openoffice.org/basis3.2/program/libbindetli.so
>>  /opt/openoffice.org/basis3.2/program/libindex_data.so
>>  /opt/openoffice.org/basis3.2/program/liblegacy_binfiltersli.so
>>  /opt/openoffice.org/basis3.2/program/python.bin
>>  /opt/openoffice.org/basis3.2/program/spadmin.bin
>>  /opt/openoffice.org/basis3.2/program/testtool.bin
>>  /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/binhex.py
>>  /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/idlelib/keybindingDialog.py
>>  /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/lib-dynload/binascii.so
>>  /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binascii.py
>>  /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binhex.py
>>  /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binop.py
>>  /opt/openoffice.org/basis3.2/sdk/bin
>>  /opt/openoffice.org/basis3.2/sdk/bin/autodoc
>>  /opt/openoffice.org/basis3.2/sdk/bin/cppumaker
>>  /opt/openoffice.org/basis3.2/sdk/bin/idlc
>>  /opt/openoffice.org/basis3.2/sdk/bin/idlcpp
>>  /opt/openoffice.org/basis3.2/sdk/bin/javamaker
>>  /opt/openoffice.org/basis3.2/sdk/bin/regcompare
>>  /opt/openoffice.org/basis3.2/sdk/bin/uno-skeletonmaker
>>  /opt/openoffice.org/basis3.2/sdk/bin/unoapploader
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/drawing/XShapeCombiner-xref.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/drawing/XShapeCombiner.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableControlModel-xref.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableControlModel.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDataAwareControlModel-xref.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDataAwareControlModel.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseCheckBox-xref.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseCheckBox.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseComboBox-xref.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseComboBox.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseDateField-xref.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseDateField.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseFormattedField-xref.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseFormattedField.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseListBox-xref.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseListBox.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseNumericField-xref.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseNumericField.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseRadioButton-xref.html
>>  /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseRadioButton.h

Re: [api-dev] Where is the path to OpenOffice.org installation

2010-06-25 Thread Steffen Boersig

Johnny Rosenberg schrieb:

25.06.10, 11:13, xiaofen...@iscas.ac.cn:
  

Hi, OO folks,
 I am a novice to linux and OO.
 I tried to OpenOffice.org development plugin for Eclipse by following the
 instruction on http://wiki.services.openoffice.org/wiki/JavaEclipseTuto.

 The OpenOffice.org plugin was successfully installed but got problem when 
tried to
 configure it.
 In Eclipse, "Window > Preferences"...menu,  select the "OpenOffice.org plugin 
> SDK
 Configuration" item,
 see a dialog asking me to provide path to available SDK and avaliable 
OpenOffice.org
 installations.

 I am confused about the linux file system, I luckily type in the correct SDK 
path:
 /opt/openoffice.org/basis3.2/sdk

 The problem is I don't know what path is to my OpenOffice.org installation.
 I tried several like
 /usr/lib/openoffice.org/ure/bin
 /usr/bin/openoffice.org
 /usr/bin/
 .
 but none of these is right.
 My openoffice.org can successfully run  on my fedora.
 So, can any body give me a  hint which path I should fill in here.

 Thanks.

 Following are paths on my computer listed by command: locate 
openoffice.org|grep bin

 # locate office.org | grep bin

 /opt/openoffice.org/basis3.2/program/gengal.bin
 /opt/openoffice.org/basis3.2/program/gnome-open-url.bin
 /opt/openoffice.org/basis3.2/program/legacy_binfilters.rdb
 /opt/openoffice.org/basis3.2/program/libbindetli.so
 /opt/openoffice.org/basis3.2/program/libindex_data.so
 /opt/openoffice.org/basis3.2/program/liblegacy_binfiltersli.so
 /opt/openoffice.org/basis3.2/program/python.bin
 /opt/openoffice.org/basis3.2/program/spadmin.bin
 /opt/openoffice.org/basis3.2/program/testtool.bin
 /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/binhex.py
 
/opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/idlelib/keybindingDialog.py
 
/opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/lib-dynload/binascii.so
 
/opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binascii.py
 /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binhex.py
 /opt/openoffice.org/basis3.2/program/python-core-2.6.1/lib/test/test_binop.py
 /opt/openoffice.org/basis3.2/sdk/bin
 /opt/openoffice.org/basis3.2/sdk/bin/autodoc
 /opt/openoffice.org/basis3.2/sdk/bin/cppumaker
 /opt/openoffice.org/basis3.2/sdk/bin/idlc
 /opt/openoffice.org/basis3.2/sdk/bin/idlcpp
 /opt/openoffice.org/basis3.2/sdk/bin/javamaker
 /opt/openoffice.org/basis3.2/sdk/bin/regcompare
 /opt/openoffice.org/basis3.2/sdk/bin/uno-skeletonmaker
 /opt/openoffice.org/basis3.2/sdk/bin/unoapploader
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/drawing/XShapeCombiner-xref.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/drawing/XShapeCombiner.html
 /opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableControlModel-xref.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableControlModel.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDataAwareControlModel-xref.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDataAwareControlModel.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseCheckBox-xref.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseCheckBox.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseComboBox-xref.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseComboBox.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseDateField-xref.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseDateField.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseFormattedField-xref.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseFormattedField.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseListBox-xref.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseListBox.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseNumericField-xref.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseNumericField.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseRadioButton-xref.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseRadioButton.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/form/binding/BindableDatabaseTextField-xref.html
 
/opt/openoffice.org/basis3.2/sdk/docs/common/ref/com/sun/star/

[api-dev] Please verify bug in StarBasic Format command

2010-06-25 Thread Andrew Douglas Pitonyak


I see errors in the 64-bit Linux release with this simple macro

Sub strangeFormats
  Dim i%
  Dim d As Date
  d = now()
  Dim s$
  Dim formats
  formats = Array("q", "y", "yy", "", _
  "m", "mm", "mmm", "", _
  "d", "dd", "ddd", "", "d", "dd", _
  "w", "ww", "h", "hh", "n", "nn", "s", "ss", _
  "t", "c", _
  "d// h:dd:ss", "d// h:nn:ss")
  For i = LBound(formats) To UBound(formats)
s = s & formats(i) & " => " & Format(d, formats(i)) & CHR$(10)
  Next
  MsgBox s
End Sub

What I see (correctly):
dd => Two digit day
nn => two digit minute

Incorrect:
"d// h:nn:ss" => nn produces the expected output from ddd, 
namely the three letter day name.


"d// h:dd:ss" => dd produces the two digit minute, which I 
expected with nn.


Just want to know how to file the bug!

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org