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

Workbook write not working on data_only=false #15

Closed
ghost opened this issue Jan 16, 2012 · 2 comments
Closed

Workbook write not working on data_only=false #15

ghost opened this issue Jan 16, 2012 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 16, 2012

this works fine:

workbook = RubyXL::Parser.parse("public/xxx.xlsx",true)
workbook.write("public/xxx.xlsx")

but this breaks:

workbook = RubyXL::Parser.parse("public/xxx.xlsx",false)
workbook.write("public/xxx.xlsx")

write creates this error:
can't convert Symbol into Integer

using sample xlsx from here:
http://archive.msdn.microsoft.com/mss2008sdksamples/Release/ProjectReleases.aspx?ReleaseId=523

@brazir
Copy link
Contributor

brazir commented Jan 17, 2012

Thanks again for the help with finding bugs Alex. I believe I have corrected the issue in the latest version 1.2.4. The bug as I understand it was from the column styles not being properly parsed in which is why you were not seeing it when you ran with true as that ignores styles.

@brazir brazir closed this as completed Jan 17, 2012
@ghost
Copy link
Author

ghost commented Jan 17, 2012

no prob - thx for fixing them:)
i'll check this out later today....

On Jan 17, 2012, at 12:23 PM, Rob wrote:

Thanks again for the help with finding bugs Alex. I believe I have corrected the issue in the latest version 1.2.4. The bug as I understand it was from the column styles not being properly parsed in which is why you were not seeing it when you ran with true as that ignores styles.


Reply to this email directly or view it on GitHub:
#15 (comment)

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

No branches or pull requests

1 participant