所有或单个用户安装扩展

From Apache OpenOffice Wiki
< Zh‎ | Documentation
Revision as of 08:15, 2 September 2008 by Jirong (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


安装扩展时需要决定该扩展是否允许其他用户使用(共享扩展)或只允许本用户使用(用户扩展)。第一种情况下,其他用户如果对 Office 安装的共享目录没有写权限的话就不能修改(启用、禁用、卸载)扩展。 When installing an extension one has to decide if all possible users can use it (shared extension) or only oneself (user extension). In the first case, users cannot modify (enable, disable, remove)the extension unless they have write access to the share directory in the office installation.

A shared extension may change the appearance of the GUI (toolbars, menu bar, etc.) for all users. They can, however, configure their office so that particular menu or toolbar items are not shown. There is currently no way to centrally install an extension for particular user groups.

If an extension is to be installed for all users or only for the single user is determined during installation. The person, who is going to install the extension, must select in the Extension Manager dialog either My Extensions or OpenOffice.org Extensions before pressing the Add... button. In the first case, the extension will only be installed for the current user, whereas in the latter case it will be installed for all users.

When running unopkg in a windowless mode then the option --shared determines if an extension can be used by all users. For example:

 [<OfficePath>/program] $ unopkg add --shared my_extension.oxt

would install my_extensions, so that it can be used by all users.


Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages