예제 #1
0
 def executeShow(self, frm):
     from lino.gendoc.plain import PlainDocument
     #gd = PlainDocument()
     gd = PlainDocument(self.stdout)
     gd.beginDocument()
     gd.renderForm(frm)
     gd.endDocument()
예제 #2
0
 def report(self,rpt,*args,**kw):
     from lino.gendoc.plain import PlainDocument
     gd = PlainDocument(writer=self._stdout)
     gd.beginDocument()
     gd.report(rpt)
     gd.endDocument()
예제 #3
0
 def __unicode__(self):
     doc = PlainDocument()
     doc.beginDocument()
     doc.report(self)
     doc.endDocument()
     return unicode(doc)
예제 #4
0
 def show_report(self, rpt, *args, **kw):
     from lino.gendoc.plain import PlainDocument
     doc = PlainDocument(self)
     doc.beginDocument()
     doc.report(rpt)
     doc.endDocument()