commit-gnue
[Top][All Lists]
Advanced

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

gnue/reports/src GREngine.py GRLayout.py


From: Jan Ischebeck
Subject: gnue/reports/src GREngine.py GRLayout.py
Date: Mon, 16 Sep 2002 12:18:00 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jan Ischebeck <address@hidden>  02/09/16 12:18:00

Modified files:
        reports/src    : GREngine.py GRLayout.py 

Log message:
        fix reports to process monthly.grd (again) and
        reports created by the simple report wizard of gnue designer

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/GREngine.py.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/reports/src/GRLayout.py.diff?tr1=1.37&tr2=1.38&r1=text&r2=text

Patches:
Index: gnue/reports/src/GREngine.py
diff -c gnue/reports/src/GREngine.py:1.13 gnue/reports/src/GREngine.py:1.14
*** gnue/reports/src/GREngine.py:1.13   Sat May  4 12:45:09 2002
--- gnue/reports/src/GREngine.py        Mon Sep 16 12:18:00 2002
***************
*** 85,90 ****
--- 85,94 ----
      # Hmm... maybe this should be a little cleaner
      namespace = report._namespace
  
+     # if no namespace provided set namespace to SimpleTabulation
+     if namespace==None:
+       namespace="GNUe:Reports:SimpleTabulation"
+ 
      # Create a Filter Adapter
      filtAdapter = self.filters.loadFilter(namespace,
                                            filter,
Index: gnue/reports/src/GRLayout.py
diff -c gnue/reports/src/GRLayout.py:1.37 gnue/reports/src/GRLayout.py:1.38
*** gnue/reports/src/GRLayout.py:1.37   Tue Aug 27 11:53:01 2002
--- gnue/reports/src/GRLayout.py        Mon Sep 16 12:18:00 2002
***************
*** 397,407 ****
    # Generic process() method.  Process the
    # current record and handle any children.
    def process(self, dest, mapper, isfirst, islast, firstSection, nextSection):
! 
      GDebug.printMesg(10,"Repeating Section %s" % self._name)
      structuralComment(dest,"<!--[section:%s]-->" % self._name)
      nextSection = self.processChildren(dest, mapper, isfirst, islast, 
firstSection, nextSection)
!     mapper.sectionMap[self.name].clearSummaries()
      structuralComment(dest,"<!--[/section:%s]-->" % self._name)
      GDebug.printMesg(10,"Leaving section %s" % self._name)
      return nextSection
--- 397,410 ----
    # Generic process() method.  Process the
    # current record and handle any children.
    def process(self, dest, mapper, isfirst, islast, firstSection, nextSection):
!     
      GDebug.printMesg(10,"Repeating Section %s" % self._name)
      structuralComment(dest,"<!--[section:%s]-->" % self._name)
      nextSection = self.processChildren(dest, mapper, isfirst, islast, 
firstSection, nextSection)
! 
!     if self.name!=None:
!       mapper.sectionMap[string.lower(self.name)].clearSummaries()
! 
      structuralComment(dest,"<!--[/section:%s]-->" % self._name)
      GDebug.printMesg(10,"Leaving section %s" % self._name)
      return nextSection




reply via email to

[Prev in Thread] Current Thread [Next in Thread]