https://bugs.documentfoundation.org/show_bug.cgi?id=69464
Gordo <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Inserted Variable in |Fields, Show Variable |header, using it in |displays 0 in the first |document : value goes from |paragraph when Set Variable |0 to actual value |is in the header --- Comment #8 from Gordo <[email protected]> --- The first attachment has the value "2" everywhere for me. I can reproduce the issue with the second attachment. I was able to reproduce the bug from scratch showing that it only affects the first paragraph as stated in comment 2. Set Variable in Header: 1. New Text Document. 2. Insert → Header → Default Style. 3. Place cursor in header and Insert → Fields → More Fields. 4. On Variables tab, select Set variable, type “test” in Name, type “123” in Value, and Insert then Close. 5. Place cursor in first paragraph and Insert → Fields → More Fields. 6. On Variables tab, select Show variable, Insert then Close. Result: Value is “0”. 7. Place cursor at the end of the first paragraph and Enter. 8. Insert → Fields → More Fields. 9. On Variables tab, select Show variable, Insert then Close. Result: Value of second field is “123”. 10. Place cursor before the first field in the first paragraph and Enter. 11. Tools → Update → Fields. Result: Value is “123”. If you set the variable in the footer then showing the variable anywhere on the first page will display “0”. Set Variable in Footer: 1. New Text Document. 2. Insert → Footer → Default Style. 3. Place cursor in footer and Insert → Fields → More Fields. 4. On Variables tab, select Set variable, type “test” in Name, type “123” in Value, and Insert then Close. 5. Place cursor in first paragraph and Insert → Fields → More Fields. 6. On Variables tab, select Show variable, Insert then Close. Result: Value is “0”. 7. Place cursor at the end of the first paragraph and Enter. 8. Insert → Fields → More Fields. 9. On Variables tab, select Show variable, Insert then Close. Result: Value is “0”. 10. Either Enter enough paragraphs to start on the next page or Insert → Manual Break → Page Break and OK. 11. Place cursor in first paragraph of second page and Insert → Fields → More Fields. 12. On Variables tab, select Show variable, Insert then Close. Result: Value is “123”. Version: 4.4.3.2 Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16 -- 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
