From b5c795b3172bb0e77cde6412f089b08ebe89d59a Mon Sep 17 00:00:00 2001 From: idziak Date: Mon, 22 Mar 2010 02:20:04 +0000 Subject: [PATCH] addTextX function added --- lcsv.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lcsv.php b/lcsv.php index b21b7f1..30d3126 100644 --- a/lcsv.php +++ b/lcsv.php @@ -100,6 +100,20 @@ class lcsv $this->csvdata.=$this->newline(); } + function addTextX($str,$align="") + { + //we need to put it in quotes incase it contains a comma we dont want it going to the next 'cell' + $this->csvdata.="\"".$str."\","; + } + + function setFontBold() + { + } + + function setFontNormal() + { + } + function nextline() { $this->csvdata.=$this->newline();