Skip to main content
Mitratech Success Center

Create a Style Sheet

This example describes how to create a simple Style Sheet which uses the font Verdana and changes the Document and Page Index Field colours to shades of blue.

  1. In the tree view, expand Data Definitions and Search Templates then select and right-click Style Sheet.
  2. From the drop-down list, select New.
  3. On the Style Sheet Editor's General Properties tab, enter a Name for the new Style Sheet which makes it easily identifiable. In this example Verdana Blue.
  4. A Style Sheet consists of the following sections:
  • Appearance
  • Colours
  • Page Layout
  • Paper Settings

Appearance

  1. Expand Appearance (if necessary) to display the Font.
  2. Right To Left should be set to True only for right to left languages such as Arabic.
  3. Text Language select either ANSI or Arabic, as appropriate.

Font

  1. Select the font Family Name from the drop-down list, in this example, Verdana.
  2. Select the Size you want the font to be, in this example, 12 pt.
  3. The Style can be changed between Normal, Italic or Oblique, in this example Normal.
  4. The Weight can be selected from a list of supported line weights ranging from Thin to Extra Black, in this example, Normal.

Colours

  1. Area Selection Colour – defines the colour when an area of a document is selected in Indexing Studio. In this example, leave it at the default value.
  2. Data Item Document Index Field Colour – changes the colour of the Content field data for Document-level Indexes. In this example, click the Web tab and select Dodger Blue.
  3. Data Item Page Index Field Colour – changes the colour of the Content field data for Page-level Indexes. In this example, click the Web tab and select Blue.
  4. Parameter Field Colour – changes the colour of supplied parameter fields in Searching Client. For example, if you set this to the colour red, when you search for a value, retrieved values will be displayed in red in the document. In this example, leave it at the default value.
  5. Find Text Search Colour – changes the colour of the text matching the specified Find text value. This colour is also used to highlight content full text and sub-search matches when the navigation buttons are used to locate a match. In this example, leave it at the default value.
  6. Full Text Search Colour – changes the colour of the text matching the specified content full text search value. In this example, leave it at the default value.
  7. Result Hit Index Field Colour – changes the colour of search results in Searching Client.
  8. Text Sub Search Colour – changes the colour of the text matching the specified Text Sub- search value. In this example, leave it at the default value.
  9. Unhighlighted Colour – changes the default colour of text in Indexing Studio which has not been Indexed or highlighted. In this example, leave it at the default value.

Page Layout

  1. Intercharacter Spacing – changes the spacing between each letter on the page. Lowering this value (from the default value of 100) can make the text difficult to read. Increasing the value (from the default value of 100) can result in the text no longer fitting on the page and the page appearing to be blank. In this example, leave it at the default value.
  2. Interline Spacing – changes the spacing between each line of text. Increasing this value (from the default value of 100) can result in the text no longer fitting on the page. In this example, leave it at the default value.
  3. Left Offset – changes the size of the border on the left-hand side of the page. Adding a value here can result in some of the text no longer fitting on the page. In this example, leave it at the default value.
  4. Top Offset – changes the border at the top of the page. Adding a value here can result in some of the text no longer fitting on the page. In this example, leave it at the default value.

Paper Settings

  1. Paper Height – (in pixels) when Paper Size is set to Custom, this changes the height of the page. When Page Size is not set to Custom, this setting is ignored. In this example, leave it at the default value.
  2. Paper Size – changes the paper size to the selected standard or choose Custom and use Paper Height and Paper Width to set a custom page size. In this example, leave it at the default value.
  3. Paper Width – (in pixels) when Paper Size is set to Custom, this changes the width of the page. In this example, leave it at the default value.
  4. Portrait Orientation – when set to False, the page orientation is Landscape. When set to True, the page Orientation is Portrait. In this example, leave it at the default value.

When you have completed creating the Style Sheet, click Save to remember the settings, or Close to reject the settings and exit the Style Sheet Editor.

  • Was this article helpful?