Difference between revisions of "Documentation/Administration Guide/Adding Template Files"
From Apache OpenOffice Wiki
(→To Add a Template Directory to a {{OOo}} Installation) |
|||
Line 8: | Line 8: | ||
{{DISPLAYTITLE: Adding Template Files to an {{OOo}} Installation}} | {{DISPLAYTITLE: Adding Template Files to an {{OOo}} Installation}} | ||
− | You can make custom document templates available to all | + | You can make custom document templates available to all users or to individual users of a network installation of {{OOo}}. You can also make specific directories for document templates available to these users. |
{{Documentation/Caution|Do not give users write permission for template files.}} | {{Documentation/Caution|Do not give users write permission for template files.}} | ||
Line 15: | Line 15: | ||
# Become root. | # Become root. | ||
− | # Copy the template to the <tt> | + | # Copy the template to the <tt>''network-install-dir''/share/template/</tt> directory. |
===To Add a Template to a Workstation Installation of {{OOo}}=== | ===To Add a Template to a Workstation Installation of {{OOo}}=== | ||
# Become root. | # Become root. | ||
− | # Copy the template to the <tt> | + | # Copy the template to the <tt>''install-dir''/user/template/</tt> directory on the workstation. |
− | ===To Add a Template Directory to | + | ===To Add a Template Directory to an {{OOo}} Installation=== |
# In any {{OOo}} program, choose '''Tools → Options → {{OOo}} → Paths'''. | # In any {{OOo}} program, choose '''Tools → Options → {{OOo}} → Paths'''. | ||
− | # In the list of default paths, select | + | # In the list of default paths, select Templates, and then click '''Edit'''. |
# In the '''Select Paths''' dialog box, click the '''Add''' button. | # In the '''Select Paths''' dialog box, click the '''Add''' button. | ||
− | # Locate the template directory that you want to add and click | + | # Locate the template directory that you want to add and click '''OK'''. |
# In the '''Select Paths''' dialog box, click the '''OK''' button. | # In the '''Select Paths''' dialog box, click the '''OK''' button. | ||
− | # In the '''Options → {{OOo}} → Paths''' dialog box, click | + | # In the '''Options → {{OOo}} → Paths''' dialog box, click '''OK'''. |
− | # Exit {{OOo}}.<br>{{OOo}} saves the template path to the <tt> | + | # Exit {{OOo}}.<br>{{OOo}} saves the template path to the <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> configuration file. |
# Copy the code below into the appropriate <tt>Common.xcu</tt> file. | # Copy the code below into the appropriate <tt>Common.xcu</tt> file. | ||
− | #* To make the template directory available to all users of the {{OOo}} network installation, copy the code into the <tt> | + | #* To make the template directory available to all users of the {{OOo}} network installation, copy the code into the <tt>''install-dir''/share/registry/data/org/openoffice/Office/Common.xcu</tt> file. |
− | #* To make the template directory available to a single user of | + | #* To make the template directory available to a single user of an {{OOo}} network installation, copy the code into the <tt>''install-dir''/user/registry/data/org/openoffice/Office/Common.xcu</tt> file. |
<source lang="xml"> | <source lang="xml"> | ||
<node oor:name="Path"> | <node oor:name="Path"> |
Revision as of 07:29, 13 June 2008
- Apache OpenOffice Basic Macros and Libraries
- Apache OpenOffice Extension Manager
- Adding Template Files to an Apache OpenOffice Installation
- Adding AutoText Files to an Apache OpenOffice Network Installation
- Deactivating the Apache OpenOffice Registration Wizard
- Accessing Email Clients
- Customizing the User Interface
- Restricting Functionality in Apache OpenOffice
- Accessing Apache OpenOffice User Profiles on an LDAP Server
You can make custom document templates available to all users or to individual users of a network installation of Apache OpenOffice. You can also make specific directories for document templates available to these users.
To Add a Template For All Users of a Apache OpenOffice Network Installation
- Become root.
- Copy the template to the network-install-dir/share/template/ directory.
To Add a Template to a Workstation Installation of Apache OpenOffice
- Become root.
- Copy the template to the install-dir/user/template/ directory on the workstation.
To Add a Template Directory to an Apache OpenOffice Installation
- In any Apache OpenOffice program, choose Tools → Options → Apache OpenOffice → Paths.
- In the list of default paths, select Templates, and then click Edit.
- In the Select Paths dialog box, click the Add button.
- Locate the template directory that you want to add and click OK.
- In the Select Paths dialog box, click the OK button.
- In the Options → Apache OpenOffice → Paths dialog box, click OK.
- Exit Apache OpenOffice.
Apache OpenOffice saves the template path to the install-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 Apache OpenOffice network installation, copy the code into the install-dir/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 install-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). |