[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#682119: LibreOffice-writer: conditional text based on database fields doesn't appear to work



Package: LibreOffice-writer
Version: 1:3.5.4-5
Severity: normal

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
I have created a certificate that I need to fill in details based on information contained in a data file. I created the .odb file to point to the actual file and that is working. It will fill in field values properly. However, when I try any kind of conditional insert, such as translating "M" or "F" to "male" or "female", or hiding text if a field value is null, it fails.

For example, I have a conditional text function, where the function is:

Results.RESULTS.GENDER == "F"

The then part is:

female

and the else part is:

male

This always inserts "female".

* What exactly did you do (or not do) that was effective (or ineffective)? I've tried various ways to insert the conditional text, such as using hidden text instead of conditional text, testing for null instead of particular values, etc.. I've used brackets around names. I've ensured that the names match in a case sensitive fashion.

   * What was the outcome of this action?
I just can't get it to work.

   * What outcome did you expect instead?
Conditional text should be easy and intuitive. I admit to the possibility that I'm doing something wrong, but if I am, no one in the forums I've submitted this problem to has offered any suggestion as to what it may be. The help and online documentation don't provide any clues either. Either it's broken or it operates in a really unintuitive manner


*** End of the template - remove these lines ***


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages LibreOffice-writer depends on:
ii  libc6                  2.13-33
ii  libgcc1                1:4.7.1-2
ii  libicu48               4.8.1.1-8
ii  libreoffice-base-core  1:3.5.4-5
ii  libreoffice-core       1:3.5.4-5
ii  libstdc++6             4.7.1-2
ii  libwpd-0.9-9           0.9.4-3
ii  libwpg-0.2-2           0.2.1-1
ii  libwps-0.2-2           0.2.7-1
ii  libxml2                2.8.0+dfsg1-4
ii  uno-libs3              3.5.4-5
ii  ure                    3.5.4-5
ii  zlib1g                 1:1.2.7.dfsg-13

Versions of packages LibreOffice-writer recommends:
ii  default-jre [java5-runtime]    1:1.6-47
ii  gcj-4.4-jre [java5-runtime]    4.4.7-1
ii  gcj-4.6-jre [java5-runtime]    4.6.3-1
ii  gcj-4.7-jre [java5-runtime]    4.7.1-1
ii  gcj-jre [java5-runtime]        4:4.7.1-1
ii  libreoffice-emailmerge         1:3.5.4-5
ii  libreoffice-filter-binfilter   1:3.5.4-5
ii  libreoffice-java-common        1:3.5.4-5
ii  libreoffice-math               1:3.5.4-5
ii  openjdk-6-jre [java5-runtime]  6b24-1.11.3-2

Versions of packages LibreOffice-writer suggests:
ii  libreoffice-base  1:3.5.4-5
pn  libreoffice-gcj <none>

-- no debconf information


Reply to: