Apache OpenOffice (AOO) Bugzilla – Issue 53386
shape interaction "Run Program" has not to be executed as hyperlink
Last modified: 2023-01-02 10:28:53 UTC
Currently the implementation of this special interaction "Run Program" base on execution of hyperlinks. This was not designed in this way and should be changed. a) Hyperlinks will be detected in it's document type. Based on this detection the decision is made, if a linked document will be opened internaly or will be passed to the underlying operating system. b) An executable cant be detected. E.g. it's impossible to differ between UNIX- Shellskripts (which mostly doesnt have any extension) and normal text documents. In such case the "program" will be opened for editing inside the writer module. c) Further the normal UI user wont be aware, that he has to change the security settings for hyperlinks, if he wish to influence this special "Run Program" feature. After a discussion with our product managemenet, we decided to have a different security option inside our Tools->Options dialog. Solution: 1) Define a new security setting only related to this "Run External Programs" feature. Please use the configuration schema: org.openoffice.Office.Security. 2) Add a new Tools->Options TabPage rlated to this configuration setting. 3) Check these settings before your call the UNO Service com.sun.star.system. SystemShellExecute to execute the selected programs.
See also: Issue 52264
Reset assigne to the default "issues@openoffice.apache.org".
*** Issue 114573 has been marked as a duplicate of this issue. ***
See Specification (1.2): http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415628_253892949 http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#element-draw_a (1.3) https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#element-draw_a