<< Chapter < Page Chapter >> Page >

Applying the template to an existing document

To apply the template to an existing document, create a new blank document with the OpenOffice Importer template styles as described in "Creating a New Document with the Template" . Once you have done so, you can copy and paste the text from your original document into the new blank document as follows. Go to the Edit menu in the original OpenOffice Writer document and select the Select All option. Then go to the Edit menu in the original OpenOffice Writer document again and select the Copy option. This copies the text of the original document to your system clipboard. Next, go to the Edit menu in the new blank OpenOffice Writer document with the OpenOffice Importer template styles and select the Paste option. The text of the original document is now copied into your new document, and you can begin modifying it with OpenOffice Importer style information as described in the next section.

Using styles in openoffice writer

You can see the styles available to you with the template by going to the Format menu and selecting the Styles and Formatting option. This brings up the "Styles and Formatting" box. Paragraph styles (such as Heading 1 , Heading 2 , and CNXML Quote ) are available by clicking on the leftmost icon at the top of the box. Character styles (such as CNXML Emphasis , CNXML Code , and the rest of the application-specific styles) are available by clicking on the second-leftmost icon at the top of the box .

Styles and Formatting dialog box, paragraph styles showing.
Paragraph styles.
Styles and Formatting dialog box, character styles showing.
Character styles.

To apply a style to a specific piece of text, you follow the instructions below:

  1. Select the appropriate style from the "Styles and Formatting" box.
  2. Make sure the "Fill Format Mode" tool is selected in the "Styles and Formatting" box (appears as the paint bucket icon in the figure above.
  3. Highlight the text to which you wish to apply the style, and it will be applied.

What can i import?

Text markup using the template styles

We can use the text styles provided by the template to generate Connexions text markup tags when the document is imported.

Emphasis

The CNXML Emphasis style is used to give emphasis to important text. Use this style where you would have used bold or italics to emphasize particular words or phrases. Note that boldface and italicized text will both import as an emphasis tag with the appropriate effect attribute.

Foreign

The CNXML Foreign style allows us to designate a term which is in another language than the rest of the text. We can also point its usage at a website of our choice by marking it as a hyperlink in addition to CNXML Foreign . This will produce foreign text in a module.

Code

With the CNXML Code style, we can designate inline text as code written in a computer programming language. Use CNXML Code (Block) to designate blocks of code that should be set off from surrounding text.

Cite

The CNXML Cite style allows us to refer to non-electronic sources. If you are using Microsoft Word to prepare your document, you can cite a hyperlinked source by marking it as a hyperlink and then applying CNXML Cite . This is produce a citation in Connexions.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, User guide for ncpea connexions authors. OpenStax CNX. Aug 24, 2009 Download for free at http://cnx.org/content/col10304/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'User guide for ncpea connexions authors' conversation and receive update notifications?

Ask