User: kz      
Date: 2008-03-05 17:33:43+0000
Modified:
   dba/reportdesign/java/com/sun/star/report/pentaho/model/OfficeGroup.java

Log:
 INTEGRATION: CWS rptchart01_DEV300 (1.3.62); FILE MERGED
 2008/02/19 06:42:49 oj 1.3.62.1: #i85225# ongoing work

File Changes:

Directory: /dba/reportdesign/java/com/sun/star/report/pentaho/model/
====================================================================

File [changed]: OfficeGroup.java
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/java/com/sun/star/report/pentaho/model/OfficeGroup.java?r1=1.3&r2=1.4
Delta lines:  +10 -1
--------------------
--- OfficeGroup.java    2007-08-03 09:50:20+0000        1.3
+++ OfficeGroup.java    2008-03-05 17:33:41+0000        1.4
@@ -38,8 +38,8 @@
 package com.sun.star.report.pentaho.model;
 
 import com.sun.star.report.pentaho.OfficeNamespaces;
+import org.jfree.report.expressions.Expression;
 import org.jfree.report.structure.Section;
-import org.jfree.report.structure.Element;
 
 /**
  * An office group is a virtual section that contains the group header, footer
@@ -91,4 +91,13 @@
         (OfficeNamespaces.OOREPORT_NS, "group-footer");
 
   }
+  public Expression getGroupingExpression(){
+      final OfficeGroupInstanceSection instanceSection =
+        (OfficeGroupInstanceSection) 
findFirstChild(OfficeNamespaces.INTERNAL_NS, "group-instance");
+    if (instanceSection == null)
+    {
+      return null;
+    }
+    return instanceSection.getGroupingExpression();      
+  }
 }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to