How can I put autocorrect parameters in oxt file

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
dziglo
Posts: 11
Joined: Wed May 24, 2023 2:36 pm

How can I put autocorrect parameters in oxt file

Post by dziglo »

Greetings to all.
Question. How can I put autocorrect parameters in oxt file?
That is, when you run an oxt file (double-click), OpenOffice/LibreOffice will set a new autocorrect option for, for example, Polish.
Let's say replace:
LL
on the:
Ł
OpenOffice 3.1 on Windows 10
JeJe
Volunteer
Posts: 2779
Joined: Wed Mar 09, 2016 2:40 pm

Re: How can I put autocorrect parameters in oxt file

Post by JeJe »

I don't know whether you can run code on installation of an extension.

You may need some code to edit the autocorrect xml file that runs after installation - such as on first running.

Did you look at Extension Compiler when I suggested it in your previous thread? For packaging any information you'll need in the extension -
https://wiki.openoffice.org/wiki/Extensions_Packager
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Post Reply