NAME

Excel::Template::Element::Cell - Excel::Template::Element::Cell

PURPOSE

To actually write stuff to the worksheet

NODE NAME

CELL

INHERITANCE

Excel::Template::Element

ATTRIBUTES

  • TEXT

    This is the text to write to the cell. This can either be text or a parameter with a dollar-sign in front of the parameter name.

  • COL

    Optionally, you can specify which column you want this cell to be in. It can be either a number (zero-based) or an offset. See Excel::Template for more info on offset-based numbering.

  • REF

    Adds the current cell to the a list of cells that can be backreferenced. This is useful when the current cell needs to be referenced by a formula. See BACKREF and RANGE.

There will be more parameters added, as features are added.

CHILDREN

Excel::Template::Element::Formula

EFFECTS

This will consume one column on the current row.

DEPENDENCIES

None

USAGE

<cell text="Some Text Here"/>
<cell>Some other text here</cell>

<cell text="$Param2"/>
<cell>Some <var name="Param"> text here</cell>

In the above example, four cells are written out. The first two have text hard- coded. The second two have variables. The third and fourth items have another thing that should be noted. If you have text where you want a variable in the middle, you have to use the latter form. Variables within parameters are the entire parameter's value.

Please see Spreadsheet::WriteExcel for what constitutes a legal formula.

AUTHOR

Rob Kinyon (rob.kinyon@gmail.com)

SEE ALSO

ROW, VAR, FORMULA

1 POD Error

The following errors were encountered while parsing the POD:

Around line 118:

=back doesn't take any parameters, but you said =back 4