[ooo-build-commit] Branch 'ooo/OOO320' - reportbuilder/java

Jan Holesovsky kendy at kemper.freedesktop.org
Tue Nov 3 19:38:05 PST 2009


 reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 64acf91b3fd591646201f1af46a648b56cc88c61
Author: Oliver Bolte <obo at openoffice.org>
Date:   Tue Nov 3 09:59:38 2009 +0000

    CWS-TOOLING: integrate CWS dba32i
    2009-11-02 08:24:27 +0100 oj  r277285 : i105959# simply logic again
    2009-10-30 14:47:31 +0100 oj  r277271 : #i105959# duplicate contion row when new or criteria was found
    2009-10-30 14:46:50 +0100 oj  r277270 : #i105959# replace boolean_term with search_condition and add extra ()
    2009-10-28 08:12:38 +0100 oj  r277235 : #i105825# try catch in the wrong place
    2009-10-27 12:15:40 +0100 fs  r277197 : compiler bug: streaming a volatile double into an Any results in a boolean-Any ... removed the 'volatile', which was nonsense, anyway
    2009-10-23 22:07:54 +0200 fs  r277171 : #i103611# re-introduced the hack for transparent VCL child windows, which got lost since OOo 3.1.x (commit approved by aw)
    2009-10-23 07:11:59 +0200 oj  r277131 : #i105959# handle parameter like column_ref
    2009-10-22 14:57:55 +0200 fs  r277124 : #i10000# wrongly resolved the merge conflict, corrected now
    2009-10-22 13:53:23 +0200 oj  r277118 : #i105959# change config when doc location has changed
    2009-10-22 11:31:22 +0200 oj  r277111 : #i106072# attachprovider at the end of doc
    2009-10-22 09:12:47 +0200 fs  r277102 : CWS-TOOLING: rebase CWS dba32i to branches/OOO320 at 276942 (milestone: OOO320:m2)
    2009-10-21 21:13:02 +0200 fs  r277101 : module 'data' does not exist anymore (for a long time by now), so now need to list it here
    2009-10-21 13:35:35 +0200 fs  r277089 : #i105992#
    2009-10-21 13:17:51 +0200 fs  r277088 : reintroduced the fix for issue #i102090#, which got lost since 3.1.1, during one of the many merges/changes
    2009-10-21 13:06:55 +0200 fs  r277085 : #i105992# position the control in isPrimitiveVisible, not in get2DDecomposition. The latter might not be called in some situations, the former (hopefully) always is
    2009-10-20 07:35:27 +0200 oj  r277036 : #i106041# check the dispatch in impl_select not before
    2009-10-13 08:40:52 +0200 oj  r276843 : #i105825# throw exception when database was written by newer version
    2009-10-12 14:32:19 +0200 oj  r276834 : #i105724# check tDisplayCondition
    2009-10-12 13:24:28 +0200 fs  r276829 : #i105806# getPropertyValue: throw an UnknownPropertyException for, well, unknown properties
    2009-10-12 10:46:27 +0200 fs  r276821 : since tags
    2009-10-09 10:51:29 +0200 fs  r276800 : #i105712# re-introduce XUnoTunnel
    2009-10-09 10:46:48 +0200 oj  r276799 : #i105716# end chars with 0

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 fc91ce2..10cfebc 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());
     }
 


More information about the ooo-build-commit mailing list