Outline Styles

  REMINDER  

 In InfoQube grids, formatting is structured as a hierarchy. In increasing order of precedence, these are:

  1. Overall default grid font
  2. Grid specific font
  3. Item format: Applies to the whole item or to specific column(s)
  4. Outline styles (may or may not override Item format above)
  5. Embedded format: Applies to text selections inside cells
  6. Conditional format for individual cells

Outline Styles

Outline styles provides a quick way to automatically format your outlines:
 
 

1- Managing Styles

Styles are just regular items with the OutlineStyles field checked.
 
To manage styles, the simplest way is to create a grid with OutlineStyles as its source:
 
 
  • The OutlineStyles grid can be renamed Styles if desired. IQ will search for either of these grids to manage styles
    If such a grid does not exist, it will open the Scratch grid and show the style items.
  • To create styles, create a hierarchy of items.
  • The first level is the style name.
  • For other levels,  the actual item text is not used. Using Level x is a good choice.
  • Use the formatting toolbar to format each level
  • All item level formatting are allowed:
    • Font face and size
    • Bold, italic, underline, strikethrough attributes
    • Text foreground color
    • Item background color
In this example, 3 styles are defined: First Level Bold, Standard and Fancy. 
 
 

Using Styles

Using styles is really simple:
  • Use Grid > Outline Style menu (or toolbar dropdown button) to select the style or "(none)"
  • Override Item Settings allows to choose from:
    • Checked: Outline style is applied to all items. Grid and Item formatting are completely ignored. 
    • Unchecked: item format merges grid, item and style formats
Using such styles it is possible to switch between these 3 views in seconds !
(left: no style, middle: Standard, right: Fancy)
 
  

Notes :

  • Override Item Settings is useful to hide item specific formatting. Useful when printing or sending the outline to a colleague.
     
  • When using Outline styles, Zoom in / out may not do anything (if the style specifies the font size). Also, item formatting is possible, however if Override Item Settings is checked, the grid will not show the item format of course.
     
  • To properly manage styles, avoid applying an outline style to the OutlineStyles grid !
     
  • After changes to a style, switch to the grid which uses it and either (1) re-apply the style or (2) press F5 to refresh.
     
  • The same item hierarchy can generate more than one style.
    In the above example, if under the Fancy style, the Level 3 item has OutlineStyles field checked, it will also appear in the menu, and it's sub-items will be used (rename it to something more meaningful if desired)