Adding Template Files to an OpenOffice.org Installation
From Wiki
Jump to navigationJump to search- Custom OpenOffice.org Basic Macros and Libraries
- OpenOffice.org Extension Manager
- [[EN/documentation/administration_guide/adding_template_files|]]
- Adding AutoText Files to an OpenOffice.org Network Installation
- Deactivating the OpenOffice.org Registration Wizard
- Accessing Email Clients
- Customizing the User Interface
- Restricting Functionality in OpenOffice.org
- Accessing OpenOffice.org User Profiles on an LDAP Server
You can make custom document templates available to all users or to individual users of an OpenOffice.org network installation. You can also make specific directories for document templates available to these users.
To Add a Template For All Users of a OpenOffice.org Network Installation
- Become root.
- Copy the template to the network-install-dir/share/template/ directory.
To Add a Template to a Workstation Installation of OpenOffice.org
- Become root.
- Copy the template to the ooo-user-dir/user/template/ directory on the workstation.
To Add a Template Directory to an OpenOffice.org Installation
- In any OpenOffice.org program, choose Tools > Options > OpenOffice.org > Paths.
- In the list of default paths, select Templates, and then click Edit.
- In the Edit Paths dialog box, click the Add button.
- Locate the template directory you want to add and click Select.
- In the Edit Paths dialog box, click the OK button.
- In the Options - OpenOffice.org - Paths dialog box, click OK.
- Exit OpenOffice.org.
OpenOffice.org saves the template path to the ooo-user-dir/user/registry/data/org/openoffice/Office/Common.xcu configuration file. - Copy the code below into the appropriate Common.xcu file.
- To make the template directory available to all users of the OpenOffice.org network installation, copy the code into the install-dir/basis<version>/share/registry/data/org/openoffice/Office/Common.xcu file.
- To make the template directory available to a single user of an OpenOffice.org network installation, copy the code into the ooo-user-dir/user/registry/data/org/openoffice/Office/Common.xcu file.
<node oor:name="Path">
<node oor:name="Current">
<prop oor:name="Template" oor:type="oor:string-list">
<value>$(inst)/share/template/$(vlang)
$(user)/template new_template_directory
</value>
</prop>
</node>
</node>
Content on this page is licensed under the Public Documentation License (PDL). |