Basic runtime error with "Symmetric Arrow" in LibreOffice 7.3.3.2

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
jarkky
Posts: 14
Joined: Sat Oct 12, 2019 5:18 pm

Basic runtime error with "Symmetric Arrow" in LibreOffice 7.3.3.2

Post by jarkky »

In macro setting
.LineStartName = "Symmetric Arrow"
would give some type of "runtime error":
OPENOFFICE_ERROR1.png
OPENOFFICE_ERROR1.png (55.03 KiB) Viewed 1286 times
It looks like this "Symmetric arrow" worked in earlier openoffice version (like 6.4.xx) but no more with version 7.xx
Last edited by MrProgrammer on Sat Jul 09, 2022 6:38 pm, edited 1 time in total.
Reason: Added LibreOffice to subject -- MrProgrammer, forum moderator
OpenOffice 3.1 on CentOS Linux release 8.0.1905 (Core)
User avatar
karolus
Volunteer
Posts: 1158
Joined: Sat Jul 02, 2011 9:47 am

Re: Basic runtime error with "Symmetric Arrow"

Post by karolus »

Yes of course you are able to take screenshots… very clever :ucrazy:

And now you should try to simply copy&paste plain basic!
AOO4, Libreoffice 6.1 on Rasbian OS (on ARM)
Libreoffice 7.4 on Debian 12 (Bookworm) (on RaspberryPI4)
Libreoffice 7.6 flatpak on Debian 12 (Bookworm) (on RaspberryPI4)
User avatar
Zizi64
Volunteer
Posts: 11352
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Basic runtime error with "Symmetric Arrow"

Post by Zizi64 »

It looks like this "Symmetric arrow" worked in earlier openoffice version (like 6.4.xx) but no more with version 7.xx

_________________________________________________
OpenOffice 3.1 on CentOS Linux release 8.0.1905 (Core)
Please clarify which office suite and version and which application are you using really.

The 6.x.x and 7.x.x are LibreOffice versions.

And please update your signature.

And please upload an ODF type sample file with the macro code.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
jarkky
Posts: 14
Joined: Sat Oct 12, 2019 5:18 pm

Re: Basic runtime error with "Symmetric Arrow"

Post by jarkky »

Thanks for explanation.
It looks like the MXLinux system installation is libreoffice by the default (not openoffice).
I try to report to the relevant forum.
It could be that the corresponding one they use is "Line Arrow" and that the "Symmetric Arrow" not implemented in the Libreoffice.
OpenOffice 3.1 on CentOS Linux release 8.0.1905 (Core)
User avatar
Lupp
Volunteer
Posts: 3542
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Basic runtime error with "Symmetric Arrow"

Post by Lupp »

There isn't an accepted LineStartName (or LineEndName) "Symmetric Arrow" in LibreOffice. Why do you think there is one?
My current version of LibO is 7.3.3.2.
On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
JeJe
Volunteer
Posts: 2763
Joined: Wed Mar 09, 2016 2:40 pm

Re: Basic runtime error with "Symmetric Arrow"

Post by JeJe »

Its listed in Andrew Pitonyak's OpenOffice.org Macros Explained - but that's OpenOffice. It says there that there are local specific names which may work too.

Presumably there's a list of LibreOffice names somewhere for Lupp to be able to say that - which will tell you what's available? One of which may be equivalent?
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
User avatar
robleyd
Moderator
Posts: 5055
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Basic runtime error with "Symmetric Arrow"

Post by robleyd »

Also asked at https://ask.libreoffice.org/t/basic-run ... ow/79362/5.

If you cross post, please let us know that you have done so, otherwise it leads to several discussions and a waste of time because several identical answers may be posted by different users.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.1.2; SlackBuild for 24.2.1 by Eric Hameleers
JeJe
Volunteer
Posts: 2763
Joined: Wed Mar 09, 2016 2:40 pm

Re: Basic runtime error with "Symmetric Arrow"

Post by JeJe »

Pitonyak's list is
Next, I searched the source code and I found filter/source/msfilter/escherex.cx and svx/source/dialog/sdstring.src, which contains the following names:
Arrow
Arrow concave
Circle
Dimension Lines
Double Arrow
Line Arrow
Rounded large Arrow
Rounded short Arrow
Small Arrow
Square
Square 45
Symmetric Arrow
In testing, the en-US names worked in other locales. Locale specific names work, but the value that is stored is based on the en-US locale name. In other words, using "Double flèche" with a French locale sets the property to “Double Arrow”.

I use MXLinux for other things. There are instructions (I haven't tried though) for how to install OpenOffice if you prefer/need it.

https://daylifetips.com/how-to-install- ... -mx-linux/
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
User avatar
Lupp
Volunteer
Posts: 3542
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Basic runtime error with "Symmetric Arrow"

Post by Lupp »

On Windows 10: LibreOffice 24.2 (new numbering) and older versions, PortableOpenOffice 4.1.7 and older, StarOffice 5.2
---
Lupp from München
Post Reply