diff options
author | Kurt Zenker <kz@openoffice.org> | 2009-12-02 13:43:47 +0100 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2009-12-02 13:43:47 +0100 |
commit | 1b008e1f4c8629767c300f1f6519993b338b1ba4 (patch) | |
tree | a3aec6e2f1597ecd6ea64dfdcdca7320e437746c | |
parent | 4308b858072163d2ae8f63843a26b9626c47abf9 (diff) | |
parent | 081fab2c4e7de3c04300e5e19e85518c04150231 (diff) |
CWS-TOOLING: integrate CWS dba32i_DEV300
-rw-r--r-- | reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java b/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java index 44117380e176..e9025330a60f 100644 --- a/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java +++ b/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java @@ -98,6 +98,15 @@ public class TableCellLayoutController extends SectionLayoutController { return null; } + final Expression dc = element.getDisplayCondition(); + if (dc != null) + { + final Object o = LayoutControllerUtil.evaluateExpression(getFlowController(), element, dc); + if (Boolean.FALSE.equals(o)) + { + return null; + } + } return FormatValueUtility.computeDataFlag(element, getFlowController()); } |