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

          Priority: medium
            Bug ID: 66446
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: EDITING: using document user property as variable for
                    conditional text doesn't work
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: boicot...@yahoo.it
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.0.4.2 release
         Component: Writer
           Product: LibreOffice

Created attachment 81794
  --> https://bugs.freedesktop.org/attachment.cgi?id=81794&action=edit
in the sample there's a working conditional text referring a variable in the
text, and a not-working conditional text referring a document variable.

Problem description: 
I would like to be able to use a document user property to switch some
conditional text (or hidden text or hidden paragraph) on or off
Steps to reproduce:
1. set a user document property (eg: "Onoff" type: boolean)
2. insert a field ->conditional text (or hidden text or hidden paragraph)
3. set as "condition" Onoff EQ true (or Onoff==TRUE or Onoff==1)
4. set an hidden text eg: "mytext"

Current behavior:
change the Onoff value, the text doesn't switch status
Expected behavior:
it should

Am I wrong calling the variable itself?
I know that I can set an hidden variable somewhere in the text to do the trick,
but I consider that just a workaround: setting a variable anywhere in the text
is not that coherent, and it'also difficult to find to change state.
Thank you


Operating System: Windows 7
Version: 4.0.4.2 release

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

Reply via email to