Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed ExcelFormatter XML output to load correctly into Excel #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

tobysmith
Copy link

This removed the "Problems came up during load" message for me..

I changed the namespace of the ExcelWorkbook tags from ss: (xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet") to x: (xmlns:x="urn:schemas-microsoft-com:office:excel").

I also removed the CDATA from the cells to be able to get the cell data to display, otherwise they were coming up blank.

I changed the namespace of the ExcelWorkbook tags from ss:
(xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet") to x:
(xmlns:x="urn:schemas-microsoft-com:office:excel").

I also removed the CDATA from the cells to be able to get the cell data
to display, otherwise they were coming up blank.
@iwiznia
Copy link
Owner

iwiznia commented Nov 10, 2011

What's the difference between ss: (xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet") and x: (xmlns:x="urn:schemas-microsoft-com:office:excel"??
I have no idea what the difference may be, have you had problems with the previous implementation?
The code for the excel xml comes from edspencer's plugin so I don't really know what's going on there....
Will the change make this not compatible with non excel spreadsheet programs (openoffice, etc)?

@tobysmith
Copy link
Author

I had the same problem as in issue edspencer#8..

Problems came up in the following ares during load:
*Uknown
*Style

Checking the Excel log files have shown this:

XML ERROR in ExcelWorkbook description
REASON: Missing Tag
FILE: download.xls:users:stotes:desktop:download.xls
GROUP: Styles
TAG: Style
ATTRIB: ID

I checked though and couldn't seem to find anything wrong with the styles tags.

I haven't checked it with openoffice or anything else either, I'll do that and report back soon.

-----EDIT------

Okay this doesn't work in LibreOffice, get an "input/output error"

@iwiznia
Copy link
Owner

iwiznia commented Nov 10, 2011

ok, thanks. Also, the example was outdated and didn't work because it was written for edspencer's plugin.
I have to update the readme and create and example.. I'll do that when I find some spare time...
The strange think is that I'm using this with no rpoblems on excel and openofice (and it's variation libreoffice)....

@stotes
Copy link

stotes commented Dec 1, 2011

I'm still experiencing this error in Ext 3.2.1.
Problems came up in the following ares during load:
*Uknown
*Style

Any ideas on how I may resolve this?

@iwiznia
Copy link
Owner

iwiznia commented Dec 1, 2011

Stotes, this plugin is for Ext 4. It won't work for Ext 3, use edspencer's version for compatibility.

@lisaWriteJava
Copy link

Is it possible to use a different image file for downloadify? I made a change in the code for my application to use a .png file that I have for an excel download. It flickers and then it disappears and the download doesn't work. When I use the .png file that comes with the exporter everything works fine. Not sure what the issue could be.

@iwiznia
Copy link
Owner

iwiznia commented Dec 1, 2011

If you open the provided image, you can see it has 4 states. Your image has to be like that too. Also, if your image has different size, you should set the width and height in the button config.

@lisaWriteJava
Copy link

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants