Bug 86163

Summary: use form control states as condition for conditional text
Product: LibreOffice Reporter: Jérôme <jerome.bouat>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: jerome.bouat, jluth
Priority: medium    
Version: 4.2.7.2 release   
Hardware: Other   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107742    
Attachments: an example

Description Jérôme 2014-11-11 17:43:22 UTC
I would like to use the state of a form control as a condition for conditional text.

Example of document :
---
[X] Diesel checkbox
[X] Gasoline checkbox

"The tax is defined as folows :"
[Diesel checkbox == TRUE : "diesel price x kj x k]
[Gasoline checkbox == TRUE : "gasoline price / jh * ijo + s"]
---

After selecting a check box, the conditional text is automatically updated without any macros.
Comment 1 QA Administrators 2015-12-20 16:13:09 UTC Comment hidden (obsolete)
Comment 2 QA Administrators 2017-01-03 19:48:25 UTC Comment hidden (obsolete)
Comment 3 Jérôme 2017-01-09 20:31:43 UTC
Created attachment 130287 [details]
an example

This bug still occur on 5.2.4.2 from Debian binary packages (GNU/Linux x86_64) that I downloaded from http://www.libreoffice.org/download/libreoffice-fresh/ .

I attached an example.
Comment 4 QA Administrators 2018-01-10 03:32:22 UTC Comment hidden (obsolete)
Comment 5 Alex Thurgood 2018-01-10 08:21:10 UTC
Confirming still present with

Version: 6.0.0.0.alpha0+
Build ID: 75539963e621faafdc0d3ef6759cadb2e0a5d9b4
CPU threads: 8; OS: Mac OS X 10.13.1; UI render: default; 
Locale: fr-FR (fr_FR.UTF-8); Calc: group