Patch of Xray 5.2 for OOo 2.4.0

Creating a macro - Writing a Script - Using the API

Patch of Xray 5.2 for OOo 2.4.0

Postby B Marcelly » Sun Mar 30, 2008 4:15 pm

Version 2.4.0 of OpenOffice.org has a regression (Issue 87596) which renders unusable the buttons to increase and reduce the panel width.

This Basic file makes it work again until the bug is corrected.
1 - download and save the file, it has a .bas extension.
2 - with the IDE open library XrayTool, module _Main
3 - select all the code of the module (on MS-Windows : Ctrl-A)
4 - click button at right "Insert Basic source text" and select the patch file. All the code is replaced.
5 - click button Save (floppy icon)

For your information, routine changeDialogWidth is modified. The new handling is not compatible with OpenOffice.org version 1.1.x and maybe not with oldest 2.x versions. So you should only patch if you have the bugged version of OpenOffice.

Later, to get back the normal handling, the simplest way is to reinstall Xray.

______
Bernard
B Marcelly
Volunteer
 
Posts: 1160
Joined: Mon Oct 08, 2007 1:26 am
Location: France, Paris area

Re: Patch of Xray 5.2 for OOo 2.4.0

Postby ashok_ » Thu May 15, 2008 9:49 am

Hello there:

I am still having the "squashed window" window problem with XRay even after applying the patch.

I am running OpenOffice.org 2.4 on Ubuntu 8.4 (Hardy Heron).

Note: I am not running the OpenOffice.org 2.4 installation packaged with Ubuntu, I have removed that, and installed via the debian package downloaded from the openofffice.org website.

thanks

Ashok
ashok_
 
Posts: 2
Joined: Tue Dec 04, 2007 10:17 am

Re: Patch of Xray 5.2 for OOo 2.4.0

Postby B Marcelly » Thu May 15, 2008 11:41 am

B Marcelly
Volunteer
 
Posts: 1160
Joined: Mon Oct 08, 2007 1:26 am
Location: France, Paris area

Re: Patch of Xray 5.2 for OOo 2.4.0

Postby ashok_ » Fri May 16, 2008 8:54 am

Bernard,

thanks ! Compiz was indeed the culprit, I disabled graphical acceleration in Ubuntu and now it seems to be fine.

Ashok
ashok_
 
Posts: 2
Joined: Tue Dec 04, 2007 10:17 am


Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 3 guests