4.8 :: Text

Description


While <easyChars> will get you started with some text, if you need more control over where your text is positioned and formatting, use the <chars> element.

Quick Example


..snip..
  1.   <row>
  2.   <cell>
  3.   <chars>
  4.   <value>Hello World</value>
  5.   </chars>
  6.   </cell>
  7.   </row>
..snip..

Attributes


class


Specify a class for your text so that you can use a style sheet to change the way it looks.

Example:

<chars class="myCharsClass">
<value>Hello World!</value>
</chars>

make_safe (default: "false")


If you need to put HTML inside your chars, set make_safe to be equal to "true"

Example:

<chars make_safe="true">
<value>Hello World!</value>
</chars>

Child Elements


value


This is where you define the text you want to appear on your page.

Example:

<chars>
<value>Hello World!</value>
</chars>

Detailed Example


..snip..
  1.   <row>
  2.   <cell>
  3.   <chars class="myCharsClass" make_safe="true">
  4.   <value>Hello World</value>
  5.   </chars>
  6.   </cell>
  7.   </row>
..snip..

Contents