|
Editing Default Styles and Using Templates
From NeoWiki
Revision as of 10:36, 28 May 2005 (edit) Sardisson (Talk | contribs) m (category) ← Previous diff |
Current revision (17:50, 10 October 2009) (edit) (undo) ( | contribs) (→Saving the Template - Correct typo) |
||
(50 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
- | Both OpenOffice.org and NeoOffice | + | Both OpenOffice.org and NeoOffice save styles in individual documents, and any modification of them (or the default document style) is only saved in the document that is active when editing the styles. This is highly impractical for those who want to develop their own consistent look and feel. |
- | The following instructions apply equally to NeoOffice | + | The following instructions apply equally to NeoOffice and OpenOffice.org |
== Setting the Default Style, Layout and Styles Available in New Documents == | == Setting the Default Style, Layout and Styles Available in New Documents == | ||
- | To install a standard style for every new document, you should create and save a template for each component of NeoOffice | + | To install a standard style for every new document, you should create and save a template for each component of NeoOffice ([[NeoWriter]], [[NeoCalc]] and [[NeoImpress]]) that you intend to use. |
These templates should contain '''all''' of the defaults that you want, such as: | These templates should contain '''all''' of the defaults that you want, such as: | ||
Line 16: | Line 16: | ||
*''etc.'' | *''etc.'' | ||
- | You can easily build a template by opening a new document and setting all the defaults you want. For default fonts, be sure to set the font in the '''Default''' style, from which nearly all other styles are derived. | + | You can easily build a template by opening a new document and setting all the defaults you want. |
+ | |||
+ | For default fonts, be sure to set the font in the '''Default''' style (open the Stylist—choose '''Styles and Formatting''' from the '''Format''' menu, or use the toolbar button—then right-click "Default" in the list of styles and choose '''Modify…''' from the context menu), from which nearly all other styles are derived. | ||
+ | |||
+ | See [[Creating Calc Templates]] and [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=9088#9088 this post on trinity for a set-by-step explanation for Calc]. | ||
==== Saving the Template ==== | ==== Saving the Template ==== | ||
- | You should then save it | + | You should then save it using the item in the {{menu|Template}} sub-menu: in the {{menu|File}} menu, select {{menu|Templates}} and then {{menu|Save}}. It should now be located in this folder on your disk: <tt>~/Library/Preferences/NeoOffice-2.1/user/template/</tt><br>(for NeoOffice 2.0 Aqua Beta, <tt>~/Library/Preferences/NeoOffice-2.x/user/template/</tt>). <!-- this needs to be re-written --> |
- | <br> | + | |
- | + | '''Note that you cannot save templates to the "Presentations" or "Presentation Backgrounds" categories that come "prepackaged" with NeoOffice. You can only add templates to "My Templates" or a category you create.''' | |
- | <tt>~/Library/Preferences/ | + | |
==== Setting a Template as the Default Template for a Component ==== | ==== Setting a Template as the Default Template for a Component ==== | ||
- | Once you have saved your template do the following: | + | Once you have saved your template, do the following: |
- | * Go to | + | * Go to {{menu|File}} menu, open the {{menu|Templates}} submenu, and select {{menu|Organize}} |
- | * Open | + | * Open the "My Templates" folder by double clicking on the folder in the left part of the window |
- | * Right-click or control-click or use the | + | * Select the template you want from the opened folder |
+ | * Right-click or control-click or use the {{button|Commands}} button and select {{menu|Use as default template}} | ||
+ | |||
+ | ==== Resetting the NeoOffice Default Template as the Default Template ==== | ||
+ | * Go to {{menu|File}} menu, open the {{menu|Templates}} submenu, and select {{menu|Organize}} | ||
+ | * Click on any folder in the left part of the window | ||
+ | * Right-click or control-click or use the {{button|Commands}} button, and select {{menu|Reset Default Template}} and the NeoOffice component such as {{menu|Text Document}} | ||
== Using Templates in Other Locations == | == Using Templates in Other Locations == | ||
Line 36: | Line 45: | ||
You can also use files located in other folders or drives if you select '''File''' -> '''Templates''' -> '''Organize''' and use the ''' 'File' ''' button. This enables you to share templates stored on a central server. | You can also use files located in other folders or drives if you select '''File''' -> '''Templates''' -> '''Organize''' and use the ''' 'File' ''' button. This enables you to share templates stored on a central server. | ||
- | The advantage of using templates in NeoOffice | + | The advantage of using templates in NeoOffice and OpenOffice.org is that you will be notified when a template that you have based a document on has been changed. You will be asked if you want to update the document to the new template. If you approve, the new settings will be applied immediately. |
''Note: if you do not update a document based on a changed template, the link between the document and template will be broken and you will never be asked again.'' | ''Note: if you do not update a document based on a changed template, the link between the document and template will be broken and you will never be asked again.'' | ||
- | Also note that NeoOffice | + | Also note that NeoOffice will not ask you to save templates after editing any document, so you do not run the risk of changing your default templates as with Microsoft Word. You must deliberately edit a template to update it. |
+ | |||
+ | ==Importing Templates== | ||
+ | If you have downloaded templates or are moving templates from another computer, you either of these two methods ti import them: | ||
+ | |||
+ | Method One: | ||
+ | #Quit NeoOffice if it is running | ||
+ | #Move the files to <tt>~/Library/Preferences/NeoOffice-2.2/user/template/</tt> | ||
+ | ##If you have sub folders in the "template" folder, you can also move the template files to these folders, and they should appear in the Organize dialog box in the appropriate folder. | ||
+ | #Open NeoOffice, click on the '''File''' menu, choose '''Templates''' and '''Organize''' | ||
+ | #Double click on the folder "My Templates" and make sure that the templates appear | ||
+ | |||
+ | Method Two: | ||
+ | #In NeoOffice, under the '''File''' menu, move down to '''Templates''' and select '''Organize'''. | ||
+ | #If necessary, create a new folder or folders for your templates. | ||
+ | #Select the folder/category you want the tempates to be imported into | ||
+ | ##Note that you cannot import templates into "Presentations" or "Presentation Backgrounds" | ||
+ | #Click on {{button|Commands}} and chose {{prefName|Import...}} | ||
+ | #A typical Mac {{Window|Open}} dialog box appears. Navigate to the location of your templates and select the template or templates you want to import. (You can select more than one template at a time as long as they are in the same location) | ||
+ | |||
+ | ==Using Microsoft Office Templates== | ||
+ | <!--http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=25014#25014 this tip] | ||
+ | -->To Add Microsoft Office templates in to NeoOffice's collection of templates: | ||
+ | |||
+ | #Open an Office template in NeoOffice | ||
+ | #Under the '''File''' Menu, select '''Templates''' and then '''Save.''' | ||
+ | #In the resulting dialog box, select the category (folder) you want, and give the template a name. | ||
+ | #*To create a new category, click on the "Commands" button and choose "New" Give the new category a name | ||
+ | |||
+ | |||
+ | If you have lots of Office Templates, you can: | ||
+ | #Go under the '''File''' menu to '''Wizards''' and choose '''Document Converter.''' | ||
+ | #Walk through the steps in the wizard, and it will convert your Office documents to Open Document formats. | ||
+ | #Return to the '''File''' menu to '''Templates''' and select '''Organize.''' Choose the category (folder) you want | ||
+ | #*You can create a new folder by pressing the "Commands button" and choosing "New.") | ||
+ | #Press the "Commands button" and choose "Import template" | ||
+ | #*Note that you must have selected a folder in order for this option to show up. | ||
+ | #Navigate to the converted templates you want to add to the organizer, and click "save." | ||
+ | #Repeat these last two steps until all of your templates are added. | ||
+ | |||
+ | |||
+ | '''Note that you cannot add templates to the "Presentations" or "Presentation Backgrounds" categories that come "prepackaged" with NeoOffice. You can only add templates to "My Templates" or a category you create.''' | ||
+ | |||
+ | ==Creating Language Templates== | ||
+ | If you often work in a language other than your default language, you may find it easier to create a template for that language. That way, you won't have to remember to return to Preferences and reset the languages every time. | ||
+ | Before you try to follow these instructions, acquaint yourself with the section titled [[Editing Default Styles and Using Templates#Setting the Default Style, Layout and Styles Available in New Documents|"Setting the Default Style, Layout and Styles Available in New Documents"]] at the start of this page. | ||
+ | When you are confident about how to create a template, it is easy to create one for a different language. This is how you would create a template for Italian. | ||
+ | |||
+ | ====Selecting the Language==== | ||
+ | #Open a new document. | ||
+ | #Make any changes you want to styles, etc. | ||
+ | #When the document is formatted as you wish, click {{menu|NeoOffice}} on the Menu bar and select {{prefName|Preferences}}. | ||
+ | #Click the flippy triangle to the left of {{section|Language Settings}} to disclose the options. | ||
+ | #Click on {{prefName|Languages}}. | ||
+ | #The {{Window|Options - Language Settings - Languages}} window opens. | ||
+ | '''Note: You can leave the {{section|User interface language}} unchanged as this determines the language in which NeoOffice communicates with you.''' | ||
+ | #Click the arrows at the right of {{section|Locale setting}} and scroll through the list until you reach {{prefName|Italian}}. | ||
+ | #Click on {{prefName|Italian}}. | ||
+ | #On the line {{section|Decimal Separator key}}, click on the box in front of {{prefName|Same as locale setting}}. | ||
+ | '''Note: When Italian is the language selected, the {{section|Default currency}} will show Euro. It changes according to the language selected.''' | ||
+ | #Under {{section|Default languages for documents}}, click on the arrows to the right of the box and scroll through the list until you find {{prefName|Italian}}. | ||
+ | #Click on {{prefName|Italian}}. | ||
+ | #Click the box in front of {{prefName|For the current document only}}. | ||
+ | '''Note: This prevents the selected language from being used for all subsequent documents.''' | ||
+ | #Click {{prefName|OK}} to save the changes. | ||
+ | |||
+ | ====Saving the Document as a Template==== | ||
+ | #On the Menu bar, click {{menu|File}}. | ||
+ | #Move the cursor down to {{prefName|Templates}}. | ||
+ | #Select {{prefName|Save}}. | ||
+ | #Click on {{prefName|Save}}. | ||
+ | #The {{Window|Templates}} window opens. At the top, type in the name for the template. I chose Write It Default. | ||
+ | '''Note: All templates are stored in the same place so it is helpful to include the name of the component (i.e. Write, Calc...) in the template name.''' | ||
+ | #Click {{prefName|OK}} to save the template. | ||
+ | #Close the blank document you have been working on without saving it by clicking on the red button at the top left of the document. | ||
+ | |||
+ | ==Resources for Styles and Templates== | ||
+ | The following are a collection of sources to help you use styles, clipart, and templates in NeoOffice and OpenOffice.org, including links to collections of templates and clipart. | ||
+ | |||
+ | ===Documentation and tips on using styles=== | ||
+ | * [http://documentation.openoffice.org/manuals/oooauthors/IntroStyles.pdf OOoAuthors Intro to Styles] | ||
+ | * [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=24561#24561 Detailed post] walking through the creation of a pleading paper template (Plus two other threads on pleading papers: [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=4552 thread one] [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=15444#15444 thread two]) | ||
+ | |||
+ | ===Sources of document templates=== | ||
+ | Also check the component pages ([[NeoWriter]], [[NeoCalc]], [[NeoBase]], [[NeoImpress]], and [[NeoDraw]]) for templates specific to those components. [http://www.linuxjournal.com/content/openofficeorg-template-collections Bruce Byfield] has a good article "reviewing" some of these template sites in detail. | ||
+ | |||
+ | * [http://documentation.openoffice.org/Samples_Templates/User/template/index.html Assorted templates from OpenOffice.org itself] | ||
+ | * [http://documentation.openoffice.org/Samples_Templates/User/template_2_x/index.html Additional templates from OpenOffice.org] (all in OpenDocument formats) | ||
+ | * [http://www.worldlabel.com/Pages/openoffice-template.htm Label templates for OpenOffice.org] | ||
+ | * [http://smalldataproblem.org/ooextras/ OOExtras] | ||
+ | :Label and Impress templates are available from the top page. Templates for other modules are sorted by language (Czech, English, French, German and Italian). | ||
+ | * [http://www.kde-files.org/index.php?xcontentmode=630x631x632x633x634 Assorted templates] | ||
+ | * [http://europass.cedefop.eu.int/europass/home/hornav/Downloads/EuropassCV/CVTemplate/navigate.action European CV templates in 25 languages] | ||
+ | * [http://www.softforall.com/BusinessFinance/Applications/Employee_Scheduler_for_Excel_and_OpenOffice02010587.htm Employee Scheduler] | ||
+ | * [http://www.squirrel.nl/people/jvromans/OOo/examples.html OpenOffice.org Example Documents] | ||
+ | :CD labels, CD Envelope, and Initial Dialog Template and Macros for creating standard forms where the user is prompted for certain information upon opening, e.g. an address. | ||
+ | * Assorted templates: [http://de.openoffice.org/unbranded-source/browse/*checkout*/de/documentation/vorlagen/vorlagen_de_opendoc.zip ODF format], [http://de.openoffice.org/unbranded-source/browse/*checkout*/de/documentation/vorlagen/vorlagen_de_sissl.zip ST* format] (direct downloads) [de] | ||
+ | * [http://www.office-center-epj.de/ Assorted templates] [de] | ||
+ | *[http://sourceforge.net/project/showfiles.php?group_id=170021&package_id=208656 OxygenOffice Professional] :Packages of templates in many languages. For information on how to import them using the Extensions Manager, see [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=4152 this tread at trinity.] | ||
+ | * [http://globalspecials.sun.com/servlet/ControllerServlet?Action=DisplayPage&Env=BASE&Locale=en_US&SiteID=sunstor&id=ProductDetailsPage&productID=54008200 Professional Template Pack for OpenOffice.org] $6.95, from the Sun Store | ||
+ | * [http://extensions.services.openoffice.org/search/node/template OpenOffice.org Extensions] | ||
+ | :Templates packaged as extensions. | ||
+ | |||
+ | ===Sources of clipart=== | ||
- | + | Please see the [[Using Clipart]] article for information about obtaining and using clipart with NeoOffice. | |
- | + | ||
+ | {{botlangbarEN|[[Fr:Comment_éditer_les_styles_par_défaut_et_utiliser_les_modèles|Français]] [[It:Modifica_degli_Stili_Standard_e_Uso_dei_Modelli|Italiano]] [[Es:C%C3%B3mo_editar_estilos_o_usar_plantillas|Español]]}} | ||
- | [[Category:Tips and Hints]][[Category:NeoOffice | + | [[Category:Tips and Hints]][[Category:NeoOffice]][[Category:OpenOffice.org]] |
Current revision
Both OpenOffice.org and NeoOffice save styles in individual documents, and any modification of them (or the default document style) is only saved in the document that is active when editing the styles. This is highly impractical for those who want to develop their own consistent look and feel.
The following instructions apply equally to NeoOffice and OpenOffice.org
Contents |
Setting the Default Style, Layout and Styles Available in New Documents
To install a standard style for every new document, you should create and save a template for each component of NeoOffice (NeoWriter, NeoCalc and NeoImpress) that you intend to use.
These templates should contain all of the defaults that you want, such as:
- Default fonts
- Margins
- Page sizes/orientations
- Styles
- Languages
- Any required metadata (File -> Properties)
- etc.
You can easily build a template by opening a new document and setting all the defaults you want.
For default fonts, be sure to set the font in the Default style (open the Stylist—choose Styles and Formatting from the Format menu, or use the toolbar button—then right-click "Default" in the list of styles and choose Modify… from the context menu), from which nearly all other styles are derived.
See Creating Calc Templates and this post on trinity for a set-by-step explanation for Calc.
Saving the Template
You should then save it using the item in the Template sub-menu: in the File menu, select Templates and then Save. It should now be located in this folder on your disk: ~/Library/Preferences/NeoOffice-2.1/user/template/
(for NeoOffice 2.0 Aqua Beta, ~/Library/Preferences/NeoOffice-2.x/user/template/).
Note that you cannot save templates to the "Presentations" or "Presentation Backgrounds" categories that come "prepackaged" with NeoOffice. You can only add templates to "My Templates" or a category you create.
Setting a Template as the Default Template for a Component
Once you have saved your template, do the following:
- Go to File menu, open the Templates submenu, and select Organize
- Open the "My Templates" folder by double clicking on the folder in the left part of the window
- Select the template you want from the opened folder
- Right-click or control-click or use the Commands button and select Use as default template
Resetting the NeoOffice Default Template as the Default Template
- Go to File menu, open the Templates submenu, and select Organize
- Click on any folder in the left part of the window
- Right-click or control-click or use the Commands button, and select Reset Default Template and the NeoOffice component such as Text Document
Using Templates in Other Locations
You can also use files located in other folders or drives if you select File -> Templates -> Organize and use the 'File' button. This enables you to share templates stored on a central server.
The advantage of using templates in NeoOffice and OpenOffice.org is that you will be notified when a template that you have based a document on has been changed. You will be asked if you want to update the document to the new template. If you approve, the new settings will be applied immediately.
Note: if you do not update a document based on a changed template, the link between the document and template will be broken and you will never be asked again.
Also note that NeoOffice will not ask you to save templates after editing any document, so you do not run the risk of changing your default templates as with Microsoft Word. You must deliberately edit a template to update it.
Importing Templates
If you have downloaded templates or are moving templates from another computer, you either of these two methods ti import them:
Method One:
- Quit NeoOffice if it is running
- Move the files to ~/Library/Preferences/NeoOffice-2.2/user/template/
- If you have sub folders in the "template" folder, you can also move the template files to these folders, and they should appear in the Organize dialog box in the appropriate folder.
- Open NeoOffice, click on the File menu, choose Templates and Organize
- Double click on the folder "My Templates" and make sure that the templates appear
Method Two:
- In NeoOffice, under the File menu, move down to Templates and select Organize.
- If necessary, create a new folder or folders for your templates.
- Select the folder/category you want the tempates to be imported into
- Note that you cannot import templates into "Presentations" or "Presentation Backgrounds"
- Click on Commands and chose Import...
- A typical Mac Open dialog box appears. Navigate to the location of your templates and select the template or templates you want to import. (You can select more than one template at a time as long as they are in the same location)
Using Microsoft Office Templates
To Add Microsoft Office templates in to NeoOffice's collection of templates:
- Open an Office template in NeoOffice
- Under the File Menu, select Templates and then Save.
- In the resulting dialog box, select the category (folder) you want, and give the template a name.
- To create a new category, click on the "Commands" button and choose "New" Give the new category a name
If you have lots of Office Templates, you can:
- Go under the File menu to Wizards and choose Document Converter.
- Walk through the steps in the wizard, and it will convert your Office documents to Open Document formats.
- Return to the File menu to Templates and select Organize. Choose the category (folder) you want
- You can create a new folder by pressing the "Commands button" and choosing "New.")
- Press the "Commands button" and choose "Import template"
- Note that you must have selected a folder in order for this option to show up.
- Navigate to the converted templates you want to add to the organizer, and click "save."
- Repeat these last two steps until all of your templates are added.
Note that you cannot add templates to the "Presentations" or "Presentation Backgrounds" categories that come "prepackaged" with NeoOffice. You can only add templates to "My Templates" or a category you create.
Creating Language Templates
If you often work in a language other than your default language, you may find it easier to create a template for that language. That way, you won't have to remember to return to Preferences and reset the languages every time. Before you try to follow these instructions, acquaint yourself with the section titled "Setting the Default Style, Layout and Styles Available in New Documents" at the start of this page. When you are confident about how to create a template, it is easy to create one for a different language. This is how you would create a template for Italian.
Selecting the Language
- Open a new document.
- Make any changes you want to styles, etc.
- When the document is formatted as you wish, click NeoOffice on the Menu bar and select Preferences.
- Click the flippy triangle to the left of Language Settings to disclose the options.
- Click on Languages.
- The Options - Language Settings - Languages window opens.
Note: You can leave the User interface language unchanged as this determines the language in which NeoOffice communicates with you.
- Click the arrows at the right of Locale setting and scroll through the list until you reach Italian.
- Click on Italian.
- On the line Decimal Separator key, click on the box in front of Same as locale setting.
Note: When Italian is the language selected, the Default currency will show Euro. It changes according to the language selected.
- Under Default languages for documents, click on the arrows to the right of the box and scroll through the list until you find Italian.
- Click on Italian.
- Click the box in front of For the current document only.
Note: This prevents the selected language from being used for all subsequent documents.
- Click OK to save the changes.
Saving the Document as a Template
- On the Menu bar, click File.
- Move the cursor down to Templates.
- Select Save.
- Click on Save.
- The Templates window opens. At the top, type in the name for the template. I chose Write It Default.
Note: All templates are stored in the same place so it is helpful to include the name of the component (i.e. Write, Calc...) in the template name.
- Click OK to save the template.
- Close the blank document you have been working on without saving it by clicking on the red button at the top left of the document.
Resources for Styles and Templates
The following are a collection of sources to help you use styles, clipart, and templates in NeoOffice and OpenOffice.org, including links to collections of templates and clipart.
Documentation and tips on using styles
- OOoAuthors Intro to Styles
- Detailed post walking through the creation of a pleading paper template (Plus two other threads on pleading papers: thread one thread two)
Sources of document templates
Also check the component pages (NeoWriter, NeoCalc, NeoBase, NeoImpress, and NeoDraw) for templates specific to those components. Bruce Byfield has a good article "reviewing" some of these template sites in detail.
- Assorted templates from OpenOffice.org itself
- Additional templates from OpenOffice.org (all in OpenDocument formats)
- Label templates for OpenOffice.org
- OOExtras
- Label and Impress templates are available from the top page. Templates for other modules are sorted by language (Czech, English, French, German and Italian).
- Assorted templates
- European CV templates in 25 languages
- Employee Scheduler
- OpenOffice.org Example Documents
- CD labels, CD Envelope, and Initial Dialog Template and Macros for creating standard forms where the user is prompted for certain information upon opening, e.g. an address.
- Assorted templates: ODF format, ST* format (direct downloads) [de]
- Assorted templates [de]
- OxygenOffice Professional :Packages of templates in many languages. For information on how to import them using the Extensions Manager, see this tread at trinity.
- Professional Template Pack for OpenOffice.org $6.95, from the Sun Store
- OpenOffice.org Extensions
- Templates packaged as extensions.
Sources of clipart
Please see the Using Clipart article for information about obtaining and using clipart with NeoOffice.