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

expand_merged_ranges not work for ODS files #561

Open
PsychoPhobic opened this issue Jul 18, 2021 · 0 comments
Open

expand_merged_ranges not work for ODS files #561

PsychoPhobic opened this issue Jul 18, 2021 · 0 comments

Comments

@PsychoPhobic
Copy link

PsychoPhobic commented Jul 18, 2021

Steps to reproduce

expand_merged_ranges does not work in this code:

- file = File.join(Rails.root, 'db', 'Delta_motors.ods')
- ods = Roo::OpenOffice.new(file, {:expand_merged_ranges => true})
- sheet = ods.sheet('Tabelle1')
- motors = sheet.parse(motor_model_name: 'Motor Model Name')

Issue

expand_merged_ranges does not work like in tutorial:

If you open a document with merged cells and do not want to end up with nil values for the rows after the first one.
xlsx = Roo::Excelx.new('./roo_error.xlsx', {:expand_merged_ranges => true})

System configuration

ruby version : 3.0.1
rails version : 6.1.4
roo version : 2.8.3

@PsychoPhobic PsychoPhobic changed the title expand_merged_ranges not working like in tutorial expand_merged_ranges not work for ODS files Jul 18, 2021
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