Git Product home page Git Product logo

Comments (7)

gorn avatar gorn commented on August 9, 2024

I have added this functionality few days ago and it is in very untested state. Feel free to test it and let me know any observations. However it is really experimental. Every cell object has a formula setter and getter, where you can set formula (starting with =) as string.

There are several problems with the fucntionality - for example I do not know how to markt the cell "outdated" so next time its value gets recalculated (it is clear that the gem is not able to caluculate the result itself).

from rspreadsheet.

zekefast avatar zekefast commented on August 9, 2024

@gorn Thanks. Is that in master? Have you released this in some numbered version?

from rspreadsheet.

zekefast avatar zekefast commented on August 9, 2024

@gorn, I found that it is in the master know, but not in the v0.2.7. Thank you! I am going to check it! I'll write you back!

from rspreadsheet.

zekefast avatar zekefast commented on August 9, 2024

@gorn, For my purpose of generating formulas in the document it works like a charm!
I am wondering how circumstances coincidence: you have added it right few days before I need it.
That is really awesome!
Thank you a lot!

from rspreadsheet.

gorn avatar gorn commented on August 9, 2024

Yes it is nice coincidence, on the other hand it is motivating, when I see other people use it as well. :) I have relased v0.2.8 with formulas and I will be releasing v0.2.9 soon, because i just found that there is an issue when rewriteing formula by fixed string. That will be solved, but there is naother mysterious thing in LibreOffice itself - it appears, that each cell has a type, which can be number, string or some other options, but there is not "formula" type and I am not really sure how these two things work together - how one can "guess" from formula what type of value is the result. I was unable to find any docs on this.

from rspreadsheet.

gorn avatar gorn commented on August 9, 2024

Formula support works fine from me and all tests are passing, so this issue is closed. Feel free to open one if you spot any unexpected behaviour. Version releases as v0.2.9

from rspreadsheet.

zekefast avatar zekefast commented on August 9, 2024

@gorn Thank you a lot! 💪

from rspreadsheet.

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.