<H1> to <H6>

  • This tag is used to mark header sections. Headers are types of paragraphs and so they accept the same attributes as paragraph tags.


<StyleRun>

The stylerun tag is used to change the current style. It accepts the following attributes:

Attribute

     Notes


fontsize
 
     The font size for subsequent content, expressed in points. Follow with "pt" to be explicit.
 
charspacing 
 
The character spacing for subsequent content
 
wordspacing
 
The word spacing for subsequent content.
 
justification
 
The justification for subsequent content.
 
hpos
 
The horizontal positioning for subsequent content.
 
bold  
 
      Whether to apply a synthetic bold style to subsequent content.
 
italic
 
Whether to apply a synthetic italic style subsequent content.

underline
 
Whether to underline subsequent content.

strike
 
Whether to apply a strike-through effect to subsequent content.

strike2

     Whether to apply a double strike-through effect to subsequent content.

outline
 
      Whether to outline subsequent content.



linespacing




The line spacing for subsequent content. Line spacing is zero by default, and can be positive or negative; it is a number in points that is added to the font size. This example shows 48 point text with linespacing of zero, +20 and -20.




 

 
paraspacing
 
The paragraph spacing for subsequent content.
 
Leftmargin
 
The left margin for subsequent content.
 
Indent

The indent for subsequent content.
 fixedwidth
  • A fixed with for the style run.
  • Each style run has a width. The width is normally determined by the size of the
  • characters in the text.
  • Under some situations it can be useful to assign a fixed width to the entire style run.
  • This can be used for aligning text and for bullet pointed lists.
 textrise
  • The text rise for subsequent content.
  • Positive values shift the text upwards. Negative values shift it downwards. The
  • textrise distance is measured in points.
 annots
  • Annotations associated with subsequent content.
  • You can use a link annotation to insert a hyperlink (eg
  • annots='link:http://www.google.com/').
  • You can use a goto annotation to insert a link to another page in the document (eg
  • annots='goto:3'). The number indicates the page number. Note that the destination
  • page must exist at the point at which the text is inserted.
  • You can use a text annotation to insert a textual note (eg annots='text:A note to be
  • inserted').
  • You can use highlight, squiggly, underline, and strikeout annotations for text markup. 
 dir 
  • The default reading direction.
  • Bi-directional text such as Hebrew or Arabic is laid out in the context of the default
  • reading direction.
  • You can specify left to right paragraph direction (eg dir=ltr), right to left paragraph
  • direction (eg dir=rtl), or use the default of none (eg dir=none).
 
  • Specify whether a line of text should  or not ='false' will keep all text on one line. If there is not enough room, text will either shrink to force-fit (if that option is chosen in the Format tab) or truncate (if the force-fit option is not selected).
 canbreakafter 
  • Characters at which lines may be broken.
  • For example to allow a break after hyphens or underscores you might use canbreakafter='-_'.
 breakengine
  • The default line breaking engine.
  • The line breaking engine determines at which points lines can be broken.
  • You can specify the Uniscribe line breaking engine (eg breakengine=uniscribe), the
  • Unicode line breaking engine (eg breakengine=unicode), or use the default of auto (eg breakengine=auto).
  • When auto is specified the Uniscribe engine is used .


<List>

    • This tag is used to indicate a list of items. Each list item consists of a marker and some text. Markers may be bullet points, numbers or letters.
    • Lists are types of paragraphs and so they accept the same attributes as paragraph tags. They also accept the following additional attributes:


Attribute

Notes

 itemindent 
  • The indent of the item text from the left of the marker. This value is measured in the current units.
  • By altering this property you can change the distance between the marker and the text.
  • The default is dynamically determined based on the type of marker and the size of the text.
 markerident 
  • The indent of the left of the marker from the current left of the surrounding text. This value is measured in the current units.
  • By altering this property you can alter the the indent distance for the markers in the list.
  • The default is dynamically determined based on the type of marker and the size of the text.
 start
  • Specifies the starting number for the first item in the list.
  • This is only used when ordered markers are specified.
  • The default is one.


 type 
  • Specifies the type of marker to use. You can use either ordered markers or unordered markers.
  • Ordered markers increment for each item in the list. You can use numbers (type=1),
  • lower case roman numerals (type=i), upper case roman numerals (type=I), lower case letters (type='a') or upper case letters (type=A).
  • Unordered markers are the same for each item in the list. You can specify bullet points (type=disk), hollow bullets (type=circle) or squares (type=square).
  • The default type is 'disk'.



<UL>

  • The UL tag is used to indicate an unordered list. Unordered lists are types of lists and so they accept the same attributes as list tags. The default marker is the bullet point but the marker will change as lists are nested within each other.


<OL>

  • The OL tag is used to indicate an ordered list. Ordered lists are types of lists and so they accept the same attributes as list tags. The default marker type is numeric.

<LI>

This tag is used to indicate an item within a list. It accepts the following attributes.

Attribute 

Notes 

 value
 
  • Specifies the number for this list item.
  • Subsequent items are numbered incrementally from this new value.
 type
 
  • Specifies the type of marker to use.
  • You can use the same types as you find in the type attribute of the list tag.



<B>

  • This tag is used to apply a bold text style to subsequent content.
  • This tag does not accept any attributes.


<I>

  • This tag is used to apply an italic text style to subsequent content.
  • This tag does not accept any attributes.


<U>

  • This tag is used to apply an underline text style to subsequent content.
  • This tag does not accept any attributes.


<Strike>

  • This tag is used to apply a strike-through text style to subsequent content.
  • This tag does not accept any attributes.


<Sup>

  • This tag is used to indicate text to be rendered as superscript.
  • This tag does not accept any attributes.


<Sub>

  • This tag is used to indicate text to be rendered as subscript.
  • This tag does not accept any attributes.


<Font>

  • The font tag is used to change the current font style. Fonts are types of styleruns and so they accept the same attributes as stylerun tags. 
  • They also accept the following additional attributes.


Attribute

     Notes 

 size                
 
  • The font size for subsequent content.
  • You can set absolute font size by specifying an integer (no decimals) ranging from one to seven (eg size=6). Or you can specify a font size relative to the current base font size (eg size="+1").
  • The "fontsize" attribute is preferred over this attribute because it specifies the font size in points.
 color
 
  • The color for subsequent content.
  • Colors are generally specified as RGB in hexadecimal notation (eg color="#FF0000") or as one of the standard color names (eg color="red").
  • You can specify grayscale colors by supplying only one component (eg color="#80") and CMYK colors by supplying four (eg color="#10203040").
  • You can specify an alpha value (i.e. partial transparency) for your color by appending a slash and a hex value to the end of your color string (egcolor="#10203040/C0").
 cmyk
 
  • The CMYK color for subsequent content may be specified using the syntax:
  •  <font CMYK=”0,0,0,0”> </font>  Substitute the values for CMYK, in the appropriate position, replacing the zero value.



Previous Chapter: Chapter 32 - Supported Tags for Field Scripting


Next Chapter:  Chapter 34 Span Tags