Re: [Templates] tt and SpreadSheet::WriteExcel
[prev]
[thread]
[next]
[Date index for 2005/01/06]
This is a multi-part message in MIME format.
--------------020602080003060400070005
Content-Type: multipart/alternative;
boundary="------------000700060306000003040703"
--------------000700060306000003040703
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Thomas, Mark - BLS CTR wrote:
>Sean T. Allen wrote:
>
>
>>That doesnt really take into account setting formats and all tho does it?
>>
>>
>
>Sure. You do it in your build_excel() routine with SS::WE. Is there
>something I'm missing?
>
>
Well what are you thinking? Perhaps I don't understand your idea.
With yours wouldnt I have to add custom xsl format tags in the output for
the template so that when it gets passed to build_excel, it can parse
again and call the appropriate format routines?
I was thinking more along the lines of being able to apply formatting
information
via the template itself...
say with a plugin...
so i could do something vaguely like have the template load the proper
formatting
plugin which would know how to construct a row, column, apply ( or
disregard )
formatting as needed.
so a csv would bring in version of say add column/add_row that puts seps
them with , and \n resp
while a xsl would call the appropriate functions in WriteExcel
csv would ignore formatting info, xsl wouldnt...
mind you i have thought this all the way through but it is my general
thoughts...
--------------000700060306000003040703
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Thomas, Mark - BLS CTR wrote:
<blockquote
cite="midF483FBEE45D09F49903D169A6E0073240581B271@xxxxxxxx.xxx.xxx.xxx"
type="cite">
<pre wrap="">Sean T. Allen wrote:
</pre>
<blockquote type="cite">
<pre wrap="">That doesnt really take into account setting formats and all tho does it?
</pre>
</blockquote>
<pre wrap=""><!---->
Sure. You do it in your build_excel() routine with SS::WE. Is there
something I'm missing?
</pre>
</blockquote>
<br>
Well what are you thinking? Perhaps I don't understand your idea.<br>
<br>
With yours wouldnt I have to add custom xsl format tags in the output
for <br>
the template so that when it gets passed to build_excel, it can parse<br>
again and call the appropriate format routines?<br>
<br>
<br>
I was thinking more along the lines of being able to apply formatting
information <br>
via the template itself...<br>
<br>
say with a plugin...<br>
<br>
so i could do something vaguely like have the template load the proper
formatting<br>
plugin which would know how to construct a row, column, apply ( or
disregard )<br>
formatting as needed.<br>
<br>
so a csv would bring in version of say add column/add_row that puts
seps them with , and \n resp<br>
while a xsl would call the appropriate functions in WriteExcel <br>
<br>
csv would ignore formatting info, xsl wouldnt...<br>
<br>
mind you i have thought this all the way through but it is my general
thoughts...<br>
<br>
<br>
</body>
</html>
--------------000700060306000003040703--
--------------020602080003060400070005
Content-Type: text/x-vcard; charset=utf-8;
name="sean.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="sean.vcf"
begin:vcard
fn:Sean T. Allen
n:Allen;Sean T.
org:USA Herbals, LLC
email;internet:sean@xxxxxxxxxx.xxx
title:Tech Guru
tel;work:718-388-5424
x-mozilla-html:FALSE
version:2.1
end:vcard
--------------020602080003060400070005--
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates