diff options
author | sb <sb@openoffice.org> | 2009-12-10 17:46:18 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2009-12-10 17:46:18 +0100 |
commit | 1c4ff516b617afd0bd0efc8ec6feaac0beed4219 (patch) | |
tree | 02359a5ef1b9a493d6b774f74c72bac33b056ac8 /reportbuilder | |
parent | a23645e7bb1a9889b9683e31fc7e1accb8aafe82 (diff) | |
parent | d9aef5ad759049012c08d2a7d6d315c1c20bce90 (diff) |
sb111: merged in DEV300_m67
Diffstat (limited to 'reportbuilder')
-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()); } |