[Bug 162208] New: Enhance koffice to do numeric calculations

View: New views
2 Messages — Rating Filter:   Alert me  

[Bug 162208] New: Enhance koffice to do numeric calculations

by Brad Hards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=162208         
           Summary: Enhance koffice to do numeric calculations
           Product: koffice
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: koffice kde org
        ReportedBy: bradh frogmouth net


Version:            (using Devel)
Installed from:    Compiled sources

It would be nice if koffice could do simple numeric calculations, so it could take the results of a number of different text or formula objects and produce (for display) some other number.

Simple example:
I've been doing laser safey calculations. It mostly ends up being the same formulas (over and over) with different values being substituted. Imagine you have a formula flake (eqn1). You then say range = 10m, beam dispersion = 1mrad, beam diameter = 10mm, and then add a flake that references those other four flakes (3 values + formula) and prints the answer (in this case dot size = 20mm).

If you change the value for the range to 20m, the result changes to 30mm.

I might want to add another case (i.e. three separate values = 1000m , 0.5rad, 1cm) and reuse the same formula.

I might then want to take the dot size, and use that as an input to another calculation (e.g. for radiant exitence, which depends on the dot size).

I'm not sure if it belongs in kformula, or in a separate type of flake.
____________________________________
koffice mailing list
koffice@...
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice

[Bug 162208] Enhance koffice to do numeric calculations

by Thomas Zander :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=162208         




------- Additional Comments From zander kde org  2008-05-17 13:15 -------
from our IRC discussion on the topic;
 "basically you need to access the formula-internals (the 'answer') of several formula shapes.  You then use that to do your own thing (like calculate and show).
 "So if you look at it like that you probably want the formula-flake-plugin to export 2 shape-types.   The normal one we have now and the new one that can query the other formulas using private API."
____________________________________
koffice mailing list
koffice@...
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice