[Libreoffice-bugs] [Bug 120670] Formula handling in Writer tables

2019-01-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120670

--- Comment #6 from Hans-Peter Jansen  ---
Thanks Timur, for your reply.

(In reply to Timur from comment #5)
> (In reply to Hans-Peter Jansen from comment #4)
> >  * Adding a row for another item is missing to clone the sum formula for the
> > new row (amount * unit price).
> I don't understand what you would like. Clone what, row where cursor is? 

Done: https://bugs.documentfoundation.org/show_bug.cgi?id=122763

> We need steps, with Experienced and Expected result. But, that must be a new
> request.
> 
> This bug with multiple issues is Invalid report. 
> But we can convert it to a proper bug for this:

Okay, understand. Lesson learned.

> (In reply to Hans-Peter Jansen from comment #0)
> >  * Another minor issue lurks in the VAT field (A9), if simply editing the
> > VAT value, and leaving the field, it is loosing its special VAT value
> > format. 
> 
> Looks like a bug. Please explain what's value format here. So that we can
> understand what happens with s simple change, let's say from 12,3% to 17%.

The value format is '0,0%" VAT"'. If you load the attached document, put the
cursor in the VAT field (A10), and edit the value to say "13,2", and tab out of
the field, the format is lost (-> Text '@'), the new value is displayed left
aligned, although the field is still right aligned(!), and the calculation in
B10 fails (-> 0,00 €). I wasn't able to recover from this without reassigning
the specific %-format (0,0%" VAT"), and *enter* the plain value again. The only
proper way to change the VAT value for an experienced user is selecting the
whole value, and replacing it with a plain number.

I would expect the field A10 to keep the assigned format, and just accept the
new value. Then, the calculation in B10 wouldn't fail as well, I bet.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120670] Formula handling in Writer tables

2019-01-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120670

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

 Blocks||122755


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=122755
[Bug 122755] [META] formulae in Writer tables bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120670] Formula handling in Writer tables

2019-01-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120670

--- Comment #5 from Timur  ---
(In reply to Hans-Peter Jansen from comment #4)
>  * Adding a row for another item is missing to clone the sum formula for the
> new row (amount * unit price).
I don't understand what you would like. Clone what, row where cursor is? 
We need steps, with Experienced and Expected result. But, that must be a new
request.

This bug with multiple issues is Invalid report. 
But we can convert it to a proper bug for this:

(In reply to Hans-Peter Jansen from comment #0)
>  * Another minor issue lurks in the VAT field (A9), if simply editing the
> VAT value, and leaving the field, it is loosing its special VAT value
> format. 

Looks like a bug. Please explain what's value format here. So that we can
understand what happens with s simple change, let's say from 12,3% to 17%.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120670] Formula handling in Writer tables

2018-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120670

--- Comment #4 from Hans-Peter Jansen  ---
Grrr:

 * Adding a row for another item is missing to clone the sum formula for the
new row (amount * unit price).

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120670] Formula handling in Writer tables

2018-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120670

Hans-Peter Jansen  changed:

   What|Removed |Added

 Attachment #145796|0   |1
is obsolete||

--- Comment #3 from Hans-Peter Jansen  ---
Created attachment 145801
  --> https://bugs.documentfoundation.org/attachment.cgi?id=145801=edit
A Writer document with an improved invoice table

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120670] Formula handling in Writer tables

2018-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120670

--- Comment #2 from Hans-Peter Jansen  ---
Dear Mike,

thanks for your quick response and valuable suggestions.
I've no idea, why I stuck with the silly sum formula. Most probably by
simulating the ∑ method... 

'=sum()' is almost fixing 2 of the 4 issues mentioned.
I say almost, because, it doesn't work for removing the first item, but then
'=sum()' is doing fine for that case, too. 

Thank you very much, will incorporate such adjustments to all invoice and offer
templates in a second.

What's remaining is the third bullet, and the first half of the first. I'm
sorry for not describing the first bullet properly, and for not splitting this
topic in two issues, which it deserved. Here is the first part, which wasn't
formulated properly:

 * Adding a row of another issue is missing to clone the sum formula for the
new row (amount * unit price).

I've attached an updated version of the test file, incorporating the changes,
you suggested for further discussion and hopefully, to support somebody, who
might want to tackle the remaining issues.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 120670] Formula handling in Writer tables

2018-10-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=120670

--- Comment #1 from Mike Kaganski  ---
Hi! Thanks for the suggestions.

While I agree that the last suggestion is a valid issue, I suppose that first
two bullets in the list are not.

> * When adding an item below the microbes (add table row below), it is missing
> the sum formula, and consequently, this item is missing in the net amount sum.
> * Moreover, with removing an item (delete table row), all summing formulas
> are invalidated, and have to be redone.
This one is because the sum formula in your Net Amount lists individual cells.
In this case, the program has no way of knowing that adding a row requires to
modify the arguments to a formula. If you use simply `=sum()` instead of
`=sum()`, it will work as expected. Well - you could have
valid reasons to not include the last line (Shipment) into the range; then you
could simply add an empty row below the Microbes, assign it a minimal height,
remove inner borders (so it would look like simply double-border), and include
it into the range formula (in that case, it would look like
`=sum()`). Then adding rows below Microbes would work fine, and
removing rows also would work (except for the rows explicitly mentioned in the
formula).

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs