RE: [PEAR] Excel and insertBitmap

From: Date: Tue, 13 Apr 2004 22:09:44 +0000
Subject: RE: [PEAR] Excel and insertBitmap
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11826@lists.php.net to get a copy of this message
Hi list admin, hi everybody! HOW COME I CAN STILL POST WITH UNREGISTERED ACCOUNT? (the account I sent the mail below with was and will never be registered for pear-general ... but - as all of you can see - it still got through ...) Turn off the "looking like" "registration needed" if it does not work! Just in case it is possible: delete the Mail with Message-ID: <c5h8o1.124.1@daniu.de> ... Thanks OK - after calming down ... (about this new increase of spam ...) > I want to insert a bitmap into Excel and set the height of the row. But > when > I do that the image is not in shape any more. Is there a way to resize the > row without any effect on the bitmap? > > An example: > > require_once 'Spreadsheet/Excel/Writer.php'; > > $workbook = new Spreadsheet_Excel_Writer(); > $workbook->send('test.xls'); > $worksheet =& $workbook->addWorksheet('Teilnehmerliste'); > > $worksheet->insertBitmap(0,0,'images/abitmap.bmp'); > $worksheet->setRow(0,48); > > $workbook->close(); > > The existance of the line "$worksheet->setRow(0,48);" makes the image look > higher or normal. The problem is, that the image is always a bit higher > than > the cells ... > > I will hand this in as an error-report ... But - is there a workaround? Just found this to be Bug No 781. Probably I should check the Bug-List before coding with beta packages ... Does anybody know a workaround anyway? Regards Daniel

« previous php.pear.general (#11826) next »