| View previous topic :: View next topic |
| Author |
Message |
jancici Apprentice

Joined: 27 Jan 2004 Posts: 284 Location: Slovakia
|
Posted: Fri Apr 15, 2011 6:39 am Post subject: SOLVED: libre office and macro security |
|
|
I am not able to change security setting of macro in LibreOffice.
here is thread which did help me with openoffice https://forums.gentoo.org/viewtopic-t-598196-highlight-openoffice+macro.html
but I am not able to find that file when using libreoffice
has anybody solution for this?
I am using macros in spreadsheets, so at this moment I am not able to use libreoffice.
thanks for help / tips
Last edited by jancici on Mon Apr 18, 2011 11:37 am; edited 1 time in total |
|
| Back to top |
|
 |
jancici Apprentice

Joined: 27 Jan 2004 Posts: 284 Location: Slovakia
|
Posted: Fri Apr 15, 2011 12:00 pm Post subject: |
|
|
I also enable "enable experimental features" in general tab of Option
not helping to change macro security |
|
| Back to top |
|
 |
onyxnz n00b

Joined: 18 Apr 2011 Posts: 2
|
Posted: Mon Apr 18, 2011 10:09 am Post subject: |
|
|
Solution...because I came across this bug in Sabayon too:
sudo chmod 777 lib/libreoffice/basis-link/share/registry/main.xcd
geany lib/libreoffice/basis-link/share/registry/main.xcd
(or use whatever text editor you have eg: gedit, kate)
find MacroSecurityLevel using the find feature
change the macro security value to whatever you like following that;
<value>0</value>
0=lowest, 3=highest, 2=default.
save file
sudo chmod 444 lib/libreoffice/basis-link/share/registry/main.xcd
Try out your ODF document with macros. |
|
| Back to top |
|
 |
jancici Apprentice

Joined: 27 Jan 2004 Posts: 284 Location: Slovakia
|
Posted: Mon Apr 18, 2011 11:37 am Post subject: |
|
|
thanks,
it is working now |
|
| Back to top |
|
 |
onyxnz n00b

Joined: 18 Apr 2011 Posts: 2
|
|
| Back to top |
|
 |
sphakka Tux's lil' helper


Joined: 24 Jun 2003 Posts: 79
|
Posted: Thu Dec 01, 2011 3:38 pm Post subject: |
|
|
As for lo-bin, according to the last comment to that bug, lo-bin-3.5 should be OK, but it's not in portage yet.
BTW, the main.xcd workaround works for met too. I suggest to use '1' to get prompted for enabling macros when a document is opened. Also note that on gentoo-amd64 the correct file to edit is:
| Code: | | /usr/lib64/libreoffice/basis3.4/share/registry/main.xcd |
Cheers,
^s |
|
| Back to top |
|
 |
Grigory Bondarenko n00b

Joined: 27 Apr 2016 Posts: 1
|
Posted: Wed Apr 27, 2016 5:59 am Post subject: |
|
|
| I have LO 5.1 on Ubuntu 12.04 without graphical interface (on server). Tried to change parameter MacroSecurityLevel (<value>_</value>) in main.xcd but it didn't help (Security Level in LO was not change). |
|
| Back to top |
|
 |
|