Developer Documentation Library > Data Model > UNICOM Intelligence Data Model accessories > Questionnaire Viewer > Customizing the Questionnaire Viewer > Questionnaire Viewer styles
 
Questionnaire Viewer styles
The following list provides some information about the styles used in the mdd.xslt file. However, note that the styles interact with each other. Some of the styles relate to elements that act as containers, or parents, to other elements. When you set a value in a style for the parent element, the value will cascade to all of the associated child elements. You can override the styles that are inherited from the parent element by setting the corresponding attributes on the styles that relate to the child elements.
Styles
array
Controls the formatting of loops.
background
Defines the border around the page that is defined by the paper style. The default style defines a wide gray border. You can remove the border by setting the padding to 0.
body
Defines the non-scrolling area (which is blue by default) and the default font to be used.
bottom-banner
Controls the formatting of the non-scrolling banner in the lower part of browser.
categories
Controls the formatting of the category texts in categorical questions and some attributes (including color) of the category check box symbols. Does not control the formatting of the categories in grid or compound questions.
category
Controls the formatting of the category texts in categorical questions and some attributes (including color) of the category check box symbols. Does not control the formatting of the categories in grid or compound questions.
compound
Not used.
copyright
Controls the formatting of the copyright statement.
dot
Controls the formatting of the decimal symbol in real questions.
grid
Controls the formatting of the category and subquestion texts in grid, numeric grid, and compound questions.
grid-category
Controls the formatting of the category or subquestion list in grid, numeric grid, and compound questions.
grid-cell
Controls the formatting of the check box symbols in categorical grid questions.
grid-cell-head
Controls the formatting of the category or subquestion texts that appear across the top of grid, numeric grid, and compound questions.
info
Controls the formatting of the information items in the questionnaire. Information items include headings, greetings, and closing texts.
name
Controls the formatting of the question names.
numeric-box
Controls the formatting of the response boxes for numeric and numeric grid questions.
other
Controls the appearance of the line used for Other Specify questions.
paper
Defines the area on which the questionnaire is displayed. The default style defines a white page with a narrow black border. Changing the color (which is black by default), changes the font color for most of the texts in the questionnaire. However, some texts are not affected (for example, category and subquestion texts in grid questions).
properties
Controls the display of the question properties. By default, these are hidden. This feature is not fully implemented and if you make the properties visible you will find that they are not displayed in a usable form.
properties-header
Controls the display of the properties header. When the properties are hidden, the header is automatically hidden as well.
qlabel
Controls the formatting of question and information item texts.
question
Controls the formatting of the question texts, category texts, and some attributes (including the color) of the symbols that represent the check boxes in categorical questions.
range
Controls the formatting of numeric question ranges. These show the minimum and maximum valid values for numeric and numeric grid questions.
symbol
Controls the formatting of the symbols used for check boxes in categorical and grid questions.
text-line
Controls the appearance of the line used to represent the answer portion of open-ended questions.
top-banner
Controls the formatting of the non-scrolling banner at the top of browser.
See also
Questionnaire Viewer
To customize the Questionnaire Viewer
Using Questionnaire Viewer with Word
Customizing the Questionnaire Viewer