Skip to content

Suggestion #18

@GoogleCodeExporter

Description

@GoogleCodeExporter
Change private $header to

"<?xml version=\"1.0\" encoding=\"%s\"?\>\n
<?mso-application progid=\"Excel.Sheet\"?>\n
<Workbook xmlns:o=\"urn:schemas-microsoft-com:office:office\"
 xmlns:x=\"urn:schemas-microsoft-com:office:excel\"
 xmlns=\"urn:schemas-microsoft-com:office:spreadsheet\"
 xmlns:ss=\"urn:schemas-microsoft-com:office:spreadsheet\">";

Change header to
header("Content-Type: application/force-download; charset=" . $this->sEncoding);

header("Content-Disposition: inline; filename=\"" . $filename . ".xml\"");

Now a download dialog will appear, click open, Excel will display the XML 
without any messages.

Original issue reported on code.google.com by marcel.soliman@gmail.com on 27 Mar 2011 at 6:37

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions