Re: Spreadsheet_Excel_Writer valign
| From: | Daniel Kopp | Date: | Fri, 21 May 2004 16:45:47 +0000 |
| Subject: | Re: Spreadsheet_Excel_Writer valign | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12672@lists.php.net to get a copy of this message | ||
Hi!
Daniel Kopp wrote:
> Daniel Kopp wrote:
>
>> Can I somehow get valign (vertical align) with
>> Spreadsheet_Excel_Writer?
>
> Does really nobody know that? Can the Perl Module do that? I did
> not find something in the perldoku either ...
It seems that not many people are using this package as the solution
to this is really easy:
setAlign does not only take halign values but also valign ones ...
I was just confused about this because it does not take 2 different
halign values. That would be necessary to align something left and
at the same time merge it with other cells. This however can be
achieved by using the not-documented method:
worksheet::setMerge($first_row, $first_col, $last_row, $last_col)
which is at least available in the latest CVS version.
Now the only thing that is really annoying at this package is that
it uses strange scale settings for bitmaps but even for that it is
possible to find solutions ...
regards
Daniel