Macro not wrking after 5.x - stops at uno:ColumnWidth

Hi there,

I have a macro that was working since LO 3.3 days, but after upgrading to
5.x series it fails at a line wich is meant to adjust a column width:

dispatcher.executeDispatch(document, ".uno:ColumnWidth", "", 0, args2())

I assume the function has been deprecated and/or replaced with something
else...

What code should I use insted?

Thanks in advance.
HQ.

Hi,

that is bug https://bugs.documentfoundation.org/show_bug.cgi?id=107806

I have not thought about a workaround.

Kind regards
Regina

hqxnet schrieb:

@Regina,

Thank you for the reply!

From your bug report I understand that, as a workaround, I could downgrade

to 5.2.x and my macro will (at leat probably) run again.

Is that correct?

TIA

Hi,

hqxnet schrieb:

@Regina,

Thank you for the reply!

From your bug report I understand that, as a workaround, I could downgrade

to 5.2.x and my macro will (at leat probably) run again.

Is that correct?

TIA

Yes, version 5.2.7 act the old way. But I would not "downgrade" but I would make an administrative installation or use a portable version. On which operating system do you work?

Kind regards
Regina

JFYI, I dowgraded to 5.2.7 but the problems seems to persist.
I did it in a hurry so I need to look deeper to confirm it and eventually
test previous versions (portable ones this time :confused: )

I´ll post back when I have something solid to share.

Regards.

Regina Henschel wrote

Hi,

hqxnet schrieb:

@Regina,

Thank you for the reply!

From your bug report I understand that, as a workaround, I could

downgrade

For the record, and in case this helps someone else:

1) I downgraded further to version 5.2.5 and the macro is working again.

2) After I downgraded to 5.2.5 I realized there are two LibreOffice profiles
in this PC, and when I was testing 5.2.7 I was restoring my macros file in
the wrong one. So I think the macro will probably work fine in both 5.2.5
and 5.2.7 (not in the 5.3 series)

Thank you Regina for pointing me in the right direction.

Best regards.
HQ.

hqxnet wrote

JFYI, I dowgraded to 5.2.7 but the problems seems to persist.
I did it in a hurry so I need to look deeper to confirm it and eventually
test previous versions (portable ones this time :confused: )

I´ll post back when I have something solid to share.

Regards.

Regina Henschel wrote

Hi,

hqxnet schrieb:

@Regina,

Thank you for the reply!

From your bug report I understand that, as a workaround, I could

downgrade