Closed daniel-just closed 1 year ago
style_index
to that of the source cell.RubyXL
is not designed to be a perfect replica of Excel, as it would take immense effort to replicate every single feature. RubyXL
is mostly geared to reading data from xlsx
spreadsheets, and the capability to modify them is a free bonus ontop of that. Naturally, it doesn't always work perfectly. Namely, unlike Excel, RubyXL
does not track all the interdependenices in the spereadsheet data structure, of which there are way too many. It's a full time job for multiple people, and I'm alone using my free time.
Hi,
I try to copy format from one cell to another cell. But the excel template is using styles in xl/styles.xml
How can I read this from my cell and use it for the other cell?
Additionaly: Excel is giving me a warning when open the generated excelfile:
Excel hat die Überprüfung und Reparatur auf Dateiebene abgeschlossen. Einige Teile dieser Arbeitsmappe wurden repariert oder verworfen. Reparierte Datensätze: Formatierung von /xl/styles.xml-Part (Formatvorlagen)
How can I prevent this? I use this in my code worksheet.sheet_format_pr = Marshal.load(Marshal.dump(template.sheet_format_pr))