包含在尋找其他文件熱門支援資源 | 以 PDF 格式下載這本書 (813 KB)
Chapter 3 Customizing the User InterfaceThis chapter describes how to customize User Interface (UI) elements in StarOffice. Creating a Customized XML Configuration FileStarOffice stores most of the UI configuration settings in Extensible Markup Language (XML) format. The UI components are defined in the XML-based User Interface Language (XUL) and stored in XML files. StarOffice provides a Customize dialog box where you can make changes to most of the UI components. For example, you use this dialog box to add a custom menu to Writer. You can also edit an XML UI configuration file to make your changes. The XML elements and attributes for the StarOffice UI components are described in Using a Text Editor. Using the Customize Dialog BoxYou can use the Customize dialog box to make changes to or to create the following UI components:
The changes are saved to an XML configuration file. After you make your changes in the Customize dialog box, you can use the XML configuration file that you created to apply the changes to other StarOffice installations. Note – For more information on the location of the individual XML configuration files, see Using a Text Editor.
|
|
StarOffice Module |
Short Module Identifier |
|---|---|
|
OpenOffice.org Writer |
swriter |
|
OpenOffice.org Writer/Web |
sweb |
|
OpenOffice.org Writer/Globaldocument |
sglobal |
|
OpenOffice.org Calc |
scalc |
|
OpenOffice.org Draw |
sdraw |
|
OpenOffice.org Impress |
simpress |
|
OpenOffice.org Math |
smath |
|
OpenOffice.org Chart |
schart |
|
OpenOffice.org Bibliography |
sbibliography |
|
OpenOffice.org BasicIDE |
BasicIDE |
|
OpenOffice.org Database QueryDesign |
dbquery |
|
OpenOffice.org Database TableDesign |
dbtable |
|
OpenOffice.org Database RelationDesign |
dbrelation |
|
OpenOffice.org StartModule (Backing Component) |
StartModule |
For a description of the XML elements and attributes that the StarOffice configuration files use, see the OpenOffice.org XML File Format Technical Reference Manual at:
http://xml.openoffice.org/xml_specification.pdf
You can use XML configuration files to apply a customized user interface to one or more StarOffice installations.
On a master StarOffice installation, create a customized XML configuration file for each UI element that you want to change.
See Creating a Customized XML Configuration File for details.
Become root.
Copy the contents of the <StarOffice user directory>/config/soffice.cfg/modules directory of the master installation to the <StarOffice network installation directory>/share/config/soffice.cfg/modules directory.
Restart StarOffice.
On a master StarOffice installation, create a customized XML configuration file for each UI element that you want to change.
See Creating a Customized XML Configuration File for details.