Git Product home page Git Product logo

Comments (4)

adrilo avatar adrilo commented on May 18, 2024

Hey @finalwebsites,

There seems to be something wrong with the "wrap text" feature when reading an XLSX file in Open Office. Although if you unset and re-set "wrap text" on the column, it fixes the weird display.
Have you tried exporting an ODS file instead to see if that works better?

In Excel, it works as expected (although the default width for some columns is way too small... I need to fix that!).

from spout.

finalwebsites avatar finalwebsites commented on May 18, 2024

Hi @adrilo,
Thanks for the tips.
You're right a re-set on the wrapping option is good workarround and the files are okay in MS Excel and Google Spreadsheets. No I never tried the .ods file.

from spout.

adrilo avatar adrilo commented on May 18, 2024

I'd like to keep this open, as this is an actual issue.

from spout.

adrilo avatar adrilo commented on May 18, 2024

I investigated deeper and the only way to have this properly working is by setting the exact height of the row. Which requires intensive calculations: for each cell, based on the chosen font and the width of the column, we need to send the text content to a graphic library to get what the final height of the row needs to be to have the whole text fit.

To keep good performance, I'd like to avoid doing this if possible. Anyway, I created a new issue to track this enhancement, if I (or someone else) ever wants to tackle it: #129

from spout.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.