https://bugs.freedesktop.org/show_bug.cgi?id=72096

          Priority: medium
            Bug ID: 72096
          Assignee: [email protected]
           Summary: Allow variable modification in a field to have
                    immediate effect on formulas in TABLE
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: Inherited From OOo
         Component: Writer
           Product: LibreOffice

Created attachment 89934
  --> https://bugs.freedesktop.org/attachment.cgi?id=89934&action=edit
Showcase for variables in table

If a "Set variable" field is used inside a table, the variable stays unchanged
inside this table for formulas, both to the right and below the cell where it
was set. In tables below, it does have the changed value.

Steps to reproduce:

1. Create a new text document.
2. Insert a table 2x2.
3. In the first left cell (A1) insert a "Set variable" field
(Insert->Fields->Other...->Variables->Set variable) with name "a" and value 1
4. In the lower right cell (B2), enter the formula "=a*2"

Expected: the B2 cell should contain 2
Actual: B2 contain 0.

If you add another table below the first, and put the formula from step 4 in
any its cells, it will result to correct value (2).

Please consider adding immediate effect of the variable changes inside the
table.

Attached is the odt demonstrating the problem and discussing its possible use.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to