Difference between revisions of "Zh/Documentation/DevGuide/Extensions/Installing Extensions for All or a Single User"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: {{Documentation/DevGuide/ExtensionsTOC/Zh |Extensions2a=block |ShowPrevNext=block |PrevPage=Zh/Documentation/DevGuide/Extensions/Deployment Items |NextPage=Zh/Documentation/DevGuide/Extens...)
 
m
Line 11: Line 11:
 
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.  
 
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.  
  
 +
 +
共享扩展能改变所有用户的GUI(如工具栏,菜单栏等)。他们可以修改 Office 配置以隐藏特定的菜单和工具栏项。目前还没有为特定用户组集中安装扩展。
 
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.
 
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.
  
 +
 +
在安装过程中将确定扩展安装是为所有用户可用或单个用户可用。安装扩展的用户在点击“添加..."按钮前,必须在扩展管理器对话框中选择“我的扩展”或“{{PRODUCTNAME}} 扩展”。第一种选择,该扩展将被安装且仅为当前用户可用,而下一种选择将使扩展对所有用户可用。
 
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 '''{{PRODUCTNAME}} 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.  
 
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 '''{{PRODUCTNAME}} 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.  
  
 +
在无窗口模式运行 unopkg 时,<code>--shared</code> 选项确定扩展是否可被所有用户使用。例如:
 
When running ''unopkg'' in a windowless mode then the option <code>--shared</code> determines if an extension can be used by all users. For example:
 
When running ''unopkg'' in a windowless mode then the option <code>--shared</code> determines if an extension can be used by all users. For example:
  
Line 20: Line 25:
  
 
would install my_extensions, so that it can be used by all users.
 
would install my_extensions, so that it can be used by all users.
 
+
将安装 my_extensions,且可被所有用户使用。
  
  

Revision as of 09:01, 2 September 2008


安装扩展时需要决定该扩展是否允许其他用户使用(共享扩展)或只允许本用户使用(用户扩展)。第一种情况下,其他用户如果对 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.


共享扩展能改变所有用户的GUI(如工具栏,菜单栏等)。他们可以修改 Office 配置以隐藏特定的菜单和工具栏项。目前还没有为特定用户组集中安装扩展。 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.


在安装过程中将确定扩展安装是为所有用户可用或单个用户可用。安装扩展的用户在点击“添加..."按钮前,必须在扩展管理器对话框中选择“我的扩展”或“OpenOffice.org 扩展”。第一种选择,该扩展将被安装且仅为当前用户可用,而下一种选择将使扩展对所有用户可用。 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.

在无窗口模式运行 unopkg 时,--shared 选项确定扩展是否可被所有用户使用。例如: 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. 将安装 my_extensions,且可被所有用户使用。


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