christopher-ramirez / secretary

Take the power of Jinja2 templates to OpenOffice and LibreOffice.
Other
190 stars 48 forks source link

Support for ODS? #72

Open MatFluor opened 4 years ago

MatFluor commented 4 years ago

Is support for Spreadsheets planned?

currently it per se works, but the spreadsheet suffer from the "too many cells" problem, since Calc doesn't have the necessary fields available like in Writer. A Workaround would be welcome too of course if there is some (like additional render() arguments or the like).

vpvn commented 2 years ago

I had the same problem. After investigation I found that the problem is the too big number in resulting table:number-columns-repeated="1006" (content.xml). If I manually reduce it and pack it back to the ods it works without error. I think it's possible to fix it in generation code.