I have something sort of prototype using the PEAR spreadsheet function 
to create an Excel v 5 format. The crux is mainly that
1) it does not support Unicode
2) I have not understood why some characters like single or double 
quotes in the JSON string from the result cache cause problems
So I stopped it for the moment, but I might add it later on. An older 
version of the script is eg. at

http://svn.pmapper.net/trac/browser/pmapper/trunk/incphp/modules/export

if you want to have a look at.

Saving the result window as HTML will probably not work because the 
result is formatted and written via Javascript, but select all and paste 
it in Excel should work.

armin

James Card wrote:
> On Fri, 15 Dec 2006 04:23:47 -0800, Chris Beaart <[EMAIL PROTECTED]> wrote:
> 
>> I would like to export a selection to excel. Is this possible? How do I
>> implement the code?
> 
> Since pMapper already produces a report with the selection details in a  
> table it would be easy to add an option in the report code to send the  
> same data back to the browser with a content-type header of  
> "application/vnd.ms-excel". This would then be treated on the client side  
> as an Excel file.
> 
> The easiest solution for occasional use by users you can train is to  
> simply save the selection report that pMapper generates as an HTML file,  
> and then open that file in Excel.
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to