Skip Headers
Oracle® Fusion Middleware Template Editor Guide for Dynamic Converter
11g Release 1 (11.1.1)
E10635-01
  Go To Documentation Library
Library
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

1 Introduction

The following topics are covered in this section:

1.1 About Templates

A template is a set of formatting instructions you can associate with a source document. When you check a document into Content Server, you either associate it with a default conversion template, or you can create a new customized template.

The following template options are available:

After you have chosen a template type to associate with your document, and named the template, you can edit the template. There are two template editing utilities for customizing the appearance of native documents converted to an HTML format. These template editors are used to control the look and feel of the web pages you create.

To turn a source document into a web page, you can use the default settings to perform a conversion. Alternatively, you can create a template, associate it with the document, and then edit the template, using one of the two template editor options.

1.2 About the Classic HTML Conversion Editor

The Classic HTML Conversion Editor provides a graphical user interface (GUI) to control the template settings available. It is downloaded onto the client machine the first time the Edit Template button is clicked on either the Edit Templates page or Template Selection Rules page. It is an ActiveX control that must be run on Microsoft Windows with Internet Explorer 4.0 or higher present.


Note:

The Classic HTML Conversion Editor software is installed in the following location: C:\Program Files\Oracle\Content Server\Template Editor\11gR1.

1.2.1 Template Editing Options

You work with the template associated with a document to create a set of instructions that will determine how the source document will look when turned into a web page. Some instructions are applied to the template itself. Most are applied to the individual elements that reside in each template.

There are four options for editing templates:

  • Element Setup: This option allows you to manage elements. You can create new elements, ranks, styles, or patterns; and create metadata to include information about your source documents in the Web pages you create and in the Head of your output HTML. You can change the relationships between elements and the ranks in your template (and any styles or patterns you may create). See Chapter 2, "Element Setup" for more information.

  • Formatting: This contains numerous options for formatting the text in your source document. When you create Web pages, you'll spend much of your time in the Character and Paragraph tab dialogs, in particular, formatting each element in the template. Additional formatting options are available in these two tab dialogs when Cascading Style Sheets (CSS) are turned on. See Chapter 3, "Formatting" for more information.

  • Navigation: This option is where you set links for the pages of your Web page, either for Web pages (Page Button Bar and Page Text Bar tab dialogs) or individual elements (Element Button Bar and Element Text Bar tab dialogs). Optional navigation buttons include the ability to open the source document used to create a Web page in its native format. See Chapter 4, "Navigation" for more information.

  • Globals: These settings are generally for the Web page as a whole, and include inserting an address to appear at the end of your Web page. Some settings in the Options tab dialog are template-based, for example, whether or not to allow CSS in your template. See Chapter 5, "Globals" for more information.

1.3 About the HTML Conversion Editor

The HTML Conversion Editor's primary goal is setting options that allow you to produce faithful representations of source files using the HTML, GIF, JPEG, and PNG formats. You can use the HTML Conversion Editor to set various options that affect the content and structure of the output.

The HTML Conversion Editor is Java-based and can run in any browser instance where a JRE is present. It is downloaded onto the client machine when the Edit Template button is clicked on either the Edit Templates page or Template Selection Rules page. With some browsers, such as Firefox, you may be prompted for how to handle the file dc_hcmapedit.jnlp. The correct way to open this file is with Java(TM) Web Start Launcher (default).

Here are some of the advantages of the HTML Conversion Editor:

1.3.1 Template Editing Options

The HTML Conversion Editor gives you broad control over how a template interprets a source document and converts it to HTML.

There are four main HTML Conversion Editor pages for editing templates:

  • Document Formatting: This page contains several tabs that allow you to customize the formatting of your converted files according to file type. See Chapter 6, "Document Formatting," for more information.

  • Document Properties: This section of the HTML Conversion Editor allows you to specify predefined and custom document properties to be placed in the head or body of the document. See Chapter 7, "Document Properties," for more information.

  • Generated Content: Generated content is made up of two kinds of elements: Text Elements, which define special formatting in the output; and Navigation Elements, which help automatically generate navigation links. See Chapter 8, "Generated Content," for more information.

  • Output Pages: The Output Pages section contains options for defining HTML Output, including markup items, and formatting of text, page layouts, and navigation layouts. See Chapter 9, "Output Pages," for more information.