Adding Template Files to an Apache OpenOffice Installation (2024)

You can make custom document templates available to all users or to individual users of an Apache OpenOffice network installation. You can also make specific directories for document templates available to these users.

Adding Template Files to an Apache OpenOffice Installation (1)Do not give users write permission for template files.

To Add a Template For All Users of a Apache OpenOffice Network Installation

  1. Become root.
  2. Copy the template to the network-install-dir/share/template/ directory.

To Add a Template to a Workstation Installation of Apache OpenOffice

  1. Become root.
  2. Copy the template to the ooo-user-dir/user/template/ directory on the workstation.

To Add a Template Directory to an Apache OpenOffice Installation

  1. In any Apache OpenOffice program, choose ToolsOptionsOpenOfficePaths.
  2. In the list of default paths, select Templates, and then click Edit.
  3. In the Edit Paths dialog box, click the Add button.
  4. Locate the template directory you want to add and click Select.
  5. In the Edit Paths dialog box, click the OK button.
  6. In the OptionsOpenOfficePaths dialog box, click OK.
  7. Exit Apache OpenOffice.
    Apache OpenOffice saves the template path to the ooo-user-dir/user/registry/data/org/openoffice/Office/Common.xcu configuration file.
  8. Copy the code below into the appropriate Common.xcu file.
    • To make the template directory available to all users of the Apache OpenOffice 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 Apache OpenOffice 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).

Adding Template Files to an Apache OpenOffice Installation (2024)
Top Articles
Latest Posts
Article information

Author: Duane Harber

Last Updated:

Views: 5974

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Duane Harber

Birthday: 1999-10-17

Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

Phone: +186911129794335

Job: Human Hospitality Planner

Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.