Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

excel::template::element::cell(3pm) [debian man page]

Excel::Template::Element::Cell(3pm)			User Contributed Perl Documentation		       Excel::Template::Element::Cell(3pm)

NAME
Excel::Template::Element::Cell - Excel::Template::Element::Cell PURPOSE
To actually write stuff to the worksheet NODE NAME
CELL INHERITANCE
ELEMENT ATTRIBUTES
o 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. o 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. o 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. o WIDTH Sets the width of the column the cell is in. The last setting for a given column will win out. o TYPE This allows you to specify what write_*() method will be used. The default is to call write() and let Spreadsheet::WriteExcel make the right call. However, you may wish to override it. Excel::Template will not do any form of validation on what you provide. You are assumed to know what you're doing. The legal types (taken from Spreadsheet::WriteExcel) are: o COMMENT Add a comment to the cell o blank o formula o number o string o url o date_time other write_* methods as defined defined Spreadsheet::WriteExcel would be integrated by request CHILDREN
FORMULA EFFECTS
This will consume one column in 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 perl v5.14.2 2012-04-29 Excel::Template::Element::Cell(3pm)

Check Out this Related Man Page

Excel::Template::Plus::TT(3pm)				User Contributed Perl Documentation			    Excel::Template::Plus::TT(3pm)

NAME
Excel::Template::Plus::TT - Extension of Excel::Template to use TT SYNOPSIS
use Excel::Template::Plus::TT; # this is most commonly used through # the Excel::Template::Plus factory my $template = Excel::Template::Plus::TT->new( template => 'greeting.tmpl', config => { INCLUDE => [ '/templates' ] }, params => { greeting => 'Hello' } ); $template->param(location => 'World'); $template->write_file('greeting.xls'); DESCRIPTION
This is an engine for Excel::Template::Plus which replaces the standard Excel::Template template features with TT. See the Excel::Template::Plus docs for more information. METHODS
Accessors config template template_class params Excel::Template compat methods params ($name | $name = $value)> This provides access to getting and setting the parameters, it behaves exactly like the standard CGI.pm-style param method. output Returns the generated excel file. write_file ($filename) Writes the generated excel file to $filename. Housekeeping DEMOLISH This will cleanup any temp files generated in the process. meta Returns the metaclass. BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT. ACKNOWLEDGEMENTS
This module was inspired by Excel::Template::TT. AUTHOR
Stevan Little <stevan@iinteractive.com> COPYRIGHT AND LICENSE
Copyright 2007-2010 by Infinity Interactive, Inc. <http://www.iinteractive.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-05-06 Excel::Template::Plus::TT(3pm)
Man Page